AWS SDK for C++

AWS SDK for C++ Version 1.11.850

Loading...
Searching...
No Matches
AccountVpcEncryptionControlExclusions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9#include <aws/ec2/model/VpcEncryptionControlExclusionState.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2 {
20namespace Model {
21
33 public:
37
38 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
42
45 inline VpcEncryptionControlExclusionState GetInternetGateway() const { return m_internetGateway; }
46 inline bool InternetGatewayHasBeenSet() const { return m_internetGatewayHasBeenSet; }
48 m_internetGatewayHasBeenSet = true;
49 m_internetGateway = value;
50 }
52 SetInternetGateway(value);
53 return *this;
54 }
56
58
61 inline VpcEncryptionControlExclusionState GetEgressOnlyInternetGateway() const { return m_egressOnlyInternetGateway; }
62 inline bool EgressOnlyInternetGatewayHasBeenSet() const { return m_egressOnlyInternetGatewayHasBeenSet; }
64 m_egressOnlyInternetGatewayHasBeenSet = true;
65 m_egressOnlyInternetGateway = value;
66 }
69 return *this;
70 }
72
74
77 inline VpcEncryptionControlExclusionState GetNatGateway() const { return m_natGateway; }
78 inline bool NatGatewayHasBeenSet() const { return m_natGatewayHasBeenSet; }
80 m_natGatewayHasBeenSet = true;
81 m_natGateway = value;
82 }
84 SetNatGateway(value);
85 return *this;
86 }
88
90
93 inline VpcEncryptionControlExclusionState GetVirtualPrivateGateway() const { return m_virtualPrivateGateway; }
94 inline bool VirtualPrivateGatewayHasBeenSet() const { return m_virtualPrivateGatewayHasBeenSet; }
96 m_virtualPrivateGatewayHasBeenSet = true;
97 m_virtualPrivateGateway = value;
98 }
101 return *this;
102 }
104
106
109 inline VpcEncryptionControlExclusionState GetVpcPeering() const { return m_vpcPeering; }
110 inline bool VpcPeeringHasBeenSet() const { return m_vpcPeeringHasBeenSet; }
112 m_vpcPeeringHasBeenSet = true;
113 m_vpcPeering = value;
114 }
116 SetVpcPeering(value);
117 return *this;
118 }
120
122
125 inline VpcEncryptionControlExclusionState GetLambda() const { return m_lambda; }
126 inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; }
128 m_lambdaHasBeenSet = true;
129 m_lambda = value;
130 }
132 SetLambda(value);
133 return *this;
134 }
136
138
141 inline VpcEncryptionControlExclusionState GetVpcLattice() const { return m_vpcLattice; }
142 inline bool VpcLatticeHasBeenSet() const { return m_vpcLatticeHasBeenSet; }
144 m_vpcLatticeHasBeenSet = true;
145 m_vpcLattice = value;
146 }
148 SetVpcLattice(value);
149 return *this;
150 }
152
154
157 inline VpcEncryptionControlExclusionState GetElasticFileSystem() const { return m_elasticFileSystem; }
158 inline bool ElasticFileSystemHasBeenSet() const { return m_elasticFileSystemHasBeenSet; }
160 m_elasticFileSystemHasBeenSet = true;
161 m_elasticFileSystem = value;
162 }
165 return *this;
166 }
168 private:
170
172
174
176
178
180
182
184 bool m_internetGatewayHasBeenSet = false;
185 bool m_egressOnlyInternetGatewayHasBeenSet = false;
186 bool m_natGatewayHasBeenSet = false;
187 bool m_virtualPrivateGatewayHasBeenSet = false;
188 bool m_vpcPeeringHasBeenSet = false;
189 bool m_lambdaHasBeenSet = false;
190 bool m_vpcLatticeHasBeenSet = false;
191 bool m_elasticFileSystemHasBeenSet = false;
192};
193
194} // namespace Model
195} // namespace EC2
196} // namespace Aws
AccountVpcEncryptionControlExclusions & WithVpcLattice(VpcEncryptionControlExclusionState value)
void SetVirtualPrivateGateway(VpcEncryptionControlExclusionState value)
AccountVpcEncryptionControlExclusions & WithLambda(VpcEncryptionControlExclusionState value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AccountVpcEncryptionControlExclusions & WithInternetGateway(VpcEncryptionControlExclusionState value)
AccountVpcEncryptionControlExclusions & WithVpcPeering(VpcEncryptionControlExclusionState value)
AccountVpcEncryptionControlExclusions & WithVirtualPrivateGateway(VpcEncryptionControlExclusionState value)
AWS_EC2_API AccountVpcEncryptionControlExclusions(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API AccountVpcEncryptionControlExclusions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AccountVpcEncryptionControlExclusions & WithNatGateway(VpcEncryptionControlExclusionState value)
AccountVpcEncryptionControlExclusions & WithEgressOnlyInternetGateway(VpcEncryptionControlExclusionState value)
void SetEgressOnlyInternetGateway(VpcEncryptionControlExclusionState value)
AccountVpcEncryptionControlExclusions & WithElasticFileSystem(VpcEncryptionControlExclusionState value)
std::basic_ostream< char, std::char_traits< char > > OStream