7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
80 template <
typename DefaultRouteTablePropagationT = Aws::String>
82 m_defaultRouteTablePropagationHasBeenSet =
true;
83 m_defaultRouteTablePropagation = std::forward<DefaultRouteTablePropagationT>(value);
85 template <
typename DefaultRouteTablePropagationT = Aws::String>
98 template <
typename AutoAcceptSharedAttachmentsT = Aws::String>
100 m_autoAcceptSharedAttachmentsHasBeenSet =
true;
101 m_autoAcceptSharedAttachments = std::forward<AutoAcceptSharedAttachmentsT>(value);
103 template <
typename AutoAcceptSharedAttachmentsT = Aws::String>
117 template <
typename DefaultRouteTableAssociationT = Aws::String>
119 m_defaultRouteTableAssociationHasBeenSet =
true;
120 m_defaultRouteTableAssociation = std::forward<DefaultRouteTableAssociationT>(value);
122 template <
typename DefaultRouteTableAssociationT = Aws::String>
135 template <
typename TransitGatewayC
idrBlocksT = Aws::Vector<Aws::String>>
137 m_transitGatewayCidrBlocksHasBeenSet =
true;
138 m_transitGatewayCidrBlocks = std::forward<TransitGatewayCidrBlocksT>(value);
140 template <
typename TransitGatewayC
idrBlocksT = Aws::Vector<Aws::String>>
145 template <
typename TransitGatewayC
idrBlocksT = Aws::String>
147 m_transitGatewayCidrBlocksHasBeenSet =
true;
148 m_transitGatewayCidrBlocks.emplace_back(std::forward<TransitGatewayCidrBlocksT>(value));
159 template <
typename AssociationDefaultRouteTableIdT = Aws::String>
161 m_associationDefaultRouteTableIdHasBeenSet =
true;
162 m_associationDefaultRouteTableId = std::forward<AssociationDefaultRouteTableIdT>(value);
164 template <
typename AssociationDefaultRouteTableIdT = Aws::String>
177 template <
typename PropagationDefaultRouteTableIdT = Aws::String>
179 m_propagationDefaultRouteTableIdHasBeenSet =
true;
180 m_propagationDefaultRouteTableId = std::forward<PropagationDefaultRouteTableIdT>(value);
182 template <
typename PropagationDefaultRouteTableIdT = Aws::String>
195 template <
typename VpnEcmpSupportT = Aws::String>
197 m_vpnEcmpSupportHasBeenSet =
true;
198 m_vpnEcmpSupport = std::forward<VpnEcmpSupportT>(value);
200 template <
typename VpnEcmpSupportT = Aws::String>
213 template <
typename DnsSupportT = Aws::String>
215 m_dnsSupportHasBeenSet =
true;
216 m_dnsSupport = std::forward<DnsSupportT>(value);
218 template <
typename DnsSupportT = Aws::String>
231 template <
typename MulticastSupportT = Aws::String>
233 m_multicastSupportHasBeenSet =
true;
234 m_multicastSupport = std::forward<MulticastSupportT>(value);
236 template <
typename MulticastSupportT = Aws::String>
251 m_amazonSideAsnHasBeenSet =
true;
252 m_amazonSideAsn = value;
282 int m_amazonSideAsn{0};
283 bool m_idHasBeenSet =
false;
284 bool m_descriptionHasBeenSet =
false;
285 bool m_defaultRouteTablePropagationHasBeenSet =
false;
286 bool m_autoAcceptSharedAttachmentsHasBeenSet =
false;
287 bool m_defaultRouteTableAssociationHasBeenSet =
false;
288 bool m_transitGatewayCidrBlocksHasBeenSet =
false;
289 bool m_associationDefaultRouteTableIdHasBeenSet =
false;
290 bool m_propagationDefaultRouteTableIdHasBeenSet =
false;
291 bool m_vpnEcmpSupportHasBeenSet =
false;
292 bool m_dnsSupportHasBeenSet =
false;
293 bool m_multicastSupportHasBeenSet =
false;
294 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