7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/VpcEncryptionControlExclusion.h>
41 template<
typename InternetGatewayT = VpcEncryptionControlExclusion>
42 void SetInternetGateway(InternetGatewayT&& value) { m_internetGatewayHasBeenSet =
true; m_internetGateway = std::forward<InternetGatewayT>(value); }
43 template<
typename InternetGatewayT = VpcEncryptionControlExclusion>
51 template<
typename EgressOnlyInternetGatewayT = VpcEncryptionControlExclusion>
52 void SetEgressOnlyInternetGateway(EgressOnlyInternetGatewayT&& value) { m_egressOnlyInternetGatewayHasBeenSet =
true; m_egressOnlyInternetGateway = std::forward<EgressOnlyInternetGatewayT>(value); }
53 template<
typename EgressOnlyInternetGatewayT = VpcEncryptionControlExclusion>
61 template<
typename NatGatewayT = VpcEncryptionControlExclusion>
62 void SetNatGateway(NatGatewayT&& value) { m_natGatewayHasBeenSet =
true; m_natGateway = std::forward<NatGatewayT>(value); }
63 template<
typename NatGatewayT = VpcEncryptionControlExclusion>
71 template<
typename VirtualPrivateGatewayT = VpcEncryptionControlExclusion>
72 void SetVirtualPrivateGateway(VirtualPrivateGatewayT&& value) { m_virtualPrivateGatewayHasBeenSet =
true; m_virtualPrivateGateway = std::forward<VirtualPrivateGatewayT>(value); }
73 template<
typename VirtualPrivateGatewayT = VpcEncryptionControlExclusion>
81 template<
typename VpcPeeringT = VpcEncryptionControlExclusion>
82 void SetVpcPeering(VpcPeeringT&& value) { m_vpcPeeringHasBeenSet =
true; m_vpcPeering = std::forward<VpcPeeringT>(value); }
83 template<
typename VpcPeeringT = VpcEncryptionControlExclusion>
89 bool m_internetGatewayHasBeenSet =
false;
92 bool m_egressOnlyInternetGatewayHasBeenSet =
false;
95 bool m_natGatewayHasBeenSet =
false;
98 bool m_virtualPrivateGatewayHasBeenSet =
false;
101 bool m_vpcPeeringHasBeenSet =
false;
void SetEgressOnlyInternetGateway(EgressOnlyInternetGatewayT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const VpcEncryptionControlExclusion & GetVpcPeering() const
AWS_EC2_API VpcEncryptionControlExclusions(const Aws::Utils::Xml::XmlNode &xmlNode)
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
bool VirtualPrivateGatewayHasBeenSet() const
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)
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