#[allow(missing_docs)] #[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DeleteRequesterGatewayInput {
pub gateway_id: ::std::option::Option<::std::string::String>,
}
impl DeleteRequesterGatewayInput {
pub fn gateway_id(&self) -> ::std::option::Option<&str> {
self.gateway_id.as_deref()
}
}
impl DeleteRequesterGatewayInput {
pub fn builder() -> crate::operation::delete_requester_gateway::builders::DeleteRequesterGatewayInputBuilder {
crate::operation::delete_requester_gateway::builders::DeleteRequesterGatewayInputBuilder::default()
}
}
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct DeleteRequesterGatewayInputBuilder {
pub(crate) gateway_id: ::std::option::Option<::std::string::String>,
}
impl DeleteRequesterGatewayInputBuilder {
pub fn gateway_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.gateway_id = ::std::option::Option::Some(input.into());
self
}
pub fn set_gateway_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.gateway_id = input;
self
}
pub fn get_gateway_id(&self) -> &::std::option::Option<::std::string::String> {
&self.gateway_id
}
pub fn build(
self,
) -> ::std::result::Result<
crate::operation::delete_requester_gateway::DeleteRequesterGatewayInput,
::aws_smithy_types::error::operation::BuildError,
> {
::std::result::Result::Ok(crate::operation::delete_requester_gateway::DeleteRequesterGatewayInput { gateway_id: self.gateway_id })
}
}