Struct aws_sdk_pinpointemail::operation::list_domain_deliverability_campaigns::builders::ListDomainDeliverabilityCampaignsInputBuilder
source · #[non_exhaustive]pub struct ListDomainDeliverabilityCampaignsInputBuilder { /* private fields */ }
Expand description
A builder for ListDomainDeliverabilityCampaignsInput
.
Implementations§
source§impl ListDomainDeliverabilityCampaignsInputBuilder
impl ListDomainDeliverabilityCampaignsInputBuilder
sourcepub fn start_date(self, input: DateTime) -> Self
pub fn start_date(self, input: DateTime) -> Self
The first day, in Unix time format, that you want to obtain deliverability data for.
This field is required.sourcepub fn set_start_date(self, input: Option<DateTime>) -> Self
pub fn set_start_date(self, input: Option<DateTime>) -> Self
The first day, in Unix time format, that you want to obtain deliverability data for.
sourcepub fn get_start_date(&self) -> &Option<DateTime>
pub fn get_start_date(&self) -> &Option<DateTime>
The first day, in Unix time format, that you want to obtain deliverability data for.
sourcepub fn end_date(self, input: DateTime) -> Self
pub fn end_date(self, input: DateTime) -> Self
The last day, in Unix time format, that you want to obtain deliverability data for. This value has to be less than or equal to 30 days after the value of the StartDate
parameter.
sourcepub fn set_end_date(self, input: Option<DateTime>) -> Self
pub fn set_end_date(self, input: Option<DateTime>) -> Self
The last day, in Unix time format, that you want to obtain deliverability data for. This value has to be less than or equal to 30 days after the value of the StartDate
parameter.
sourcepub fn get_end_date(&self) -> &Option<DateTime>
pub fn get_end_date(&self) -> &Option<DateTime>
The last day, in Unix time format, that you want to obtain deliverability data for. This value has to be less than or equal to 30 days after the value of the StartDate
parameter.
sourcepub fn subscribed_domain(self, input: impl Into<String>) -> Self
pub fn subscribed_domain(self, input: impl Into<String>) -> Self
The domain to obtain deliverability data for.
This field is required.sourcepub fn set_subscribed_domain(self, input: Option<String>) -> Self
pub fn set_subscribed_domain(self, input: Option<String>) -> Self
The domain to obtain deliverability data for.
sourcepub fn get_subscribed_domain(&self) -> &Option<String>
pub fn get_subscribed_domain(&self) -> &Option<String>
The domain to obtain deliverability data for.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that’s returned from a previous call to the ListDomainDeliverabilityCampaigns
operation. This token indicates the position of a campaign in the list of campaigns.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token that’s returned from a previous call to the ListDomainDeliverabilityCampaigns
operation. This token indicates the position of a campaign in the list of campaigns.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token that’s returned from a previous call to the ListDomainDeliverabilityCampaigns
operation. This token indicates the position of a campaign in the list of campaigns.
sourcepub fn page_size(self, input: i32) -> Self
pub fn page_size(self, input: i32) -> Self
The maximum number of results to include in response to a single call to the ListDomainDeliverabilityCampaigns
operation. If the number of results is larger than the number that you specify in this parameter, the response includes a NextToken
element, which you can use to obtain additional results.
sourcepub fn set_page_size(self, input: Option<i32>) -> Self
pub fn set_page_size(self, input: Option<i32>) -> Self
The maximum number of results to include in response to a single call to the ListDomainDeliverabilityCampaigns
operation. If the number of results is larger than the number that you specify in this parameter, the response includes a NextToken
element, which you can use to obtain additional results.
sourcepub fn get_page_size(&self) -> &Option<i32>
pub fn get_page_size(&self) -> &Option<i32>
The maximum number of results to include in response to a single call to the ListDomainDeliverabilityCampaigns
operation. If the number of results is larger than the number that you specify in this parameter, the response includes a NextToken
element, which you can use to obtain additional results.
sourcepub fn build(self) -> Result<ListDomainDeliverabilityCampaignsInput, BuildError>
pub fn build(self) -> Result<ListDomainDeliverabilityCampaignsInput, BuildError>
Consumes the builder and constructs a ListDomainDeliverabilityCampaignsInput
.
source§impl ListDomainDeliverabilityCampaignsInputBuilder
impl ListDomainDeliverabilityCampaignsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListDomainDeliverabilityCampaignsOutput, SdkError<ListDomainDeliverabilityCampaignsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListDomainDeliverabilityCampaignsOutput, SdkError<ListDomainDeliverabilityCampaignsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListDomainDeliverabilityCampaignsInputBuilder
impl Clone for ListDomainDeliverabilityCampaignsInputBuilder
source§fn clone(&self) -> ListDomainDeliverabilityCampaignsInputBuilder
fn clone(&self) -> ListDomainDeliverabilityCampaignsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListDomainDeliverabilityCampaignsInputBuilder
impl Default for ListDomainDeliverabilityCampaignsInputBuilder
source§fn default() -> ListDomainDeliverabilityCampaignsInputBuilder
fn default() -> ListDomainDeliverabilityCampaignsInputBuilder
source§impl PartialEq for ListDomainDeliverabilityCampaignsInputBuilder
impl PartialEq for ListDomainDeliverabilityCampaignsInputBuilder
source§fn eq(&self, other: &ListDomainDeliverabilityCampaignsInputBuilder) -> bool
fn eq(&self, other: &ListDomainDeliverabilityCampaignsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListDomainDeliverabilityCampaignsInputBuilder
Auto Trait Implementations§
impl Freeze for ListDomainDeliverabilityCampaignsInputBuilder
impl RefUnwindSafe for ListDomainDeliverabilityCampaignsInputBuilder
impl Send for ListDomainDeliverabilityCampaignsInputBuilder
impl Sync for ListDomainDeliverabilityCampaignsInputBuilder
impl Unpin for ListDomainDeliverabilityCampaignsInputBuilder
impl UnwindSafe for ListDomainDeliverabilityCampaignsInputBuilder
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