Struct aws_sdk_cloudformation::operation::list_generated_templates::builders::ListGeneratedTemplatesInputBuilder
source · #[non_exhaustive]pub struct ListGeneratedTemplatesInputBuilder { /* private fields */ }
Expand description
A builder for ListGeneratedTemplatesInput
.
Implementations§
source§impl ListGeneratedTemplatesInputBuilder
impl ListGeneratedTemplatesInputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A string that identifies the next page of resource scan results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A string that identifies the next page of resource scan results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A string that identifies the next page of resource scan results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
If the number of available results exceeds this maximum, the response includes a NextToken
value that you can use for the NextToken
parameter to get the next set of results. By default the ListGeneratedTemplates
API action will return at most 50 results in each response. The maximum value is 100.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
If the number of available results exceeds this maximum, the response includes a NextToken
value that you can use for the NextToken
parameter to get the next set of results. By default the ListGeneratedTemplates
API action will return at most 50 results in each response. The maximum value is 100.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
If the number of available results exceeds this maximum, the response includes a NextToken
value that you can use for the NextToken
parameter to get the next set of results. By default the ListGeneratedTemplates
API action will return at most 50 results in each response. The maximum value is 100.
sourcepub fn build(self) -> Result<ListGeneratedTemplatesInput, BuildError>
pub fn build(self) -> Result<ListGeneratedTemplatesInput, BuildError>
Consumes the builder and constructs a ListGeneratedTemplatesInput
.
source§impl ListGeneratedTemplatesInputBuilder
impl ListGeneratedTemplatesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListGeneratedTemplatesOutput, SdkError<ListGeneratedTemplatesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListGeneratedTemplatesOutput, SdkError<ListGeneratedTemplatesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListGeneratedTemplatesInputBuilder
impl Clone for ListGeneratedTemplatesInputBuilder
source§fn clone(&self) -> ListGeneratedTemplatesInputBuilder
fn clone(&self) -> ListGeneratedTemplatesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListGeneratedTemplatesInputBuilder
impl Default for ListGeneratedTemplatesInputBuilder
source§fn default() -> ListGeneratedTemplatesInputBuilder
fn default() -> ListGeneratedTemplatesInputBuilder
source§impl PartialEq for ListGeneratedTemplatesInputBuilder
impl PartialEq for ListGeneratedTemplatesInputBuilder
source§fn eq(&self, other: &ListGeneratedTemplatesInputBuilder) -> bool
fn eq(&self, other: &ListGeneratedTemplatesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListGeneratedTemplatesInputBuilder
Auto Trait Implementations§
impl Freeze for ListGeneratedTemplatesInputBuilder
impl RefUnwindSafe for ListGeneratedTemplatesInputBuilder
impl Send for ListGeneratedTemplatesInputBuilder
impl Sync for ListGeneratedTemplatesInputBuilder
impl Unpin for ListGeneratedTemplatesInputBuilder
impl UnwindSafe for ListGeneratedTemplatesInputBuilder
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