7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/VpcPeeringConnectionVpcInfo.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ec2/model/VpcPeeringConnectionStateReason.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/ec2/model/Tag.h>
119 inline void SetVpcPeeringConnectionId(
const char* value) { m_vpcPeeringConnectionIdHasBeenSet =
true; m_vpcPeeringConnectionId.assign(value); }
127 bool m_accepterVpcInfoHasBeenSet =
false;
130 bool m_expirationTimeHasBeenSet =
false;
133 bool m_requesterVpcInfoHasBeenSet =
false;
136 bool m_statusHasBeenSet =
false;
139 bool m_tagsHasBeenSet =
false;
142 bool m_vpcPeeringConnectionIdHasBeenSet =
false;
VpcPeeringConnection & WithRequesterVpcInfo(VpcPeeringConnectionVpcInfo &&value)
void SetVpcPeeringConnectionId(const char *value)
void SetAccepterVpcInfo(const VpcPeeringConnectionVpcInfo &value)
bool StatusHasBeenSet() const
void SetRequesterVpcInfo(VpcPeeringConnectionVpcInfo &&value)
AWS_EC2_API VpcPeeringConnection(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetRequesterVpcInfo(const VpcPeeringConnectionVpcInfo &value)
VpcPeeringConnection & WithTags(Aws::Vector< Tag > &&value)
void SetTags(Aws::Vector< Tag > &&value)
VpcPeeringConnection & WithAccepterVpcInfo(const VpcPeeringConnectionVpcInfo &value)
VpcPeeringConnection & AddTags(const Tag &value)
VpcPeeringConnection & WithStatus(VpcPeeringConnectionStateReason &&value)
AWS_EC2_API VpcPeeringConnection & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VpcPeeringConnection & WithTags(const Aws::Vector< Tag > &value)
bool ExpirationTimeHasBeenSet() const
VpcPeeringConnection & WithStatus(const VpcPeeringConnectionStateReason &value)
VpcPeeringConnection & WithVpcPeeringConnectionId(const Aws::String &value)
bool RequesterVpcInfoHasBeenSet() const
AWS_EC2_API VpcPeeringConnection()
const VpcPeeringConnectionStateReason & GetStatus() const
void SetExpirationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetVpcPeeringConnectionId() const
void SetAccepterVpcInfo(VpcPeeringConnectionVpcInfo &&value)
VpcPeeringConnection & WithVpcPeeringConnectionId(Aws::String &&value)
void SetExpirationTime(Aws::Utils::DateTime &&value)
bool TagsHasBeenSet() const
const Aws::Utils::DateTime & GetExpirationTime() const
bool VpcPeeringConnectionIdHasBeenSet() const
const VpcPeeringConnectionVpcInfo & GetAccepterVpcInfo() const
VpcPeeringConnection & WithVpcPeeringConnectionId(const char *value)
const Aws::Vector< Tag > & GetTags() const
const VpcPeeringConnectionVpcInfo & GetRequesterVpcInfo() const
VpcPeeringConnection & WithExpirationTime(Aws::Utils::DateTime &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetVpcPeeringConnectionId(const Aws::String &value)
bool AccepterVpcInfoHasBeenSet() const
void SetVpcPeeringConnectionId(Aws::String &&value)
VpcPeeringConnection & WithExpirationTime(const Aws::Utils::DateTime &value)
void SetStatus(VpcPeeringConnectionStateReason &&value)
void SetStatus(const VpcPeeringConnectionStateReason &value)
void SetTags(const Aws::Vector< Tag > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
VpcPeeringConnection & AddTags(Tag &&value)
VpcPeeringConnection & WithRequesterVpcInfo(const VpcPeeringConnectionVpcInfo &value)
VpcPeeringConnection & WithAccepterVpcInfo(VpcPeeringConnectionVpcInfo &&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