7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/VpnEcmpSupportValue.h>
11#include <aws/ec2/model/DnsSupportValue.h>
12#include <aws/ec2/model/SecurityGroupReferencingSupportValue.h>
13#include <aws/ec2/model/AutoAcceptSharedAttachmentsValue.h>
14#include <aws/ec2/model/DefaultRouteTableAssociationValue.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/ec2/model/DefaultRouteTablePropagationValue.h>
56 template<
typename AddTransitGatewayC
idrBlocksT = Aws::Vector<Aws::String>>
57 void SetAddTransitGatewayCidrBlocks(AddTransitGatewayCidrBlocksT&& value) { m_addTransitGatewayCidrBlocksHasBeenSet =
true; m_addTransitGatewayCidrBlocks = std::forward<AddTransitGatewayCidrBlocksT>(value); }
58 template<
typename AddTransitGatewayC
idrBlocksT = Aws::Vector<Aws::String>>
60 template<
typename AddTransitGatewayC
idrBlocksT = Aws::String>
70 template<
typename RemoveTransitGatewayC
idrBlocksT = Aws::Vector<Aws::String>>
71 void SetRemoveTransitGatewayCidrBlocks(RemoveTransitGatewayCidrBlocksT&& value) { m_removeTransitGatewayCidrBlocksHasBeenSet =
true; m_removeTransitGatewayCidrBlocks = std::forward<RemoveTransitGatewayCidrBlocksT>(value); }
72 template<
typename RemoveTransitGatewayC
idrBlocksT = Aws::Vector<Aws::String>>
74 template<
typename RemoveTransitGatewayC
idrBlocksT = Aws::String>
140 template<
typename AssociationDefaultRouteTableIdT = Aws::String>
141 void SetAssociationDefaultRouteTableId(AssociationDefaultRouteTableIdT&& value) { m_associationDefaultRouteTableIdHasBeenSet =
true; m_associationDefaultRouteTableId = std::forward<AssociationDefaultRouteTableIdT>(value); }
142 template<
typename AssociationDefaultRouteTableIdT = Aws::String>
163 template<
typename PropagationDefaultRouteTableIdT = Aws::String>
164 void SetPropagationDefaultRouteTableId(PropagationDefaultRouteTableIdT&& value) { m_propagationDefaultRouteTableIdHasBeenSet =
true; m_propagationDefaultRouteTableId = std::forward<PropagationDefaultRouteTableIdT>(value); }
165 template<
typename PropagationDefaultRouteTableIdT = Aws::String>
182 inline void SetAmazonSideAsn(
long long value) { m_amazonSideAsnHasBeenSet =
true; m_amazonSideAsn = value; }
188 bool m_addTransitGatewayCidrBlocksHasBeenSet =
false;
191 bool m_removeTransitGatewayCidrBlocksHasBeenSet =
false;
194 bool m_vpnEcmpSupportHasBeenSet =
false;
197 bool m_dnsSupportHasBeenSet =
false;
200 bool m_securityGroupReferencingSupportHasBeenSet =
false;
203 bool m_autoAcceptSharedAttachmentsHasBeenSet =
false;
206 bool m_defaultRouteTableAssociationHasBeenSet =
false;
209 bool m_associationDefaultRouteTableIdHasBeenSet =
false;
212 bool m_defaultRouteTablePropagationHasBeenSet =
false;
215 bool m_propagationDefaultRouteTableIdHasBeenSet =
false;
217 long long m_amazonSideAsn{0};
218 bool m_amazonSideAsnHasBeenSet =
false;
AutoAcceptSharedAttachmentsValue GetAutoAcceptSharedAttachments() const
const Aws::Vector< Aws::String > & GetAddTransitGatewayCidrBlocks() const
DnsSupportValue GetDnsSupport() const
bool VpnEcmpSupportHasBeenSet() const
AWS_EC2_API ModifyTransitGatewayOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API ModifyTransitGatewayOptions()=default
ModifyTransitGatewayOptions & WithDefaultRouteTableAssociation(DefaultRouteTableAssociationValue value)
void SetAddTransitGatewayCidrBlocks(AddTransitGatewayCidrBlocksT &&value)
ModifyTransitGatewayOptions & WithPropagationDefaultRouteTableId(PropagationDefaultRouteTableIdT &&value)
AWS_EC2_API ModifyTransitGatewayOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPropagationDefaultRouteTableId(PropagationDefaultRouteTableIdT &&value)
ModifyTransitGatewayOptions & WithSecurityGroupReferencingSupport(SecurityGroupReferencingSupportValue value)
ModifyTransitGatewayOptions & WithAssociationDefaultRouteTableId(AssociationDefaultRouteTableIdT &&value)
bool PropagationDefaultRouteTableIdHasBeenSet() const
bool SecurityGroupReferencingSupportHasBeenSet() const
ModifyTransitGatewayOptions & AddRemoveTransitGatewayCidrBlocks(RemoveTransitGatewayCidrBlocksT &&value)
bool DnsSupportHasBeenSet() const
DefaultRouteTableAssociationValue GetDefaultRouteTableAssociation() const
void SetDefaultRouteTableAssociation(DefaultRouteTableAssociationValue value)
void SetAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue value)
void SetDefaultRouteTablePropagation(DefaultRouteTablePropagationValue value)
void SetSecurityGroupReferencingSupport(SecurityGroupReferencingSupportValue value)
void SetAmazonSideAsn(long long value)
const Aws::Vector< Aws::String > & GetRemoveTransitGatewayCidrBlocks() const
DefaultRouteTablePropagationValue GetDefaultRouteTablePropagation() const
ModifyTransitGatewayOptions & WithAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue value)
const Aws::String & GetAssociationDefaultRouteTableId() const
const Aws::String & GetPropagationDefaultRouteTableId() const
ModifyTransitGatewayOptions & WithVpnEcmpSupport(VpnEcmpSupportValue value)
void SetAssociationDefaultRouteTableId(AssociationDefaultRouteTableIdT &&value)
void SetDnsSupport(DnsSupportValue value)
bool AddTransitGatewayCidrBlocksHasBeenSet() const
ModifyTransitGatewayOptions & WithDefaultRouteTablePropagation(DefaultRouteTablePropagationValue value)
ModifyTransitGatewayOptions & WithAmazonSideAsn(long long value)
bool RemoveTransitGatewayCidrBlocksHasBeenSet() const
ModifyTransitGatewayOptions & WithAddTransitGatewayCidrBlocks(AddTransitGatewayCidrBlocksT &&value)
bool AssociationDefaultRouteTableIdHasBeenSet() const
bool DefaultRouteTableAssociationHasBeenSet() const
long long GetAmazonSideAsn() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool DefaultRouteTablePropagationHasBeenSet() const
ModifyTransitGatewayOptions & WithDnsSupport(DnsSupportValue value)
ModifyTransitGatewayOptions & WithRemoveTransitGatewayCidrBlocks(RemoveTransitGatewayCidrBlocksT &&value)
bool AmazonSideAsnHasBeenSet() const
void SetVpnEcmpSupport(VpnEcmpSupportValue value)
void SetRemoveTransitGatewayCidrBlocks(RemoveTransitGatewayCidrBlocksT &&value)
bool AutoAcceptSharedAttachmentsHasBeenSet() const
ModifyTransitGatewayOptions & AddAddTransitGatewayCidrBlocks(AddTransitGatewayCidrBlocksT &&value)
SecurityGroupReferencingSupportValue GetSecurityGroupReferencingSupport() const
VpnEcmpSupportValue GetVpnEcmpSupport() const
DefaultRouteTableAssociationValue
SecurityGroupReferencingSupportValue
DefaultRouteTablePropagationValue
AutoAcceptSharedAttachmentsValue
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream