AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransitGatewayVpcAttachmentOptions.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/DnsSupportValue.h>
10#include <aws/ec2/model/SecurityGroupReferencingSupportValue.h>
11#include <aws/ec2/model/Ipv6SupportValue.h>
12#include <aws/ec2/model/ApplianceModeSupportValue.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
28
35 {
36 public:
40
41 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const DnsSupportValue& GetDnsSupport() const{ return m_dnsSupport; }
50 inline bool DnsSupportHasBeenSet() const { return m_dnsSupportHasBeenSet; }
51 inline void SetDnsSupport(const DnsSupportValue& value) { m_dnsSupportHasBeenSet = true; m_dnsSupport = value; }
52 inline void SetDnsSupport(DnsSupportValue&& value) { m_dnsSupportHasBeenSet = true; m_dnsSupport = std::move(value); }
54 inline TransitGatewayVpcAttachmentOptions& WithDnsSupport(DnsSupportValue&& value) { SetDnsSupport(std::move(value)); return *this;}
56
58
66 inline const SecurityGroupReferencingSupportValue& GetSecurityGroupReferencingSupport() const{ return m_securityGroupReferencingSupport; }
67 inline bool SecurityGroupReferencingSupportHasBeenSet() const { return m_securityGroupReferencingSupportHasBeenSet; }
68 inline void SetSecurityGroupReferencingSupport(const SecurityGroupReferencingSupportValue& value) { m_securityGroupReferencingSupportHasBeenSet = true; m_securityGroupReferencingSupport = value; }
69 inline void SetSecurityGroupReferencingSupport(SecurityGroupReferencingSupportValue&& value) { m_securityGroupReferencingSupportHasBeenSet = true; m_securityGroupReferencingSupport = std::move(value); }
73
75
78 inline const Ipv6SupportValue& GetIpv6Support() const{ return m_ipv6Support; }
79 inline bool Ipv6SupportHasBeenSet() const { return m_ipv6SupportHasBeenSet; }
80 inline void SetIpv6Support(const Ipv6SupportValue& value) { m_ipv6SupportHasBeenSet = true; m_ipv6Support = value; }
81 inline void SetIpv6Support(Ipv6SupportValue&& value) { m_ipv6SupportHasBeenSet = true; m_ipv6Support = std::move(value); }
83 inline TransitGatewayVpcAttachmentOptions& WithIpv6Support(Ipv6SupportValue&& value) { SetIpv6Support(std::move(value)); return *this;}
85
87
90 inline const ApplianceModeSupportValue& GetApplianceModeSupport() const{ return m_applianceModeSupport; }
91 inline bool ApplianceModeSupportHasBeenSet() const { return m_applianceModeSupportHasBeenSet; }
92 inline void SetApplianceModeSupport(const ApplianceModeSupportValue& value) { m_applianceModeSupportHasBeenSet = true; m_applianceModeSupport = value; }
93 inline void SetApplianceModeSupport(ApplianceModeSupportValue&& value) { m_applianceModeSupportHasBeenSet = true; m_applianceModeSupport = std::move(value); }
97 private:
98
99 DnsSupportValue m_dnsSupport;
100 bool m_dnsSupportHasBeenSet = false;
101
102 SecurityGroupReferencingSupportValue m_securityGroupReferencingSupport;
103 bool m_securityGroupReferencingSupportHasBeenSet = false;
104
105 Ipv6SupportValue m_ipv6Support;
106 bool m_ipv6SupportHasBeenSet = false;
107
108 ApplianceModeSupportValue m_applianceModeSupport;
109 bool m_applianceModeSupportHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace EC2
114} // namespace Aws
TransitGatewayVpcAttachmentOptions & WithDnsSupport(const DnsSupportValue &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TransitGatewayVpcAttachmentOptions & WithIpv6Support(Ipv6SupportValue &&value)
TransitGatewayVpcAttachmentOptions & WithApplianceModeSupport(ApplianceModeSupportValue &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TransitGatewayVpcAttachmentOptions & WithSecurityGroupReferencingSupport(SecurityGroupReferencingSupportValue &&value)
AWS_EC2_API TransitGatewayVpcAttachmentOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API TransitGatewayVpcAttachmentOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayVpcAttachmentOptions & WithIpv6Support(const Ipv6SupportValue &value)
void SetSecurityGroupReferencingSupport(SecurityGroupReferencingSupportValue &&value)
TransitGatewayVpcAttachmentOptions & WithApplianceModeSupport(const ApplianceModeSupportValue &value)
TransitGatewayVpcAttachmentOptions & WithDnsSupport(DnsSupportValue &&value)
const SecurityGroupReferencingSupportValue & GetSecurityGroupReferencingSupport() const
void SetApplianceModeSupport(const ApplianceModeSupportValue &value)
void SetSecurityGroupReferencingSupport(const SecurityGroupReferencingSupportValue &value)
TransitGatewayVpcAttachmentOptions & WithSecurityGroupReferencingSupport(const SecurityGroupReferencingSupportValue &value)
std::basic_ostream< char, std::char_traits< char > > OStream