7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9#include <aws/ec2/model/VpcEncryptionControlExclusion.h>
46 template <
typename InternetGatewayT = VpcEncryptionControlExclusion>
48 m_internetGatewayHasBeenSet =
true;
49 m_internetGateway = std::forward<InternetGatewayT>(value);
51 template <
typename InternetGatewayT = VpcEncryptionControlExclusion>
64 template <
typename EgressOnlyInternetGatewayT = VpcEncryptionControlExclusion>
66 m_egressOnlyInternetGatewayHasBeenSet =
true;
67 m_egressOnlyInternetGateway = std::forward<EgressOnlyInternetGatewayT>(value);
69 template <
typename EgressOnlyInternetGatewayT = VpcEncryptionControlExclusion>
82 template <
typename NatGatewayT = VpcEncryptionControlExclusion>
84 m_natGatewayHasBeenSet =
true;
85 m_natGateway = std::forward<NatGatewayT>(value);
87 template <
typename NatGatewayT = VpcEncryptionControlExclusion>
100 template <
typename VirtualPrivateGatewayT = VpcEncryptionControlExclusion>
102 m_virtualPrivateGatewayHasBeenSet =
true;
103 m_virtualPrivateGateway = std::forward<VirtualPrivateGatewayT>(value);
105 template <
typename VirtualPrivateGatewayT = VpcEncryptionControlExclusion>
118 template <
typename VpcPeeringT = VpcEncryptionControlExclusion>
120 m_vpcPeeringHasBeenSet =
true;
121 m_vpcPeering = std::forward<VpcPeeringT>(value);
123 template <
typename VpcPeeringT = VpcEncryptionControlExclusion>
136 template <
typename LambdaT = VpcEncryptionControlExclusion>
138 m_lambdaHasBeenSet =
true;
139 m_lambda = std::forward<LambdaT>(value);
141 template <
typename LambdaT = VpcEncryptionControlExclusion>
154 template <
typename VpcLatticeT = VpcEncryptionControlExclusion>
156 m_vpcLatticeHasBeenSet =
true;
157 m_vpcLattice = std::forward<VpcLatticeT>(value);
159 template <
typename VpcLatticeT = VpcEncryptionControlExclusion>
172 template <
typename ElasticFileSystemT = VpcEncryptionControlExclusion>
174 m_elasticFileSystemHasBeenSet =
true;
175 m_elasticFileSystem = std::forward<ElasticFileSystemT>(value);
177 template <
typename ElasticFileSystemT = VpcEncryptionControlExclusion>
199 bool m_internetGatewayHasBeenSet =
false;
200 bool m_egressOnlyInternetGatewayHasBeenSet =
false;
201 bool m_natGatewayHasBeenSet =
false;
202 bool m_virtualPrivateGatewayHasBeenSet =
false;
203 bool m_vpcPeeringHasBeenSet =
false;
204 bool m_lambdaHasBeenSet =
false;
205 bool m_vpcLatticeHasBeenSet =
false;
206 bool m_elasticFileSystemHasBeenSet =
false;
const VpcEncryptionControlExclusion & GetElasticFileSystem() const
void SetEgressOnlyInternetGateway(EgressOnlyInternetGatewayT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VpcEncryptionControlExclusions & WithVpcLattice(VpcLatticeT &&value)
const VpcEncryptionControlExclusion & GetVpcPeering() const
const VpcEncryptionControlExclusion & GetVpcLattice() const
AWS_EC2_API VpcEncryptionControlExclusions(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ElasticFileSystemHasBeenSet() const
void SetVpcPeering(VpcPeeringT &&value)
VpcEncryptionControlExclusions & WithNatGateway(NatGatewayT &&value)
void SetVirtualPrivateGateway(VirtualPrivateGatewayT &&value)
void SetNatGateway(NatGatewayT &&value)
bool VpcPeeringHasBeenSet() const
const VpcEncryptionControlExclusion & GetInternetGateway() const
void SetInternetGateway(InternetGatewayT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetLambda(LambdaT &&value)
VpcEncryptionControlExclusions & WithElasticFileSystem(ElasticFileSystemT &&value)
bool VpcLatticeHasBeenSet() const
void SetVpcLattice(VpcLatticeT &&value)
VpcEncryptionControlExclusions & WithLambda(LambdaT &&value)
bool VirtualPrivateGatewayHasBeenSet() const
void SetElasticFileSystem(ElasticFileSystemT &&value)
const VpcEncryptionControlExclusion & GetNatGateway() const
bool NatGatewayHasBeenSet() const
VpcEncryptionControlExclusions & WithVirtualPrivateGateway(VirtualPrivateGatewayT &&value)
const VpcEncryptionControlExclusion & GetEgressOnlyInternetGateway() const
AWS_EC2_API VpcEncryptionControlExclusions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool LambdaHasBeenSet() const
const VpcEncryptionControlExclusion & GetLambda() const
const VpcEncryptionControlExclusion & GetVirtualPrivateGateway() const
VpcEncryptionControlExclusions & WithEgressOnlyInternetGateway(EgressOnlyInternetGatewayT &&value)
bool EgressOnlyInternetGatewayHasBeenSet() const
bool InternetGatewayHasBeenSet() const
AWS_EC2_API VpcEncryptionControlExclusions()=default
VpcEncryptionControlExclusions & WithInternetGateway(InternetGatewayT &&value)
VpcEncryptionControlExclusions & WithVpcPeering(VpcPeeringT &&value)
std::basic_ostream< char, std::char_traits< char > > OStream