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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/VpcPeeringConnectionOptionsDescription.h>
12#include <aws/ec2/model/Ipv6CidrBlock.h>
13#include <aws/ec2/model/CidrBlock.h>
54 inline void SetCidrBlock(
const char* value) { m_cidrBlockHasBeenSet =
true; m_cidrBlock.assign(value); }
96 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
123 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
137 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
145 bool m_cidrBlockHasBeenSet =
false;
148 bool m_ipv6CidrBlockSetHasBeenSet =
false;
151 bool m_cidrBlockSetHasBeenSet =
false;
154 bool m_ownerIdHasBeenSet =
false;
157 bool m_peeringOptionsHasBeenSet =
false;
160 bool m_vpcIdHasBeenSet =
false;
163 bool m_regionHasBeenSet =
false;
VpcPeeringConnectionVpcInfo & WithOwnerId(const Aws::String &value)
void SetRegion(Aws::String &&value)
bool CidrBlockSetHasBeenSet() const
VpcPeeringConnectionVpcInfo & AddIpv6CidrBlockSet(Ipv6CidrBlock &&value)
VpcPeeringConnectionVpcInfo & WithCidrBlock(Aws::String &&value)
void SetIpv6CidrBlockSet(Aws::Vector< Ipv6CidrBlock > &&value)
void SetCidrBlock(Aws::String &&value)
bool OwnerIdHasBeenSet() const
const Aws::String & GetRegion() const
VpcPeeringConnectionVpcInfo & WithPeeringOptions(const VpcPeeringConnectionOptionsDescription &value)
VpcPeeringConnectionVpcInfo & WithPeeringOptions(VpcPeeringConnectionOptionsDescription &&value)
VpcPeeringConnectionVpcInfo & WithCidrBlockSet(Aws::Vector< CidrBlock > &&value)
VpcPeeringConnectionVpcInfo & WithRegion(Aws::String &&value)
void SetPeeringOptions(const VpcPeeringConnectionOptionsDescription &value)
VpcPeeringConnectionVpcInfo & WithRegion(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const VpcPeeringConnectionOptionsDescription & GetPeeringOptions() const
VpcPeeringConnectionVpcInfo & WithCidrBlock(const Aws::String &value)
const Aws::String & GetVpcId() const
VpcPeeringConnectionVpcInfo & WithIpv6CidrBlockSet(Aws::Vector< Ipv6CidrBlock > &&value)
VpcPeeringConnectionVpcInfo & WithIpv6CidrBlockSet(const Aws::Vector< Ipv6CidrBlock > &value)
void SetOwnerId(const Aws::String &value)
const Aws::Vector< CidrBlock > & GetCidrBlockSet() const
void SetVpcId(Aws::String &&value)
VpcPeeringConnectionVpcInfo & AddCidrBlockSet(CidrBlock &&value)
const Aws::Vector< Ipv6CidrBlock > & GetIpv6CidrBlockSet() const
const Aws::String & GetOwnerId() const
void SetVpcId(const char *value)
bool CidrBlockHasBeenSet() const
void SetCidrBlockSet(Aws::Vector< CidrBlock > &&value)
void SetCidrBlockSet(const Aws::Vector< CidrBlock > &value)
VpcPeeringConnectionVpcInfo & WithRegion(const char *value)
bool RegionHasBeenSet() const
VpcPeeringConnectionVpcInfo & WithCidrBlock(const char *value)
void SetOwnerId(Aws::String &&value)
void SetPeeringOptions(VpcPeeringConnectionOptionsDescription &&value)
VpcPeeringConnectionVpcInfo & WithVpcId(const Aws::String &value)
AWS_EC2_API VpcPeeringConnectionVpcInfo()
void SetVpcId(const Aws::String &value)
void SetOwnerId(const char *value)
bool VpcIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
VpcPeeringConnectionVpcInfo & WithVpcId(Aws::String &&value)
AWS_EC2_API VpcPeeringConnectionVpcInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PeeringOptionsHasBeenSet() const
void SetRegion(const char *value)
VpcPeeringConnectionVpcInfo & WithOwnerId(const char *value)
VpcPeeringConnectionVpcInfo & AddIpv6CidrBlockSet(const Ipv6CidrBlock &value)
void SetCidrBlock(const char *value)
VpcPeeringConnectionVpcInfo & WithCidrBlockSet(const Aws::Vector< CidrBlock > &value)
bool Ipv6CidrBlockSetHasBeenSet() const
VpcPeeringConnectionVpcInfo & WithVpcId(const char *value)
void SetRegion(const Aws::String &value)
VpcPeeringConnectionVpcInfo & WithOwnerId(Aws::String &&value)
AWS_EC2_API VpcPeeringConnectionVpcInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCidrBlock(const Aws::String &value)
const Aws::String & GetCidrBlock() const
VpcPeeringConnectionVpcInfo & AddCidrBlockSet(const CidrBlock &value)
void SetIpv6CidrBlockSet(const Aws::Vector< Ipv6CidrBlock > &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