7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
49 template<
typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = Aws::String>
61 template<
typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
63 template<
typename DescriptionT = Aws::String>
74 template<
typename DefaultRouteTablePropagationT = Aws::String>
75 void SetDefaultRouteTablePropagation(DefaultRouteTablePropagationT&& value) { m_defaultRouteTablePropagationHasBeenSet =
true; m_defaultRouteTablePropagation = std::forward<DefaultRouteTablePropagationT>(value); }
76 template<
typename DefaultRouteTablePropagationT = Aws::String>
86 template<
typename AutoAcceptSharedAttachmentsT = Aws::String>
87 void SetAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsT&& value) { m_autoAcceptSharedAttachmentsHasBeenSet =
true; m_autoAcceptSharedAttachments = std::forward<AutoAcceptSharedAttachmentsT>(value); }
88 template<
typename AutoAcceptSharedAttachmentsT = Aws::String>
99 template<
typename DefaultRouteTableAssociationT = Aws::String>
100 void SetDefaultRouteTableAssociation(DefaultRouteTableAssociationT&& value) { m_defaultRouteTableAssociationHasBeenSet =
true; m_defaultRouteTableAssociation = std::forward<DefaultRouteTableAssociationT>(value); }
101 template<
typename DefaultRouteTableAssociationT = Aws::String>
111 template<
typename TransitGatewayC
idrBlocksT = Aws::Vector<Aws::String>>
112 void SetTransitGatewayCidrBlocks(TransitGatewayCidrBlocksT&& value) { m_transitGatewayCidrBlocksHasBeenSet =
true; m_transitGatewayCidrBlocks = std::forward<TransitGatewayCidrBlocksT>(value); }
113 template<
typename TransitGatewayC
idrBlocksT = Aws::Vector<Aws::String>>
115 template<
typename TransitGatewayC
idrBlocksT = Aws::String>
125 template<
typename AssociationDefaultRouteTableIdT = Aws::String>
126 void SetAssociationDefaultRouteTableId(AssociationDefaultRouteTableIdT&& value) { m_associationDefaultRouteTableIdHasBeenSet =
true; m_associationDefaultRouteTableId = std::forward<AssociationDefaultRouteTableIdT>(value); }
127 template<
typename AssociationDefaultRouteTableIdT = Aws::String>
137 template<
typename PropagationDefaultRouteTableIdT = Aws::String>
138 void SetPropagationDefaultRouteTableId(PropagationDefaultRouteTableIdT&& value) { m_propagationDefaultRouteTableIdHasBeenSet =
true; m_propagationDefaultRouteTableId = std::forward<PropagationDefaultRouteTableIdT>(value); }
139 template<
typename PropagationDefaultRouteTableIdT = Aws::String>
149 template<
typename VpnEcmpSupportT = Aws::String>
150 void SetVpnEcmpSupport(VpnEcmpSupportT&& value) { m_vpnEcmpSupportHasBeenSet =
true; m_vpnEcmpSupport = std::forward<VpnEcmpSupportT>(value); }
151 template<
typename VpnEcmpSupportT = Aws::String>
161 template<
typename DnsSupportT = Aws::String>
162 void SetDnsSupport(DnsSupportT&& value) { m_dnsSupportHasBeenSet =
true; m_dnsSupport = std::forward<DnsSupportT>(value); }
163 template<
typename DnsSupportT = Aws::String>
173 template<
typename MulticastSupportT = Aws::String>
174 void SetMulticastSupport(MulticastSupportT&& value) { m_multicastSupportHasBeenSet =
true; m_multicastSupport = std::forward<MulticastSupportT>(value); }
175 template<
typename MulticastSupportT = Aws::String>
186 inline void SetAmazonSideAsn(
int value) { m_amazonSideAsnHasBeenSet =
true; m_amazonSideAsn = value; }
192 bool m_idHasBeenSet =
false;
195 bool m_descriptionHasBeenSet =
false;
198 bool m_defaultRouteTablePropagationHasBeenSet =
false;
201 bool m_autoAcceptSharedAttachmentsHasBeenSet =
false;
204 bool m_defaultRouteTableAssociationHasBeenSet =
false;
207 bool m_transitGatewayCidrBlocksHasBeenSet =
false;
210 bool m_associationDefaultRouteTableIdHasBeenSet =
false;
213 bool m_propagationDefaultRouteTableIdHasBeenSet =
false;
216 bool m_vpnEcmpSupportHasBeenSet =
false;
219 bool m_dnsSupportHasBeenSet =
false;
222 bool m_multicastSupportHasBeenSet =
false;
224 int m_amazonSideAsn{0};
225 bool m_amazonSideAsnHasBeenSet =
false;
void SetVpnEcmpSupport(VpnEcmpSupportT &&value)
bool AmazonSideAsnHasBeenSet() const
AwsEc2TransitGatewayDetails & WithDnsSupport(DnsSupportT &&value)
AwsEc2TransitGatewayDetails & WithVpnEcmpSupport(VpnEcmpSupportT &&value)
void SetDefaultRouteTablePropagation(DefaultRouteTablePropagationT &&value)
AwsEc2TransitGatewayDetails & WithDefaultRouteTablePropagation(DefaultRouteTablePropagationT &&value)
AWS_SECURITYHUB_API AwsEc2TransitGatewayDetails()=default
AwsEc2TransitGatewayDetails & WithAssociationDefaultRouteTableId(AssociationDefaultRouteTableIdT &&value)
void SetDefaultRouteTableAssociation(DefaultRouteTableAssociationT &&value)
const Aws::String & GetPropagationDefaultRouteTableId() const
bool DnsSupportHasBeenSet() const
void SetAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsT &&value)
const Aws::String & GetAutoAcceptSharedAttachments() const
void SetAmazonSideAsn(int value)
AwsEc2TransitGatewayDetails & WithDefaultRouteTableAssociation(DefaultRouteTableAssociationT &&value)
AWS_SECURITYHUB_API AwsEc2TransitGatewayDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPropagationDefaultRouteTableId(PropagationDefaultRouteTableIdT &&value)
void SetDnsSupport(DnsSupportT &&value)
AwsEc2TransitGatewayDetails & AddTransitGatewayCidrBlocks(TransitGatewayCidrBlocksT &&value)
const Aws::String & GetDefaultRouteTablePropagation() const
AwsEc2TransitGatewayDetails & WithAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsT &&value)
int GetAmazonSideAsn() const
AwsEc2TransitGatewayDetails & WithMulticastSupport(MulticastSupportT &&value)
bool DescriptionHasBeenSet() const
bool TransitGatewayCidrBlocksHasBeenSet() const
AwsEc2TransitGatewayDetails & WithId(IdT &&value)
bool MulticastSupportHasBeenSet() const
AwsEc2TransitGatewayDetails & WithTransitGatewayCidrBlocks(TransitGatewayCidrBlocksT &&value)
bool DefaultRouteTablePropagationHasBeenSet() const
const Aws::String & GetId() const
bool VpnEcmpSupportHasBeenSet() const
const Aws::String & GetDefaultRouteTableAssociation() const
AwsEc2TransitGatewayDetails & WithPropagationDefaultRouteTableId(PropagationDefaultRouteTableIdT &&value)
bool AutoAcceptSharedAttachmentsHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(DescriptionT &&value)
AwsEc2TransitGatewayDetails & WithDescription(DescriptionT &&value)
const Aws::String & GetAssociationDefaultRouteTableId() const
bool PropagationDefaultRouteTableIdHasBeenSet() const
AWS_SECURITYHUB_API AwsEc2TransitGatewayDetails(Aws::Utils::Json::JsonView jsonValue)
void SetTransitGatewayCidrBlocks(TransitGatewayCidrBlocksT &&value)
const Aws::String & GetMulticastSupport() const
AwsEc2TransitGatewayDetails & WithAmazonSideAsn(int value)
bool IdHasBeenSet() const
void SetMulticastSupport(MulticastSupportT &&value)
bool DefaultRouteTableAssociationHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::String & GetDnsSupport() const
const Aws::String & GetVpnEcmpSupport() const
void SetAssociationDefaultRouteTableId(AssociationDefaultRouteTableIdT &&value)
bool AssociationDefaultRouteTableIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetTransitGatewayCidrBlocks() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue