7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/ProvisionedBandwidth.h>
13#include <aws/ec2/model/NatGatewayState.h>
14#include <aws/ec2/model/ConnectivityType.h>
15#include <aws/ec2/model/NatGatewayAddress.h>
16#include <aws/ec2/model/Tag.h>
85 inline void SetFailureCode(
const char* value) { m_failureCodeHasBeenSet =
true; m_failureCode.assign(value); }
111 inline void SetFailureMessage(
const char* value) { m_failureMessageHasBeenSet =
true; m_failureMessage.assign(value); }
140 inline void SetNatGatewayId(
const char* value) { m_natGatewayIdHasBeenSet =
true; m_natGatewayId.assign(value); }
190 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
204 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
220 inline NatGateway&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
221 inline NatGateway&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
239 bool m_createTimeHasBeenSet =
false;
242 bool m_deleteTimeHasBeenSet =
false;
245 bool m_failureCodeHasBeenSet =
false;
248 bool m_failureMessageHasBeenSet =
false;
251 bool m_natGatewayAddressesHasBeenSet =
false;
254 bool m_natGatewayIdHasBeenSet =
false;
257 bool m_provisionedBandwidthHasBeenSet =
false;
260 bool m_stateHasBeenSet =
false;
263 bool m_subnetIdHasBeenSet =
false;
266 bool m_vpcIdHasBeenSet =
false;
269 bool m_tagsHasBeenSet =
false;
272 bool m_connectivityTypeHasBeenSet =
false;
void SetCreateTime(const Aws::Utils::DateTime &value)
void SetSubnetId(const Aws::String &value)
bool FailureMessageHasBeenSet() const
const ProvisionedBandwidth & GetProvisionedBandwidth() const
NatGateway & WithConnectivityType(const ConnectivityType &value)
NatGateway & WithProvisionedBandwidth(ProvisionedBandwidth &&value)
NatGateway & AddNatGatewayAddresses(const NatGatewayAddress &value)
NatGateway & WithSubnetId(const Aws::String &value)
bool ProvisionedBandwidthHasBeenSet() const
NatGateway & WithVpcId(const Aws::String &value)
void SetDeleteTime(Aws::Utils::DateTime &&value)
const Aws::Vector< NatGatewayAddress > & GetNatGatewayAddresses() const
NatGateway & WithNatGatewayId(const char *value)
const Aws::String & GetNatGatewayId() const
bool DeleteTimeHasBeenSet() const
void SetNatGatewayId(Aws::String &&value)
NatGateway & WithVpcId(Aws::String &&value)
const ConnectivityType & GetConnectivityType() const
const Aws::String & GetFailureCode() const
NatGateway & WithTags(const Aws::Vector< Tag > &value)
NatGateway & WithCreateTime(Aws::Utils::DateTime &&value)
NatGateway & WithDeleteTime(const Aws::Utils::DateTime &value)
NatGateway & WithNatGatewayId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreateTime() const
NatGateway & WithTags(Aws::Vector< Tag > &&value)
void SetState(const NatGatewayState &value)
NatGateway & AddTags(Tag &&value)
void SetFailureCode(const Aws::String &value)
NatGateway & WithFailureMessage(Aws::String &&value)
void SetConnectivityType(const ConnectivityType &value)
NatGateway & AddTags(const Tag &value)
AWS_EC2_API NatGateway(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNatGatewayAddresses(const Aws::Vector< NatGatewayAddress > &value)
bool VpcIdHasBeenSet() const
NatGateway & WithSubnetId(const char *value)
NatGateway & WithFailureMessage(const Aws::String &value)
void SetConnectivityType(ConnectivityType &&value)
void SetProvisionedBandwidth(ProvisionedBandwidth &&value)
bool ConnectivityTypeHasBeenSet() const
bool SubnetIdHasBeenSet() const
NatGateway & WithCreateTime(const Aws::Utils::DateTime &value)
void SetFailureCode(const char *value)
NatGateway & WithNatGatewayAddresses(const Aws::Vector< NatGatewayAddress > &value)
bool StateHasBeenSet() const
NatGateway & WithConnectivityType(ConnectivityType &&value)
NatGateway & WithNatGatewayAddresses(Aws::Vector< NatGatewayAddress > &&value)
void SetState(NatGatewayState &&value)
NatGateway & WithFailureMessage(const char *value)
const Aws::Utils::DateTime & GetDeleteTime() const
void SetFailureMessage(Aws::String &&value)
void SetFailureMessage(const Aws::String &value)
void SetDeleteTime(const Aws::Utils::DateTime &value)
void SetCreateTime(Aws::Utils::DateTime &&value)
NatGateway & WithFailureCode(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
bool NatGatewayIdHasBeenSet() const
void SetSubnetId(Aws::String &&value)
NatGateway & AddNatGatewayAddresses(NatGatewayAddress &&value)
void SetVpcId(const Aws::String &value)
void SetVpcId(Aws::String &&value)
bool FailureCodeHasBeenSet() const
void SetFailureMessage(const char *value)
void SetProvisionedBandwidth(const ProvisionedBandwidth &value)
NatGateway & WithVpcId(const char *value)
void SetNatGatewayId(const char *value)
void SetSubnetId(const char *value)
const Aws::Vector< Tag > & GetTags() const
void SetFailureCode(Aws::String &&value)
NatGateway & WithState(const NatGatewayState &value)
NatGateway & WithFailureCode(const char *value)
NatGateway & WithNatGatewayId(Aws::String &&value)
NatGateway & WithFailureCode(Aws::String &&value)
AWS_EC2_API NatGateway & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetVpcId(const char *value)
bool CreateTimeHasBeenSet() const
NatGateway & WithSubnetId(Aws::String &&value)
NatGateway & WithState(NatGatewayState &&value)
const Aws::String & GetVpcId() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetNatGatewayAddresses(Aws::Vector< NatGatewayAddress > &&value)
NatGateway & WithProvisionedBandwidth(const ProvisionedBandwidth &value)
NatGateway & WithDeleteTime(Aws::Utils::DateTime &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool TagsHasBeenSet() const
const NatGatewayState & GetState() const
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetSubnetId() const
void SetNatGatewayId(const Aws::String &value)
bool NatGatewayAddressesHasBeenSet() const
const Aws::String & GetFailureMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream