AWS SDK for C++  1.9.71
AWS SDK for C++
ModifyTransitGatewayVpcAttachmentRequestOptions.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace EC2
24 {
25 namespace Model
26 {
27 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const DnsSupportValue& GetDnsSupport() const{ return m_dnsSupport; }
48 
52  inline bool DnsSupportHasBeenSet() const { return m_dnsSupportHasBeenSet; }
53 
57  inline void SetDnsSupport(const DnsSupportValue& value) { m_dnsSupportHasBeenSet = true; m_dnsSupport = value; }
58 
62  inline void SetDnsSupport(DnsSupportValue&& value) { m_dnsSupportHasBeenSet = true; m_dnsSupport = std::move(value); }
63 
67  inline ModifyTransitGatewayVpcAttachmentRequestOptions& WithDnsSupport(const DnsSupportValue& value) { SetDnsSupport(value); return *this;}
68 
72  inline ModifyTransitGatewayVpcAttachmentRequestOptions& WithDnsSupport(DnsSupportValue&& value) { SetDnsSupport(std::move(value)); return *this;}
73 
74 
78  inline const Ipv6SupportValue& GetIpv6Support() const{ return m_ipv6Support; }
79 
83  inline bool Ipv6SupportHasBeenSet() const { return m_ipv6SupportHasBeenSet; }
84 
88  inline void SetIpv6Support(const Ipv6SupportValue& value) { m_ipv6SupportHasBeenSet = true; m_ipv6Support = value; }
89 
93  inline void SetIpv6Support(Ipv6SupportValue&& value) { m_ipv6SupportHasBeenSet = true; m_ipv6Support = std::move(value); }
94 
98  inline ModifyTransitGatewayVpcAttachmentRequestOptions& WithIpv6Support(const Ipv6SupportValue& value) { SetIpv6Support(value); return *this;}
99 
103  inline ModifyTransitGatewayVpcAttachmentRequestOptions& WithIpv6Support(Ipv6SupportValue&& value) { SetIpv6Support(std::move(value)); return *this;}
104 
105 
112  inline const ApplianceModeSupportValue& GetApplianceModeSupport() const{ return m_applianceModeSupport; }
113 
120  inline bool ApplianceModeSupportHasBeenSet() const { return m_applianceModeSupportHasBeenSet; }
121 
128  inline void SetApplianceModeSupport(const ApplianceModeSupportValue& value) { m_applianceModeSupportHasBeenSet = true; m_applianceModeSupport = value; }
129 
136  inline void SetApplianceModeSupport(ApplianceModeSupportValue&& value) { m_applianceModeSupportHasBeenSet = true; m_applianceModeSupport = std::move(value); }
137 
144  inline ModifyTransitGatewayVpcAttachmentRequestOptions& WithApplianceModeSupport(const ApplianceModeSupportValue& value) { SetApplianceModeSupport(value); return *this;}
145 
152  inline ModifyTransitGatewayVpcAttachmentRequestOptions& WithApplianceModeSupport(ApplianceModeSupportValue&& value) { SetApplianceModeSupport(std::move(value)); return *this;}
153 
154  private:
155 
156  DnsSupportValue m_dnsSupport;
157  bool m_dnsSupportHasBeenSet;
158 
159  Ipv6SupportValue m_ipv6Support;
160  bool m_ipv6SupportHasBeenSet;
161 
162  ApplianceModeSupportValue m_applianceModeSupport;
163  bool m_applianceModeSupportHasBeenSet;
164  };
165 
166 } // namespace Model
167 } // namespace EC2
168 } // namespace Aws
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::Ipv6SupportHasBeenSet
bool Ipv6SupportHasBeenSet() const
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:83
Ipv6SupportValue.h
ApplianceModeSupportValue.h
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::WithDnsSupport
ModifyTransitGatewayVpcAttachmentRequestOptions & WithDnsSupport(DnsSupportValue &&value)
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:72
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:34
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::SetDnsSupport
void SetDnsSupport(DnsSupportValue &&value)
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:62
AWSStreamFwd.h
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::GetApplianceModeSupport
const ApplianceModeSupportValue & GetApplianceModeSupport() const
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:112
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::WithApplianceModeSupport
ModifyTransitGatewayVpcAttachmentRequestOptions & WithApplianceModeSupport(ApplianceModeSupportValue &&value)
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:152
Aws::EC2::Model::ApplianceModeSupportValue
ApplianceModeSupportValue
Definition: ApplianceModeSupportValue.h:17
Aws::EC2::Model::Ipv6SupportValue
Ipv6SupportValue
Definition: Ipv6SupportValue.h:17
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::WithApplianceModeSupport
ModifyTransitGatewayVpcAttachmentRequestOptions & WithApplianceModeSupport(const ApplianceModeSupportValue &value)
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:144
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::GetIpv6Support
const Ipv6SupportValue & GetIpv6Support() const
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:78
Aws::EC2::Model::DnsSupportValue
DnsSupportValue
Definition: DnsSupportValue.h:17
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::DnsSupportHasBeenSet
bool DnsSupportHasBeenSet() const
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:52
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::ApplianceModeSupportHasBeenSet
bool ApplianceModeSupportHasBeenSet() const
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:120
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::ModifyTransitGatewayVpcAttachmentRequestOptions
ModifyTransitGatewayVpcAttachmentRequestOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::SetApplianceModeSupport
void SetApplianceModeSupport(const ApplianceModeSupportValue &value)
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:128
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::SetDnsSupport
void SetDnsSupport(const DnsSupportValue &value)
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:57
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::operator=
ModifyTransitGatewayVpcAttachmentRequestOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DnsSupportValue.h
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::WithIpv6Support
ModifyTransitGatewayVpcAttachmentRequestOptions & WithIpv6Support(Ipv6SupportValue &&value)
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:103
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::WithIpv6Support
ModifyTransitGatewayVpcAttachmentRequestOptions & WithIpv6Support(const Ipv6SupportValue &value)
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:98
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::SetApplianceModeSupport
void SetApplianceModeSupport(ApplianceModeSupportValue &&value)
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:136
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::SetIpv6Support
void SetIpv6Support(Ipv6SupportValue &&value)
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:93
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::SetIpv6Support
void SetIpv6Support(const Ipv6SupportValue &value)
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:88
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::GetDnsSupport
const DnsSupportValue & GetDnsSupport() const
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:47
EC2_EXPORTS.h
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::ModifyTransitGatewayVpcAttachmentRequestOptions
ModifyTransitGatewayVpcAttachmentRequestOptions()
Aws::EC2::Model::ModifyTransitGatewayVpcAttachmentRequestOptions::WithDnsSupport
ModifyTransitGatewayVpcAttachmentRequestOptions & WithDnsSupport(const DnsSupportValue &value)
Definition: ModifyTransitGatewayVpcAttachmentRequestOptions.h:67