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 ==
.impl StructuralPartialEq for GetGeneratedTemplateOutputBuilder
Auto Trait Implementations§
impl Freeze for GetGeneratedTemplateOutputBuilder
impl RefUnwindSafe for GetGeneratedTemplateOutputBuilder
impl Send for GetGeneratedTemplateOutputBuilder
impl Sync for GetGeneratedTemplateOutputBuilder
impl Unpin for GetGeneratedTemplateOutputBuilder
impl UnwindSafe for GetGeneratedTemplateOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more