AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransitGatewayRequestOptions.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/AutoAcceptSharedAttachmentsValue.h>
10#include <aws/ec2/model/DefaultRouteTableAssociationValue.h>
11#include <aws/ec2/model/DefaultRouteTablePropagationValue.h>
12#include <aws/ec2/model/VpnEcmpSupportValue.h>
13#include <aws/ec2/model/DnsSupportValue.h>
14#include <aws/ec2/model/SecurityGroupReferencingSupportValue.h>
15#include <aws/ec2/model/MulticastSupportValue.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17#include <aws/core/utils/memory/stl/AWSString.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Xml
25{
26 class XmlNode;
27} // namespace Xml
28} // namespace Utils
29namespace EC2
30{
31namespace Model
32{
33
40 {
41 public:
45
46 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
47 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
48
49
51
56 inline long long GetAmazonSideAsn() const{ return m_amazonSideAsn; }
57 inline bool AmazonSideAsnHasBeenSet() const { return m_amazonSideAsnHasBeenSet; }
58 inline void SetAmazonSideAsn(long long value) { m_amazonSideAsnHasBeenSet = true; m_amazonSideAsn = value; }
59 inline TransitGatewayRequestOptions& WithAmazonSideAsn(long long value) { SetAmazonSideAsn(value); return *this;}
61
63
67 inline const AutoAcceptSharedAttachmentsValue& GetAutoAcceptSharedAttachments() const{ return m_autoAcceptSharedAttachments; }
68 inline bool AutoAcceptSharedAttachmentsHasBeenSet() const { return m_autoAcceptSharedAttachmentsHasBeenSet; }
69 inline void SetAutoAcceptSharedAttachments(const AutoAcceptSharedAttachmentsValue& value) { m_autoAcceptSharedAttachmentsHasBeenSet = true; m_autoAcceptSharedAttachments = value; }
70 inline void SetAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue&& value) { m_autoAcceptSharedAttachmentsHasBeenSet = true; m_autoAcceptSharedAttachments = std::move(value); }
74
76
80 inline const DefaultRouteTableAssociationValue& GetDefaultRouteTableAssociation() const{ return m_defaultRouteTableAssociation; }
81 inline bool DefaultRouteTableAssociationHasBeenSet() const { return m_defaultRouteTableAssociationHasBeenSet; }
82 inline void SetDefaultRouteTableAssociation(const DefaultRouteTableAssociationValue& value) { m_defaultRouteTableAssociationHasBeenSet = true; m_defaultRouteTableAssociation = value; }
83 inline void SetDefaultRouteTableAssociation(DefaultRouteTableAssociationValue&& value) { m_defaultRouteTableAssociationHasBeenSet = true; m_defaultRouteTableAssociation = std::move(value); }
87
89
93 inline const DefaultRouteTablePropagationValue& GetDefaultRouteTablePropagation() const{ return m_defaultRouteTablePropagation; }
94 inline bool DefaultRouteTablePropagationHasBeenSet() const { return m_defaultRouteTablePropagationHasBeenSet; }
95 inline void SetDefaultRouteTablePropagation(const DefaultRouteTablePropagationValue& value) { m_defaultRouteTablePropagationHasBeenSet = true; m_defaultRouteTablePropagation = value; }
96 inline void SetDefaultRouteTablePropagation(DefaultRouteTablePropagationValue&& value) { m_defaultRouteTablePropagationHasBeenSet = true; m_defaultRouteTablePropagation = std::move(value); }
100
102
106 inline const VpnEcmpSupportValue& GetVpnEcmpSupport() const{ return m_vpnEcmpSupport; }
107 inline bool VpnEcmpSupportHasBeenSet() const { return m_vpnEcmpSupportHasBeenSet; }
108 inline void SetVpnEcmpSupport(const VpnEcmpSupportValue& value) { m_vpnEcmpSupportHasBeenSet = true; m_vpnEcmpSupport = value; }
109 inline void SetVpnEcmpSupport(VpnEcmpSupportValue&& value) { m_vpnEcmpSupportHasBeenSet = true; m_vpnEcmpSupport = std::move(value); }
113
115
118 inline const DnsSupportValue& GetDnsSupport() const{ return m_dnsSupport; }
119 inline bool DnsSupportHasBeenSet() const { return m_dnsSupportHasBeenSet; }
120 inline void SetDnsSupport(const DnsSupportValue& value) { m_dnsSupportHasBeenSet = true; m_dnsSupport = value; }
121 inline void SetDnsSupport(DnsSupportValue&& value) { m_dnsSupportHasBeenSet = true; m_dnsSupport = std::move(value); }
122 inline TransitGatewayRequestOptions& WithDnsSupport(const DnsSupportValue& value) { SetDnsSupport(value); return *this;}
123 inline TransitGatewayRequestOptions& WithDnsSupport(DnsSupportValue&& value) { SetDnsSupport(std::move(value)); return *this;}
125
127
135 inline const SecurityGroupReferencingSupportValue& GetSecurityGroupReferencingSupport() const{ return m_securityGroupReferencingSupport; }
136 inline bool SecurityGroupReferencingSupportHasBeenSet() const { return m_securityGroupReferencingSupportHasBeenSet; }
137 inline void SetSecurityGroupReferencingSupport(const SecurityGroupReferencingSupportValue& value) { m_securityGroupReferencingSupportHasBeenSet = true; m_securityGroupReferencingSupport = value; }
138 inline void SetSecurityGroupReferencingSupport(SecurityGroupReferencingSupportValue&& value) { m_securityGroupReferencingSupportHasBeenSet = true; m_securityGroupReferencingSupport = std::move(value); }
142
144
147 inline const MulticastSupportValue& GetMulticastSupport() const{ return m_multicastSupport; }
148 inline bool MulticastSupportHasBeenSet() const { return m_multicastSupportHasBeenSet; }
149 inline void SetMulticastSupport(const MulticastSupportValue& value) { m_multicastSupportHasBeenSet = true; m_multicastSupport = value; }
150 inline void SetMulticastSupport(MulticastSupportValue&& value) { m_multicastSupportHasBeenSet = true; m_multicastSupport = std::move(value); }
154
156
161 inline const Aws::Vector<Aws::String>& GetTransitGatewayCidrBlocks() const{ return m_transitGatewayCidrBlocks; }
162 inline bool TransitGatewayCidrBlocksHasBeenSet() const { return m_transitGatewayCidrBlocksHasBeenSet; }
163 inline void SetTransitGatewayCidrBlocks(const Aws::Vector<Aws::String>& value) { m_transitGatewayCidrBlocksHasBeenSet = true; m_transitGatewayCidrBlocks = value; }
164 inline void SetTransitGatewayCidrBlocks(Aws::Vector<Aws::String>&& value) { m_transitGatewayCidrBlocksHasBeenSet = true; m_transitGatewayCidrBlocks = std::move(value); }
167 inline TransitGatewayRequestOptions& AddTransitGatewayCidrBlocks(const Aws::String& value) { m_transitGatewayCidrBlocksHasBeenSet = true; m_transitGatewayCidrBlocks.push_back(value); return *this; }
168 inline TransitGatewayRequestOptions& AddTransitGatewayCidrBlocks(Aws::String&& value) { m_transitGatewayCidrBlocksHasBeenSet = true; m_transitGatewayCidrBlocks.push_back(std::move(value)); return *this; }
169 inline TransitGatewayRequestOptions& AddTransitGatewayCidrBlocks(const char* value) { m_transitGatewayCidrBlocksHasBeenSet = true; m_transitGatewayCidrBlocks.push_back(value); return *this; }
171 private:
172
173 long long m_amazonSideAsn;
174 bool m_amazonSideAsnHasBeenSet = false;
175
176 AutoAcceptSharedAttachmentsValue m_autoAcceptSharedAttachments;
177 bool m_autoAcceptSharedAttachmentsHasBeenSet = false;
178
179 DefaultRouteTableAssociationValue m_defaultRouteTableAssociation;
180 bool m_defaultRouteTableAssociationHasBeenSet = false;
181
182 DefaultRouteTablePropagationValue m_defaultRouteTablePropagation;
183 bool m_defaultRouteTablePropagationHasBeenSet = false;
184
185 VpnEcmpSupportValue m_vpnEcmpSupport;
186 bool m_vpnEcmpSupportHasBeenSet = false;
187
188 DnsSupportValue m_dnsSupport;
189 bool m_dnsSupportHasBeenSet = false;
190
191 SecurityGroupReferencingSupportValue m_securityGroupReferencingSupport;
192 bool m_securityGroupReferencingSupportHasBeenSet = false;
193
194 MulticastSupportValue m_multicastSupport;
195 bool m_multicastSupportHasBeenSet = false;
196
197 Aws::Vector<Aws::String> m_transitGatewayCidrBlocks;
198 bool m_transitGatewayCidrBlocksHasBeenSet = false;
199 };
200
201} // namespace Model
202} // namespace EC2
203} // namespace Aws
TransitGatewayRequestOptions & WithSecurityGroupReferencingSupport(const SecurityGroupReferencingSupportValue &value)
TransitGatewayRequestOptions & WithVpnEcmpSupport(VpnEcmpSupportValue &&value)
TransitGatewayRequestOptions & AddTransitGatewayCidrBlocks(const char *value)
TransitGatewayRequestOptions & WithDefaultRouteTableAssociation(DefaultRouteTableAssociationValue &&value)
AWS_EC2_API TransitGatewayRequestOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayRequestOptions & WithDefaultRouteTablePropagation(const DefaultRouteTablePropagationValue &value)
TransitGatewayRequestOptions & WithTransitGatewayCidrBlocks(const Aws::Vector< Aws::String > &value)
void SetAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue &&value)
TransitGatewayRequestOptions & WithSecurityGroupReferencingSupport(SecurityGroupReferencingSupportValue &&value)
TransitGatewayRequestOptions & WithDnsSupport(const DnsSupportValue &value)
void SetDefaultRouteTableAssociation(DefaultRouteTableAssociationValue &&value)
void SetSecurityGroupReferencingSupport(SecurityGroupReferencingSupportValue &&value)
TransitGatewayRequestOptions & AddTransitGatewayCidrBlocks(const Aws::String &value)
void SetDefaultRouteTablePropagation(const DefaultRouteTablePropagationValue &value)
const SecurityGroupReferencingSupportValue & GetSecurityGroupReferencingSupport() const
TransitGatewayRequestOptions & WithMulticastSupport(const MulticastSupportValue &value)
TransitGatewayRequestOptions & AddTransitGatewayCidrBlocks(Aws::String &&value)
const MulticastSupportValue & GetMulticastSupport() const
void SetVpnEcmpSupport(const VpnEcmpSupportValue &value)
TransitGatewayRequestOptions & WithDnsSupport(DnsSupportValue &&value)
TransitGatewayRequestOptions & WithAutoAcceptSharedAttachments(const AutoAcceptSharedAttachmentsValue &value)
void SetMulticastSupport(const MulticastSupportValue &value)
void SetDefaultRouteTablePropagation(DefaultRouteTablePropagationValue &&value)
void SetAutoAcceptSharedAttachments(const AutoAcceptSharedAttachmentsValue &value)
const DefaultRouteTableAssociationValue & GetDefaultRouteTableAssociation() const
TransitGatewayRequestOptions & WithAmazonSideAsn(long long value)
const DefaultRouteTablePropagationValue & GetDefaultRouteTablePropagation() const
void SetTransitGatewayCidrBlocks(Aws::Vector< Aws::String > &&value)
TransitGatewayRequestOptions & WithVpnEcmpSupport(const VpnEcmpSupportValue &value)
TransitGatewayRequestOptions & WithAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue &&value)
const AutoAcceptSharedAttachmentsValue & GetAutoAcceptSharedAttachments() const
void SetDefaultRouteTableAssociation(const DefaultRouteTableAssociationValue &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TransitGatewayRequestOptions & WithDefaultRouteTableAssociation(const DefaultRouteTableAssociationValue &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetSecurityGroupReferencingSupport(const SecurityGroupReferencingSupportValue &value)
AWS_EC2_API TransitGatewayRequestOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayRequestOptions & WithDefaultRouteTablePropagation(DefaultRouteTablePropagationValue &&value)
TransitGatewayRequestOptions & WithTransitGatewayCidrBlocks(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetTransitGatewayCidrBlocks() const
TransitGatewayRequestOptions & WithMulticastSupport(MulticastSupportValue &&value)
void SetTransitGatewayCidrBlocks(const Aws::Vector< Aws::String > &value)
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