Struct aws_sdk_cloudformation::operation::get_generated_template::builders::GetGeneratedTemplateOutputBuilder
source · #[non_exhaustive]pub struct GetGeneratedTemplateOutputBuilder { /* private fields */ }Expand description
A builder for GetGeneratedTemplateOutput.
Implementations§
source§impl GetGeneratedTemplateOutputBuilder
impl GetGeneratedTemplateOutputBuilder
sourcepub fn status(self, input: GeneratedTemplateStatus) -> Self
pub fn status(self, input: GeneratedTemplateStatus) -> Self
The status of the template generation. Supported values are:
-
CreatePending- the creation of the template is pending. -
CreateInProgress- the creation of the template is in progress. -
DeletePending- the deletion of the template is pending. -
DeleteInProgress- the deletion of the template is in progress. -
UpdatePending- the update of the template is pending. -
UpdateInProgress- the update of the template is in progress. -
Failed- the template operation failed. -
Complete- the template operation is complete.
sourcepub fn set_status(self, input: Option<GeneratedTemplateStatus>) -> Self
pub fn set_status(self, input: Option<GeneratedTemplateStatus>) -> Self
The status of the template generation. Supported values are:
-
CreatePending- the creation of the template is pending. -
CreateInProgress- the creation of the template is in progress. -
DeletePending- the deletion of the template is pending. -
DeleteInProgress- the deletion of the template is in progress. -
UpdatePending- the update of the template is pending. -
UpdateInProgress- the update of the template is in progress. -
Failed- the template operation failed. -
Complete- the template operation is complete.
sourcepub fn get_status(&self) -> &Option<GeneratedTemplateStatus>
pub fn get_status(&self) -> &Option<GeneratedTemplateStatus>
The status of the template generation. Supported values are:
-
CreatePending- the creation of the template is pending. -
CreateInProgress- the creation of the template is in progress. -
DeletePending- the deletion of the template is pending. -
DeleteInProgress- the deletion of the template is in progress. -
UpdatePending- the update of the template is pending. -
UpdateInProgress- the update of the template is in progress. -
Failed- the template operation failed. -
Complete- the template operation is complete.
sourcepub fn template_body(self, input: impl Into<String>) -> Self
pub fn template_body(self, input: impl Into<String>) -> Self
The template body of the generated template, in the language specified by the Language parameter.
sourcepub fn set_template_body(self, input: Option<String>) -> Self
pub fn set_template_body(self, input: Option<String>) -> Self
The template body of the generated template, in the language specified by the Language parameter.
sourcepub fn get_template_body(&self) -> &Option<String>
pub fn get_template_body(&self) -> &Option<String>
The template body of the generated template, in the language specified by the Language parameter.
sourcepub fn build(self) -> GetGeneratedTemplateOutput
pub fn build(self) -> GetGeneratedTemplateOutput
Consumes the builder and constructs a GetGeneratedTemplateOutput.
Trait Implementations§
source§impl Clone for GetGeneratedTemplateOutputBuilder
impl Clone for GetGeneratedTemplateOutputBuilder
source§fn clone(&self) -> GetGeneratedTemplateOutputBuilder
fn clone(&self) -> GetGeneratedTemplateOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetGeneratedTemplateOutputBuilder
impl Default for GetGeneratedTemplateOutputBuilder
source§fn default() -> GetGeneratedTemplateOutputBuilder
fn default() -> GetGeneratedTemplateOutputBuilder
source§impl PartialEq for GetGeneratedTemplateOutputBuilder
impl PartialEq for GetGeneratedTemplateOutputBuilder
source§fn eq(&self, other: &GetGeneratedTemplateOutputBuilder) -> bool
fn eq(&self, other: &GetGeneratedTemplateOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.