Struct aws_sdk_health::operation::describe_affected_entities_for_organization::builders::DescribeAffectedEntitiesForOrganizationInputBuilder
source · #[non_exhaustive]pub struct DescribeAffectedEntitiesForOrganizationInputBuilder { /* private fields */ }
Expand description
A builder for DescribeAffectedEntitiesForOrganizationInput
.
Implementations§
source§impl DescribeAffectedEntitiesForOrganizationInputBuilder
impl DescribeAffectedEntitiesForOrganizationInputBuilder
sourcepub fn organization_entity_filters(self, input: EventAccountFilter) -> Self
👎Deprecated: This property is deprecated, use organizationEntityAccountFilters instead.
pub fn organization_entity_filters(self, input: EventAccountFilter) -> Self
Appends an item to organization_entity_filters
.
To override the contents of this collection use set_organization_entity_filters
.
A JSON set of elements including the awsAccountId
and the eventArn
.
sourcepub fn set_organization_entity_filters(
self,
input: Option<Vec<EventAccountFilter>>
) -> Self
👎Deprecated: This property is deprecated, use organizationEntityAccountFilters instead.
pub fn set_organization_entity_filters( self, input: Option<Vec<EventAccountFilter>> ) -> Self
A JSON set of elements including the awsAccountId
and the eventArn
.
sourcepub fn get_organization_entity_filters(
&self
) -> &Option<Vec<EventAccountFilter>>
👎Deprecated: This property is deprecated, use organizationEntityAccountFilters instead.
pub fn get_organization_entity_filters( &self ) -> &Option<Vec<EventAccountFilter>>
A JSON set of elements including the awsAccountId
and the eventArn
.
sourcepub fn locale(self, input: impl Into<String>) -> Self
pub fn locale(self, input: impl Into<String>) -> Self
The locale (language) to return information in. English (en) is the default and the only supported value at this time.
sourcepub fn set_locale(self, input: Option<String>) -> Self
pub fn set_locale(self, input: Option<String>) -> Self
The locale (language) to return information in. English (en) is the default and the only supported value at this time.
sourcepub fn get_locale(&self) -> &Option<String>
pub fn get_locale(&self) -> &Option<String>
The locale (language) to return information in. English (en) is the default and the only supported value at this time.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of items to return in one batch, between 10 and 100, inclusive.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of items to return in one batch, between 10 and 100, inclusive.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of items to return in one batch, between 10 and 100, inclusive.
sourcepub fn organization_entity_account_filters(
self,
input: EntityAccountFilter
) -> Self
pub fn organization_entity_account_filters( self, input: EntityAccountFilter ) -> Self
Appends an item to organization_entity_account_filters
.
To override the contents of this collection use set_organization_entity_account_filters
.
A JSON set of elements including the awsAccountId
, eventArn
and a set of statusCodes
.
sourcepub fn set_organization_entity_account_filters(
self,
input: Option<Vec<EntityAccountFilter>>
) -> Self
pub fn set_organization_entity_account_filters( self, input: Option<Vec<EntityAccountFilter>> ) -> Self
A JSON set of elements including the awsAccountId
, eventArn
and a set of statusCodes
.
sourcepub fn get_organization_entity_account_filters(
&self
) -> &Option<Vec<EntityAccountFilter>>
pub fn get_organization_entity_account_filters( &self ) -> &Option<Vec<EntityAccountFilter>>
A JSON set of elements including the awsAccountId
, eventArn
and a set of statusCodes
.
sourcepub fn build(
self
) -> Result<DescribeAffectedEntitiesForOrganizationInput, BuildError>
pub fn build( self ) -> Result<DescribeAffectedEntitiesForOrganizationInput, BuildError>
Consumes the builder and constructs a DescribeAffectedEntitiesForOrganizationInput
.
source§impl DescribeAffectedEntitiesForOrganizationInputBuilder
impl DescribeAffectedEntitiesForOrganizationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeAffectedEntitiesForOrganizationOutput, SdkError<DescribeAffectedEntitiesForOrganizationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeAffectedEntitiesForOrganizationOutput, SdkError<DescribeAffectedEntitiesForOrganizationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeAffectedEntitiesForOrganizationInputBuilder
impl Clone for DescribeAffectedEntitiesForOrganizationInputBuilder
source§fn clone(&self) -> DescribeAffectedEntitiesForOrganizationInputBuilder
fn clone(&self) -> DescribeAffectedEntitiesForOrganizationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeAffectedEntitiesForOrganizationInputBuilder
impl Default for DescribeAffectedEntitiesForOrganizationInputBuilder
source§fn default() -> DescribeAffectedEntitiesForOrganizationInputBuilder
fn default() -> DescribeAffectedEntitiesForOrganizationInputBuilder
source§impl PartialEq for DescribeAffectedEntitiesForOrganizationInputBuilder
impl PartialEq for DescribeAffectedEntitiesForOrganizationInputBuilder
source§fn eq(
&self,
other: &DescribeAffectedEntitiesForOrganizationInputBuilder
) -> bool
fn eq( &self, other: &DescribeAffectedEntitiesForOrganizationInputBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeAffectedEntitiesForOrganizationInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeAffectedEntitiesForOrganizationInputBuilder
impl RefUnwindSafe for DescribeAffectedEntitiesForOrganizationInputBuilder
impl Send for DescribeAffectedEntitiesForOrganizationInputBuilder
impl Sync for DescribeAffectedEntitiesForOrganizationInputBuilder
impl Unpin for DescribeAffectedEntitiesForOrganizationInputBuilder
impl UnwindSafe for DescribeAffectedEntitiesForOrganizationInputBuilder
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