#[non_exhaustive]pub struct GetSmsAttributesInputBuilder { /* private fields */ }Expand description
A builder for GetSmsAttributesInput.
Implementations§
source§impl GetSmsAttributesInputBuilder
impl GetSmsAttributesInputBuilder
sourcepub fn attributes(self, input: impl Into<String>) -> Self
pub fn attributes(self, input: impl Into<String>) -> Self
Appends an item to attributes.
To override the contents of this collection use set_attributes.
A list of the individual attribute names, such as MonthlySpendLimit, for which you want values.
For all attribute names, see SetSMSAttributes.
If you don't use this parameter, Amazon SNS returns all SMS attributes.
sourcepub fn set_attributes(self, input: Option<Vec<String>>) -> Self
pub fn set_attributes(self, input: Option<Vec<String>>) -> Self
A list of the individual attribute names, such as MonthlySpendLimit, for which you want values.
For all attribute names, see SetSMSAttributes.
If you don't use this parameter, Amazon SNS returns all SMS attributes.
sourcepub fn get_attributes(&self) -> &Option<Vec<String>>
pub fn get_attributes(&self) -> &Option<Vec<String>>
A list of the individual attribute names, such as MonthlySpendLimit, for which you want values.
For all attribute names, see SetSMSAttributes.
If you don't use this parameter, Amazon SNS returns all SMS attributes.
sourcepub fn build(self) -> Result<GetSmsAttributesInput, BuildError>
pub fn build(self) -> Result<GetSmsAttributesInput, BuildError>
Consumes the builder and constructs a GetSmsAttributesInput.
source§impl GetSmsAttributesInputBuilder
impl GetSmsAttributesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetSmsAttributesOutput, SdkError<GetSMSAttributesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetSmsAttributesOutput, SdkError<GetSMSAttributesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetSmsAttributesInputBuilder
impl Clone for GetSmsAttributesInputBuilder
source§fn clone(&self) -> GetSmsAttributesInputBuilder
fn clone(&self) -> GetSmsAttributesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetSmsAttributesInputBuilder
impl Debug for GetSmsAttributesInputBuilder
source§impl Default for GetSmsAttributesInputBuilder
impl Default for GetSmsAttributesInputBuilder
source§fn default() -> GetSmsAttributesInputBuilder
fn default() -> GetSmsAttributesInputBuilder
source§impl PartialEq for GetSmsAttributesInputBuilder
impl PartialEq for GetSmsAttributesInputBuilder
source§fn eq(&self, other: &GetSmsAttributesInputBuilder) -> bool
fn eq(&self, other: &GetSmsAttributesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.