Struct aws_sdk_sesv2::operation::batch_get_metric_data::builders::BatchGetMetricDataInputBuilder
source · #[non_exhaustive]pub struct BatchGetMetricDataInputBuilder { /* private fields */ }
Expand description
A builder for BatchGetMetricDataInput
.
Implementations§
source§impl BatchGetMetricDataInputBuilder
impl BatchGetMetricDataInputBuilder
sourcepub fn queries(self, input: BatchGetMetricDataQuery) -> Self
pub fn queries(self, input: BatchGetMetricDataQuery) -> Self
Appends an item to queries
.
To override the contents of this collection use set_queries
.
A list of queries for metrics to be retrieved.
sourcepub fn set_queries(self, input: Option<Vec<BatchGetMetricDataQuery>>) -> Self
pub fn set_queries(self, input: Option<Vec<BatchGetMetricDataQuery>>) -> Self
A list of queries for metrics to be retrieved.
sourcepub fn get_queries(&self) -> &Option<Vec<BatchGetMetricDataQuery>>
pub fn get_queries(&self) -> &Option<Vec<BatchGetMetricDataQuery>>
A list of queries for metrics to be retrieved.
sourcepub fn build(self) -> Result<BatchGetMetricDataInput, BuildError>
pub fn build(self) -> Result<BatchGetMetricDataInput, BuildError>
Consumes the builder and constructs a BatchGetMetricDataInput
.
source§impl BatchGetMetricDataInputBuilder
impl BatchGetMetricDataInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<BatchGetMetricDataOutput, SdkError<BatchGetMetricDataError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<BatchGetMetricDataOutput, SdkError<BatchGetMetricDataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchGetMetricDataInputBuilder
impl Clone for BatchGetMetricDataInputBuilder
source§fn clone(&self) -> BatchGetMetricDataInputBuilder
fn clone(&self) -> BatchGetMetricDataInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for BatchGetMetricDataInputBuilder
impl Default for BatchGetMetricDataInputBuilder
source§fn default() -> BatchGetMetricDataInputBuilder
fn default() -> BatchGetMetricDataInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchGetMetricDataInputBuilder
impl PartialEq for BatchGetMetricDataInputBuilder
source§fn eq(&self, other: &BatchGetMetricDataInputBuilder) -> bool
fn eq(&self, other: &BatchGetMetricDataInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchGetMetricDataInputBuilder
Auto Trait Implementations§
impl Freeze for BatchGetMetricDataInputBuilder
impl RefUnwindSafe for BatchGetMetricDataInputBuilder
impl Send for BatchGetMetricDataInputBuilder
impl Sync for BatchGetMetricDataInputBuilder
impl Unpin for BatchGetMetricDataInputBuilder
impl UnwindSafe for BatchGetMetricDataInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.