AWS SDK for C++  1.9.124
AWS SDK for C++
CreateTransitGatewayVpcAttachmentRequestOptions.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 CreateTransitGatewayVpcAttachmentRequestOptions& WithDnsSupport(const DnsSupportValue& value) { SetDnsSupport(value); return *this;}
68 
72  inline CreateTransitGatewayVpcAttachmentRequestOptions& 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 CreateTransitGatewayVpcAttachmentRequestOptions& WithIpv6Support(const Ipv6SupportValue& value) { SetIpv6Support(value); return *this;}
99 
103  inline CreateTransitGatewayVpcAttachmentRequestOptions& 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 CreateTransitGatewayVpcAttachmentRequestOptions& WithApplianceModeSupport(const ApplianceModeSupportValue& value) { SetApplianceModeSupport(value); return *this;}
145 
152  inline CreateTransitGatewayVpcAttachmentRequestOptions& 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::CreateTransitGatewayVpcAttachmentRequestOptions::SetDnsSupport
void SetDnsSupport(DnsSupportValue &&value)
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:62
Ipv6SupportValue.h
ApplianceModeSupportValue.h
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::CreateTransitGatewayVpcAttachmentRequestOptions
CreateTransitGatewayVpcAttachmentRequestOptions()
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::WithIpv6Support
CreateTransitGatewayVpcAttachmentRequestOptions & WithIpv6Support(Ipv6SupportValue &&value)
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:103
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::WithDnsSupport
CreateTransitGatewayVpcAttachmentRequestOptions & WithDnsSupport(const DnsSupportValue &value)
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:67
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::WithApplianceModeSupport
CreateTransitGatewayVpcAttachmentRequestOptions & WithApplianceModeSupport(ApplianceModeSupportValue &&value)
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:152
AWSStreamFwd.h
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::SetIpv6Support
void SetIpv6Support(Ipv6SupportValue &&value)
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:93
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::SetIpv6Support
void SetIpv6Support(const Ipv6SupportValue &value)
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:88
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::CreateTransitGatewayVpcAttachmentRequestOptions
CreateTransitGatewayVpcAttachmentRequestOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::operator=
CreateTransitGatewayVpcAttachmentRequestOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::SetApplianceModeSupport
void SetApplianceModeSupport(ApplianceModeSupportValue &&value)
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:136
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::CreateTransitGatewayVpcAttachmentRequestOptions::SetDnsSupport
void SetDnsSupport(const DnsSupportValue &value)
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:57
Aws::EC2::Model::DnsSupportValue
DnsSupportValue
Definition: DnsSupportValue.h:17
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::GetApplianceModeSupport
const ApplianceModeSupportValue & GetApplianceModeSupport() const
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:112
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::WithDnsSupport
CreateTransitGatewayVpcAttachmentRequestOptions & WithDnsSupport(DnsSupportValue &&value)
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:72
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::WithIpv6Support
CreateTransitGatewayVpcAttachmentRequestOptions & WithIpv6Support(const Ipv6SupportValue &value)
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:98
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::GetDnsSupport
const DnsSupportValue & GetDnsSupport() const
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:47
DnsSupportValue.h
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::WithApplianceModeSupport
CreateTransitGatewayVpcAttachmentRequestOptions & WithApplianceModeSupport(const ApplianceModeSupportValue &value)
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:144
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::ApplianceModeSupportHasBeenSet
bool ApplianceModeSupportHasBeenSet() const
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:120
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::DnsSupportHasBeenSet
bool DnsSupportHasBeenSet() const
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:52
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::GetIpv6Support
const Ipv6SupportValue & GetIpv6Support() const
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:78
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::Ipv6SupportHasBeenSet
bool Ipv6SupportHasBeenSet() const
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:83
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::SetApplianceModeSupport
void SetApplianceModeSupport(const ApplianceModeSupportValue &value)
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:128
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions
Definition: CreateTransitGatewayVpcAttachmentRequestOptions.h:34
EC2_EXPORTS.h
Aws::EC2::Model::CreateTransitGatewayVpcAttachmentRequestOptions::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const