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/Tenancy.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/VpcState.h>
13#include <aws/ec2/model/VpcIpv6CidrBlockAssociation.h>
14#include <aws/ec2/model/VpcCidrBlockAssociation.h>
15#include <aws/ec2/model/Tag.h>
56 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
108 inline void SetIsDefault(
bool value) { m_isDefaultHasBeenSet =
true; m_isDefault = value; }
122 inline Vpc&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
123 inline Vpc&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
134 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
147 inline void SetState(
VpcState&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
160 inline void SetCidrBlock(
const char* value) { m_cidrBlockHasBeenSet =
true; m_cidrBlock.assign(value); }
174 inline void SetDhcpOptionsId(
const char* value) { m_dhcpOptionsIdHasBeenSet =
true; m_dhcpOptionsId.assign(value); }
182 bool m_ownerIdHasBeenSet =
false;
185 bool m_instanceTenancyHasBeenSet =
false;
188 bool m_ipv6CidrBlockAssociationSetHasBeenSet =
false;
191 bool m_cidrBlockAssociationSetHasBeenSet =
false;
194 bool m_isDefaultHasBeenSet =
false;
197 bool m_tagsHasBeenSet =
false;
200 bool m_vpcIdHasBeenSet =
false;
203 bool m_stateHasBeenSet =
false;
206 bool m_cidrBlockHasBeenSet =
false;
209 bool m_dhcpOptionsIdHasBeenSet =
false;
Vpc & WithVpcId(const char *value)
const Aws::String & GetVpcId() const
Vpc & AddTags(Tag &&value)
Vpc & WithInstanceTenancy(Tenancy &&value)
bool TagsHasBeenSet() const
Vpc & WithCidrBlockAssociationSet(Aws::Vector< VpcCidrBlockAssociation > &&value)
void SetCidrBlockAssociationSet(Aws::Vector< VpcCidrBlockAssociation > &&value)
const Aws::String & GetCidrBlock() const
Vpc & WithOwnerId(Aws::String &&value)
Vpc & WithIsDefault(bool value)
bool IsDefaultHasBeenSet() const
Vpc & WithState(const VpcState &value)
Vpc & AddIpv6CidrBlockAssociationSet(VpcIpv6CidrBlockAssociation &&value)
void SetTags(Aws::Vector< Tag > &&value)
void SetOwnerId(const Aws::String &value)
Vpc & WithCidrBlock(Aws::String &&value)
Vpc & WithOwnerId(const char *value)
const Aws::Vector< VpcIpv6CidrBlockAssociation > & GetIpv6CidrBlockAssociationSet() const
bool OwnerIdHasBeenSet() const
void SetIsDefault(bool value)
bool CidrBlockAssociationSetHasBeenSet() const
Vpc & WithIpv6CidrBlockAssociationSet(const Aws::Vector< VpcIpv6CidrBlockAssociation > &value)
bool VpcIdHasBeenSet() const
const Aws::String & GetDhcpOptionsId() const
Vpc & WithOwnerId(const Aws::String &value)
Vpc & WithCidrBlock(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Vpc & AddIpv6CidrBlockAssociationSet(const VpcIpv6CidrBlockAssociation &value)
const Aws::Vector< VpcCidrBlockAssociation > & GetCidrBlockAssociationSet() const
Vpc & AddCidrBlockAssociationSet(VpcCidrBlockAssociation &&value)
void SetVpcId(Aws::String &&value)
void SetOwnerId(const char *value)
AWS_EC2_API Vpc & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API Vpc(const Aws::Utils::Xml::XmlNode &xmlNode)
Vpc & WithDhcpOptionsId(Aws::String &&value)
Vpc & WithState(VpcState &&value)
bool CidrBlockHasBeenSet() const
Vpc & WithDhcpOptionsId(const Aws::String &value)
Vpc & AddCidrBlockAssociationSet(const VpcCidrBlockAssociation &value)
const Tenancy & GetInstanceTenancy() const
void SetCidrBlock(const char *value)
Vpc & WithDhcpOptionsId(const char *value)
void SetIpv6CidrBlockAssociationSet(Aws::Vector< VpcIpv6CidrBlockAssociation > &&value)
void SetVpcId(const char *value)
Vpc & WithCidrBlock(const char *value)
Vpc & WithTags(Aws::Vector< Tag > &&value)
void SetDhcpOptionsId(const Aws::String &value)
void SetInstanceTenancy(Tenancy &&value)
Vpc & WithCidrBlockAssociationSet(const Aws::Vector< VpcCidrBlockAssociation > &value)
bool Ipv6CidrBlockAssociationSetHasBeenSet() const
bool StateHasBeenSet() const
void SetCidrBlockAssociationSet(const Aws::Vector< VpcCidrBlockAssociation > &value)
void SetDhcpOptionsId(const char *value)
const Aws::String & GetOwnerId() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool GetIsDefault() const
bool InstanceTenancyHasBeenSet() const
Vpc & WithTags(const Aws::Vector< Tag > &value)
void SetOwnerId(Aws::String &&value)
void SetVpcId(const Aws::String &value)
const VpcState & GetState() const
void SetInstanceTenancy(const Tenancy &value)
Vpc & WithVpcId(const Aws::String &value)
void SetIpv6CidrBlockAssociationSet(const Aws::Vector< VpcIpv6CidrBlockAssociation > &value)
void SetCidrBlock(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
void SetState(const VpcState &value)
void SetState(VpcState &&value)
void SetTags(const Aws::Vector< Tag > &value)
Vpc & AddTags(const Tag &value)
Vpc & WithIpv6CidrBlockAssociationSet(Aws::Vector< VpcIpv6CidrBlockAssociation > &&value)
void SetDhcpOptionsId(Aws::String &&value)
Vpc & WithInstanceTenancy(const Tenancy &value)
Vpc & WithVpcId(Aws::String &&value)
void SetCidrBlock(const Aws::String &value)
bool DhcpOptionsIdHasBeenSet() 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