Struct aws_sdk_iot::operation::add_thing_to_billing_group::builders::AddThingToBillingGroupInputBuilder
source · #[non_exhaustive]pub struct AddThingToBillingGroupInputBuilder { /* private fields */ }Expand description
A builder for AddThingToBillingGroupInput.
Implementations§
source§impl AddThingToBillingGroupInputBuilder
impl AddThingToBillingGroupInputBuilder
sourcepub fn billing_group_name(self, input: impl Into<String>) -> Self
pub fn billing_group_name(self, input: impl Into<String>) -> Self
The name of the billing group.
This call is asynchronous. It might take several seconds for the detachment to propagate.
sourcepub fn set_billing_group_name(self, input: Option<String>) -> Self
pub fn set_billing_group_name(self, input: Option<String>) -> Self
The name of the billing group.
This call is asynchronous. It might take several seconds for the detachment to propagate.
sourcepub fn get_billing_group_name(&self) -> &Option<String>
pub fn get_billing_group_name(&self) -> &Option<String>
The name of the billing group.
This call is asynchronous. It might take several seconds for the detachment to propagate.
sourcepub fn billing_group_arn(self, input: impl Into<String>) -> Self
pub fn billing_group_arn(self, input: impl Into<String>) -> Self
The ARN of the billing group.
sourcepub fn set_billing_group_arn(self, input: Option<String>) -> Self
pub fn set_billing_group_arn(self, input: Option<String>) -> Self
The ARN of the billing group.
sourcepub fn get_billing_group_arn(&self) -> &Option<String>
pub fn get_billing_group_arn(&self) -> &Option<String>
The ARN of the billing group.
sourcepub fn thing_name(self, input: impl Into<String>) -> Self
pub fn thing_name(self, input: impl Into<String>) -> Self
The name of the thing to be added to the billing group.
sourcepub fn set_thing_name(self, input: Option<String>) -> Self
pub fn set_thing_name(self, input: Option<String>) -> Self
The name of the thing to be added to the billing group.
sourcepub fn get_thing_name(&self) -> &Option<String>
pub fn get_thing_name(&self) -> &Option<String>
The name of the thing to be added to the billing group.
sourcepub fn thing_arn(self, input: impl Into<String>) -> Self
pub fn thing_arn(self, input: impl Into<String>) -> Self
The ARN of the thing to be added to the billing group.
sourcepub fn set_thing_arn(self, input: Option<String>) -> Self
pub fn set_thing_arn(self, input: Option<String>) -> Self
The ARN of the thing to be added to the billing group.
sourcepub fn get_thing_arn(&self) -> &Option<String>
pub fn get_thing_arn(&self) -> &Option<String>
The ARN of the thing to be added to the billing group.
sourcepub fn build(self) -> Result<AddThingToBillingGroupInput, BuildError>
pub fn build(self) -> Result<AddThingToBillingGroupInput, BuildError>
Consumes the builder and constructs a AddThingToBillingGroupInput.
source§impl AddThingToBillingGroupInputBuilder
impl AddThingToBillingGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<AddThingToBillingGroupOutput, SdkError<AddThingToBillingGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<AddThingToBillingGroupOutput, SdkError<AddThingToBillingGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AddThingToBillingGroupInputBuilder
impl Clone for AddThingToBillingGroupInputBuilder
source§fn clone(&self) -> AddThingToBillingGroupInputBuilder
fn clone(&self) -> AddThingToBillingGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AddThingToBillingGroupInputBuilder
impl Default for AddThingToBillingGroupInputBuilder
source§fn default() -> AddThingToBillingGroupInputBuilder
fn default() -> AddThingToBillingGroupInputBuilder
source§impl PartialEq for AddThingToBillingGroupInputBuilder
impl PartialEq for AddThingToBillingGroupInputBuilder
source§fn eq(&self, other: &AddThingToBillingGroupInputBuilder) -> bool
fn eq(&self, other: &AddThingToBillingGroupInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AddThingToBillingGroupInputBuilder
Auto Trait Implementations§
impl Freeze for AddThingToBillingGroupInputBuilder
impl RefUnwindSafe for AddThingToBillingGroupInputBuilder
impl Send for AddThingToBillingGroupInputBuilder
impl Sync for AddThingToBillingGroupInputBuilder
impl Unpin for AddThingToBillingGroupInputBuilder
impl UnwindSafe for AddThingToBillingGroupInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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