#[allow(missing_docs)] #[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct UpdateSharedVpcConfigurationOutput {
pub enable_fsx_route_table_updates_from_participant_accounts: ::std::option::Option<::std::string::String>,
_request_id: Option<String>,
}
impl UpdateSharedVpcConfigurationOutput {
pub fn enable_fsx_route_table_updates_from_participant_accounts(&self) -> ::std::option::Option<&str> {
self.enable_fsx_route_table_updates_from_participant_accounts.as_deref()
}
}
impl ::aws_types::request_id::RequestId for UpdateSharedVpcConfigurationOutput {
fn request_id(&self) -> Option<&str> {
self._request_id.as_deref()
}
}
impl UpdateSharedVpcConfigurationOutput {
pub fn builder() -> crate::operation::update_shared_vpc_configuration::builders::UpdateSharedVpcConfigurationOutputBuilder {
crate::operation::update_shared_vpc_configuration::builders::UpdateSharedVpcConfigurationOutputBuilder::default()
}
}
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
pub struct UpdateSharedVpcConfigurationOutputBuilder {
pub(crate) enable_fsx_route_table_updates_from_participant_accounts: ::std::option::Option<::std::string::String>,
_request_id: Option<String>,
}
impl UpdateSharedVpcConfigurationOutputBuilder {
pub fn enable_fsx_route_table_updates_from_participant_accounts(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.enable_fsx_route_table_updates_from_participant_accounts = ::std::option::Option::Some(input.into());
self
}
pub fn set_enable_fsx_route_table_updates_from_participant_accounts(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.enable_fsx_route_table_updates_from_participant_accounts = input;
self
}
pub fn get_enable_fsx_route_table_updates_from_participant_accounts(&self) -> &::std::option::Option<::std::string::String> {
&self.enable_fsx_route_table_updates_from_participant_accounts
}
pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
self._request_id = Some(request_id.into());
self
}
pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
self._request_id = request_id;
self
}
pub fn build(self) -> crate::operation::update_shared_vpc_configuration::UpdateSharedVpcConfigurationOutput {
crate::operation::update_shared_vpc_configuration::UpdateSharedVpcConfigurationOutput {
enable_fsx_route_table_updates_from_participant_accounts: self.enable_fsx_route_table_updates_from_participant_accounts,
_request_id: self._request_id,
}
}
}