Struct aws_sdk_sesv2::operation::get_domain_statistics_report::builders::GetDomainStatisticsReportInputBuilder
source · #[non_exhaustive]pub struct GetDomainStatisticsReportInputBuilder { /* private fields */ }Expand description
A builder for GetDomainStatisticsReportInput.
Implementations§
source§impl GetDomainStatisticsReportInputBuilder
impl GetDomainStatisticsReportInputBuilder
sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
The domain that you want to obtain deliverability metrics for.
This field is required.sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
The domain that you want to obtain deliverability metrics for.
sourcepub fn get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
The domain that you want to obtain deliverability metrics for.
sourcepub fn start_date(self, input: DateTime) -> Self
pub fn start_date(self, input: DateTime) -> Self
The first day (in Unix time) that you want to obtain domain deliverability metrics 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) that you want to obtain domain deliverability metrics for.
sourcepub fn get_start_date(&self) -> &Option<DateTime>
pub fn get_start_date(&self) -> &Option<DateTime>
The first day (in Unix time) that you want to obtain domain deliverability metrics for.
sourcepub fn end_date(self, input: DateTime) -> Self
pub fn end_date(self, input: DateTime) -> Self
The last day (in Unix time) that you want to obtain domain deliverability metrics for. The EndDate that you specify has to be less than or equal to 30 days after the StartDate.
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) that you want to obtain domain deliverability metrics for. The EndDate that you specify has to be less than or equal to 30 days after the StartDate.
sourcepub fn get_end_date(&self) -> &Option<DateTime>
pub fn get_end_date(&self) -> &Option<DateTime>
The last day (in Unix time) that you want to obtain domain deliverability metrics for. The EndDate that you specify has to be less than or equal to 30 days after the StartDate.
sourcepub fn build(self) -> Result<GetDomainStatisticsReportInput, BuildError>
pub fn build(self) -> Result<GetDomainStatisticsReportInput, BuildError>
Consumes the builder and constructs a GetDomainStatisticsReportInput.
source§impl GetDomainStatisticsReportInputBuilder
impl GetDomainStatisticsReportInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetDomainStatisticsReportOutput, SdkError<GetDomainStatisticsReportError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetDomainStatisticsReportOutput, SdkError<GetDomainStatisticsReportError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetDomainStatisticsReportInputBuilder
impl Clone for GetDomainStatisticsReportInputBuilder
source§fn clone(&self) -> GetDomainStatisticsReportInputBuilder
fn clone(&self) -> GetDomainStatisticsReportInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetDomainStatisticsReportInputBuilder
impl Default for GetDomainStatisticsReportInputBuilder
source§fn default() -> GetDomainStatisticsReportInputBuilder
fn default() -> GetDomainStatisticsReportInputBuilder
source§impl PartialEq for GetDomainStatisticsReportInputBuilder
impl PartialEq for GetDomainStatisticsReportInputBuilder
source§fn eq(&self, other: &GetDomainStatisticsReportInputBuilder) -> bool
fn eq(&self, other: &GetDomainStatisticsReportInputBuilder) -> bool
self and other values to be equal, and is used
by ==.