7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/CarrierGatewayState.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/Tag.h>
53 inline void SetCarrierGatewayId(
const char* value) { m_carrierGatewayIdHasBeenSet =
true; m_carrierGatewayId.assign(value); }
67 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
93 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
115 bool m_carrierGatewayIdHasBeenSet =
false;
118 bool m_vpcIdHasBeenSet =
false;
121 bool m_stateHasBeenSet =
false;
124 bool m_ownerIdHasBeenSet =
false;
127 bool m_tagsHasBeenSet =
false;
AWS_EC2_API CarrierGateway(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API CarrierGateway & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CarrierGateway & WithCarrierGatewayId(const Aws::String &value)
void SetCarrierGatewayId(const char *value)
CarrierGateway & WithVpcId(const char *value)
CarrierGateway & WithTags(const Aws::Vector< Tag > &value)
CarrierGateway & WithVpcId(const Aws::String &value)
AWS_EC2_API CarrierGateway()
void SetVpcId(Aws::String &&value)
CarrierGateway & WithOwnerId(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
CarrierGateway & AddTags(Tag &&value)
void SetCarrierGatewayId(Aws::String &&value)
CarrierGateway & WithTags(Aws::Vector< Tag > &&value)
bool OwnerIdHasBeenSet() const
const Aws::String & GetVpcId() const
void SetOwnerId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetOwnerId(Aws::String &&value)
void SetCarrierGatewayId(const Aws::String &value)
CarrierGateway & WithOwnerId(const char *value)
const Aws::String & GetOwnerId() const
void SetTags(const Aws::Vector< Tag > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CarrierGateway & WithVpcId(Aws::String &&value)
CarrierGateway & WithState(const CarrierGatewayState &value)
bool StateHasBeenSet() const
CarrierGateway & AddTags(const Tag &value)
bool VpcIdHasBeenSet() const
void SetOwnerId(const Aws::String &value)
bool CarrierGatewayIdHasBeenSet() const
void SetState(const CarrierGatewayState &value)
void SetVpcId(const char *value)
bool TagsHasBeenSet() const
CarrierGateway & WithState(CarrierGatewayState &&value)
const Aws::String & GetCarrierGatewayId() const
void SetTags(Aws::Vector< Tag > &&value)
CarrierGateway & WithCarrierGatewayId(Aws::String &&value)
CarrierGateway & WithCarrierGatewayId(const char *value)
void SetVpcId(const Aws::String &value)
void SetState(CarrierGatewayState &&value)
const CarrierGatewayState & GetState() const
CarrierGateway & WithOwnerId(Aws::String &&value)
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