AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyTransitGatewayOptions.h
1
6#pragma once
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>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Xml
24{
25 class XmlNode;
26} // namespace Xml
27} // namespace Utils
28namespace EC2
29{
30namespace Model
31{
32
39 {
40 public:
44
45 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
54 inline const Aws::Vector<Aws::String>& GetAddTransitGatewayCidrBlocks() const{ return m_addTransitGatewayCidrBlocks; }
55 inline bool AddTransitGatewayCidrBlocksHasBeenSet() const { return m_addTransitGatewayCidrBlocksHasBeenSet; }
56 inline void SetAddTransitGatewayCidrBlocks(const Aws::Vector<Aws::String>& value) { m_addTransitGatewayCidrBlocksHasBeenSet = true; m_addTransitGatewayCidrBlocks = value; }
57 inline void SetAddTransitGatewayCidrBlocks(Aws::Vector<Aws::String>&& value) { m_addTransitGatewayCidrBlocksHasBeenSet = true; m_addTransitGatewayCidrBlocks = std::move(value); }
60 inline ModifyTransitGatewayOptions& AddAddTransitGatewayCidrBlocks(const Aws::String& value) { m_addTransitGatewayCidrBlocksHasBeenSet = true; m_addTransitGatewayCidrBlocks.push_back(value); return *this; }
61 inline ModifyTransitGatewayOptions& AddAddTransitGatewayCidrBlocks(Aws::String&& value) { m_addTransitGatewayCidrBlocksHasBeenSet = true; m_addTransitGatewayCidrBlocks.push_back(std::move(value)); return *this; }
62 inline ModifyTransitGatewayOptions& AddAddTransitGatewayCidrBlocks(const char* value) { m_addTransitGatewayCidrBlocksHasBeenSet = true; m_addTransitGatewayCidrBlocks.push_back(value); return *this; }
64
66
69 inline const Aws::Vector<Aws::String>& GetRemoveTransitGatewayCidrBlocks() const{ return m_removeTransitGatewayCidrBlocks; }
70 inline bool RemoveTransitGatewayCidrBlocksHasBeenSet() const { return m_removeTransitGatewayCidrBlocksHasBeenSet; }
71 inline void SetRemoveTransitGatewayCidrBlocks(const Aws::Vector<Aws::String>& value) { m_removeTransitGatewayCidrBlocksHasBeenSet = true; m_removeTransitGatewayCidrBlocks = value; }
72 inline void SetRemoveTransitGatewayCidrBlocks(Aws::Vector<Aws::String>&& value) { m_removeTransitGatewayCidrBlocksHasBeenSet = true; m_removeTransitGatewayCidrBlocks = std::move(value); }
75 inline ModifyTransitGatewayOptions& AddRemoveTransitGatewayCidrBlocks(const Aws::String& value) { m_removeTransitGatewayCidrBlocksHasBeenSet = true; m_removeTransitGatewayCidrBlocks.push_back(value); return *this; }
76 inline ModifyTransitGatewayOptions& AddRemoveTransitGatewayCidrBlocks(Aws::String&& value) { m_removeTransitGatewayCidrBlocksHasBeenSet = true; m_removeTransitGatewayCidrBlocks.push_back(std::move(value)); return *this; }
77 inline ModifyTransitGatewayOptions& AddRemoveTransitGatewayCidrBlocks(const char* value) { m_removeTransitGatewayCidrBlocksHasBeenSet = true; m_removeTransitGatewayCidrBlocks.push_back(value); return *this; }
79
81
84 inline const VpnEcmpSupportValue& GetVpnEcmpSupport() const{ return m_vpnEcmpSupport; }
85 inline bool VpnEcmpSupportHasBeenSet() const { return m_vpnEcmpSupportHasBeenSet; }
86 inline void SetVpnEcmpSupport(const VpnEcmpSupportValue& value) { m_vpnEcmpSupportHasBeenSet = true; m_vpnEcmpSupport = value; }
87 inline void SetVpnEcmpSupport(VpnEcmpSupportValue&& value) { m_vpnEcmpSupportHasBeenSet = true; m_vpnEcmpSupport = std::move(value); }
89 inline ModifyTransitGatewayOptions& WithVpnEcmpSupport(VpnEcmpSupportValue&& value) { SetVpnEcmpSupport(std::move(value)); return *this;}
91
93
96 inline const DnsSupportValue& GetDnsSupport() const{ return m_dnsSupport; }
97 inline bool DnsSupportHasBeenSet() const { return m_dnsSupportHasBeenSet; }
98 inline void SetDnsSupport(const DnsSupportValue& value) { m_dnsSupportHasBeenSet = true; m_dnsSupport = value; }
99 inline void SetDnsSupport(DnsSupportValue&& value) { m_dnsSupportHasBeenSet = true; m_dnsSupport = std::move(value); }
100 inline ModifyTransitGatewayOptions& WithDnsSupport(const DnsSupportValue& value) { SetDnsSupport(value); return *this;}
101 inline ModifyTransitGatewayOptions& WithDnsSupport(DnsSupportValue&& value) { SetDnsSupport(std::move(value)); return *this;}
103
105
113 inline const SecurityGroupReferencingSupportValue& GetSecurityGroupReferencingSupport() const{ return m_securityGroupReferencingSupport; }
114 inline bool SecurityGroupReferencingSupportHasBeenSet() const { return m_securityGroupReferencingSupportHasBeenSet; }
115 inline void SetSecurityGroupReferencingSupport(const SecurityGroupReferencingSupportValue& value) { m_securityGroupReferencingSupportHasBeenSet = true; m_securityGroupReferencingSupport = value; }
116 inline void SetSecurityGroupReferencingSupport(SecurityGroupReferencingSupportValue&& value) { m_securityGroupReferencingSupportHasBeenSet = true; m_securityGroupReferencingSupport = std::move(value); }
120
122
125 inline const AutoAcceptSharedAttachmentsValue& GetAutoAcceptSharedAttachments() const{ return m_autoAcceptSharedAttachments; }
126 inline bool AutoAcceptSharedAttachmentsHasBeenSet() const { return m_autoAcceptSharedAttachmentsHasBeenSet; }
127 inline void SetAutoAcceptSharedAttachments(const AutoAcceptSharedAttachmentsValue& value) { m_autoAcceptSharedAttachmentsHasBeenSet = true; m_autoAcceptSharedAttachments = value; }
128 inline void SetAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue&& value) { m_autoAcceptSharedAttachmentsHasBeenSet = true; m_autoAcceptSharedAttachments = std::move(value); }
132
134
138 inline const DefaultRouteTableAssociationValue& GetDefaultRouteTableAssociation() const{ return m_defaultRouteTableAssociation; }
139 inline bool DefaultRouteTableAssociationHasBeenSet() const { return m_defaultRouteTableAssociationHasBeenSet; }
140 inline void SetDefaultRouteTableAssociation(const DefaultRouteTableAssociationValue& value) { m_defaultRouteTableAssociationHasBeenSet = true; m_defaultRouteTableAssociation = value; }
141 inline void SetDefaultRouteTableAssociation(DefaultRouteTableAssociationValue&& value) { m_defaultRouteTableAssociationHasBeenSet = true; m_defaultRouteTableAssociation = std::move(value); }
145
147
150 inline const Aws::String& GetAssociationDefaultRouteTableId() const{ return m_associationDefaultRouteTableId; }
151 inline bool AssociationDefaultRouteTableIdHasBeenSet() const { return m_associationDefaultRouteTableIdHasBeenSet; }
152 inline void SetAssociationDefaultRouteTableId(const Aws::String& value) { m_associationDefaultRouteTableIdHasBeenSet = true; m_associationDefaultRouteTableId = value; }
153 inline void SetAssociationDefaultRouteTableId(Aws::String&& value) { m_associationDefaultRouteTableIdHasBeenSet = true; m_associationDefaultRouteTableId = std::move(value); }
154 inline void SetAssociationDefaultRouteTableId(const char* value) { m_associationDefaultRouteTableIdHasBeenSet = true; m_associationDefaultRouteTableId.assign(value); }
159
161
165 inline const DefaultRouteTablePropagationValue& GetDefaultRouteTablePropagation() const{ return m_defaultRouteTablePropagation; }
166 inline bool DefaultRouteTablePropagationHasBeenSet() const { return m_defaultRouteTablePropagationHasBeenSet; }
167 inline void SetDefaultRouteTablePropagation(const DefaultRouteTablePropagationValue& value) { m_defaultRouteTablePropagationHasBeenSet = true; m_defaultRouteTablePropagation = value; }
168 inline void SetDefaultRouteTablePropagation(DefaultRouteTablePropagationValue&& value) { m_defaultRouteTablePropagationHasBeenSet = true; m_defaultRouteTablePropagation = std::move(value); }
172
174
177 inline const Aws::String& GetPropagationDefaultRouteTableId() const{ return m_propagationDefaultRouteTableId; }
178 inline bool PropagationDefaultRouteTableIdHasBeenSet() const { return m_propagationDefaultRouteTableIdHasBeenSet; }
179 inline void SetPropagationDefaultRouteTableId(const Aws::String& value) { m_propagationDefaultRouteTableIdHasBeenSet = true; m_propagationDefaultRouteTableId = value; }
180 inline void SetPropagationDefaultRouteTableId(Aws::String&& value) { m_propagationDefaultRouteTableIdHasBeenSet = true; m_propagationDefaultRouteTableId = std::move(value); }
181 inline void SetPropagationDefaultRouteTableId(const char* value) { m_propagationDefaultRouteTableIdHasBeenSet = true; m_propagationDefaultRouteTableId.assign(value); }
186
188
198 inline long long GetAmazonSideAsn() const{ return m_amazonSideAsn; }
199 inline bool AmazonSideAsnHasBeenSet() const { return m_amazonSideAsnHasBeenSet; }
200 inline void SetAmazonSideAsn(long long value) { m_amazonSideAsnHasBeenSet = true; m_amazonSideAsn = value; }
201 inline ModifyTransitGatewayOptions& WithAmazonSideAsn(long long value) { SetAmazonSideAsn(value); return *this;}
203 private:
204
205 Aws::Vector<Aws::String> m_addTransitGatewayCidrBlocks;
206 bool m_addTransitGatewayCidrBlocksHasBeenSet = false;
207
208 Aws::Vector<Aws::String> m_removeTransitGatewayCidrBlocks;
209 bool m_removeTransitGatewayCidrBlocksHasBeenSet = false;
210
211 VpnEcmpSupportValue m_vpnEcmpSupport;
212 bool m_vpnEcmpSupportHasBeenSet = false;
213
214 DnsSupportValue m_dnsSupport;
215 bool m_dnsSupportHasBeenSet = false;
216
217 SecurityGroupReferencingSupportValue m_securityGroupReferencingSupport;
218 bool m_securityGroupReferencingSupportHasBeenSet = false;
219
220 AutoAcceptSharedAttachmentsValue m_autoAcceptSharedAttachments;
221 bool m_autoAcceptSharedAttachmentsHasBeenSet = false;
222
223 DefaultRouteTableAssociationValue m_defaultRouteTableAssociation;
224 bool m_defaultRouteTableAssociationHasBeenSet = false;
225
226 Aws::String m_associationDefaultRouteTableId;
227 bool m_associationDefaultRouteTableIdHasBeenSet = false;
228
229 DefaultRouteTablePropagationValue m_defaultRouteTablePropagation;
230 bool m_defaultRouteTablePropagationHasBeenSet = false;
231
232 Aws::String m_propagationDefaultRouteTableId;
233 bool m_propagationDefaultRouteTableIdHasBeenSet = false;
234
235 long long m_amazonSideAsn;
236 bool m_amazonSideAsnHasBeenSet = false;
237 };
238
239} // namespace Model
240} // namespace EC2
241} // namespace Aws
void SetAutoAcceptSharedAttachments(const AutoAcceptSharedAttachmentsValue &value)
ModifyTransitGatewayOptions & WithAssociationDefaultRouteTableId(const Aws::String &value)
void SetDefaultRouteTableAssociation(const DefaultRouteTableAssociationValue &value)
ModifyTransitGatewayOptions & WithAddTransitGatewayCidrBlocks(const Aws::Vector< Aws::String > &value)
ModifyTransitGatewayOptions & WithDnsSupport(const DnsSupportValue &value)
ModifyTransitGatewayOptions & WithPropagationDefaultRouteTableId(Aws::String &&value)
const DefaultRouteTablePropagationValue & GetDefaultRouteTablePropagation() const
const Aws::Vector< Aws::String > & GetAddTransitGatewayCidrBlocks() const
const SecurityGroupReferencingSupportValue & GetSecurityGroupReferencingSupport() const
ModifyTransitGatewayOptions & WithAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue &&value)
AWS_EC2_API ModifyTransitGatewayOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const DefaultRouteTableAssociationValue & GetDefaultRouteTableAssociation() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ModifyTransitGatewayOptions & AddAddTransitGatewayCidrBlocks(const char *value)
void SetVpnEcmpSupport(const VpnEcmpSupportValue &value)
void SetSecurityGroupReferencingSupport(SecurityGroupReferencingSupportValue &&value)
ModifyTransitGatewayOptions & WithPropagationDefaultRouteTableId(const Aws::String &value)
void SetAddTransitGatewayCidrBlocks(const Aws::Vector< Aws::String > &value)
AWS_EC2_API ModifyTransitGatewayOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
ModifyTransitGatewayOptions & WithPropagationDefaultRouteTableId(const char *value)
ModifyTransitGatewayOptions & WithRemoveTransitGatewayCidrBlocks(const Aws::Vector< Aws::String > &value)
void SetDefaultRouteTablePropagation(const DefaultRouteTablePropagationValue &value)
ModifyTransitGatewayOptions & WithDefaultRouteTablePropagation(DefaultRouteTablePropagationValue &&value)
const AutoAcceptSharedAttachmentsValue & GetAutoAcceptSharedAttachments() const
ModifyTransitGatewayOptions & WithSecurityGroupReferencingSupport(SecurityGroupReferencingSupportValue &&value)
void SetAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue &&value)
void SetRemoveTransitGatewayCidrBlocks(const Aws::Vector< Aws::String > &value)
void SetAddTransitGatewayCidrBlocks(Aws::Vector< Aws::String > &&value)
void SetAssociationDefaultRouteTableId(const Aws::String &value)
const VpnEcmpSupportValue & GetVpnEcmpSupport() const
ModifyTransitGatewayOptions & WithAutoAcceptSharedAttachments(const AutoAcceptSharedAttachmentsValue &value)
void SetPropagationDefaultRouteTableId(const Aws::String &value)
ModifyTransitGatewayOptions & WithAddTransitGatewayCidrBlocks(Aws::Vector< Aws::String > &&value)
ModifyTransitGatewayOptions & WithSecurityGroupReferencingSupport(const SecurityGroupReferencingSupportValue &value)
ModifyTransitGatewayOptions & WithAssociationDefaultRouteTableId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetRemoveTransitGatewayCidrBlocks() const
ModifyTransitGatewayOptions & WithAssociationDefaultRouteTableId(const char *value)
ModifyTransitGatewayOptions & WithVpnEcmpSupport(VpnEcmpSupportValue &&value)
ModifyTransitGatewayOptions & AddRemoveTransitGatewayCidrBlocks(Aws::String &&value)
ModifyTransitGatewayOptions & WithVpnEcmpSupport(const VpnEcmpSupportValue &value)
ModifyTransitGatewayOptions & AddAddTransitGatewayCidrBlocks(Aws::String &&value)
ModifyTransitGatewayOptions & AddRemoveTransitGatewayCidrBlocks(const Aws::String &value)
ModifyTransitGatewayOptions & AddAddTransitGatewayCidrBlocks(const Aws::String &value)
ModifyTransitGatewayOptions & WithAmazonSideAsn(long long value)
ModifyTransitGatewayOptions & WithDefaultRouteTablePropagation(const DefaultRouteTablePropagationValue &value)
void SetSecurityGroupReferencingSupport(const SecurityGroupReferencingSupportValue &value)
ModifyTransitGatewayOptions & WithDefaultRouteTableAssociation(const DefaultRouteTableAssociationValue &value)
void SetDefaultRouteTablePropagation(DefaultRouteTablePropagationValue &&value)
ModifyTransitGatewayOptions & AddRemoveTransitGatewayCidrBlocks(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetRemoveTransitGatewayCidrBlocks(Aws::Vector< Aws::String > &&value)
ModifyTransitGatewayOptions & WithRemoveTransitGatewayCidrBlocks(Aws::Vector< Aws::String > &&value)
ModifyTransitGatewayOptions & WithDefaultRouteTableAssociation(DefaultRouteTableAssociationValue &&value)
ModifyTransitGatewayOptions & WithDnsSupport(DnsSupportValue &&value)
void SetDefaultRouteTableAssociation(DefaultRouteTableAssociationValue &&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