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/SecurityGroupVpcAssociationState.h>
53 inline void SetGroupId(
const char* value) { m_groupIdHasBeenSet =
true; m_groupId.assign(value); }
67 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
81 inline void SetVpcOwnerId(
const char* value) { m_vpcOwnerIdHasBeenSet =
true; m_vpcOwnerId.assign(value); }
107 inline void SetStateReason(
const char* value) { m_stateReasonHasBeenSet =
true; m_stateReason.assign(value); }
115 bool m_groupIdHasBeenSet =
false;
118 bool m_vpcIdHasBeenSet =
false;
121 bool m_vpcOwnerIdHasBeenSet =
false;
124 bool m_stateHasBeenSet =
false;
127 bool m_stateReasonHasBeenSet =
false;
const Aws::String & GetVpcId() const
SecurityGroupVpcAssociation & WithStateReason(const char *value)
void SetVpcId(Aws::String &&value)
void SetState(const SecurityGroupVpcAssociationState &value)
const Aws::String & GetGroupId() const
SecurityGroupVpcAssociation & WithVpcId(const Aws::String &value)
void SetStateReason(Aws::String &&value)
void SetState(SecurityGroupVpcAssociationState &&value)
void SetVpcOwnerId(const char *value)
const Aws::String & GetStateReason() const
void SetVpcOwnerId(const Aws::String &value)
void SetGroupId(const char *value)
void SetVpcId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SecurityGroupVpcAssociation & WithState(SecurityGroupVpcAssociationState &&value)
SecurityGroupVpcAssociation & WithGroupId(const Aws::String &value)
SecurityGroupVpcAssociation & WithGroupId(Aws::String &&value)
void SetGroupId(const Aws::String &value)
const SecurityGroupVpcAssociationState & GetState() const
SecurityGroupVpcAssociation & WithVpcOwnerId(Aws::String &&value)
SecurityGroupVpcAssociation & WithGroupId(const char *value)
SecurityGroupVpcAssociation & WithStateReason(Aws::String &&value)
bool StateHasBeenSet() const
SecurityGroupVpcAssociation & WithState(const SecurityGroupVpcAssociationState &value)
void SetGroupId(Aws::String &&value)
void SetVpcOwnerId(Aws::String &&value)
void SetStateReason(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool VpcOwnerIdHasBeenSet() const
SecurityGroupVpcAssociation & WithVpcOwnerId(const Aws::String &value)
AWS_EC2_API SecurityGroupVpcAssociation()
SecurityGroupVpcAssociation & WithStateReason(const Aws::String &value)
void SetVpcId(const Aws::String &value)
bool GroupIdHasBeenSet() const
SecurityGroupVpcAssociation & WithVpcId(Aws::String &&value)
AWS_EC2_API SecurityGroupVpcAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetVpcOwnerId() const
bool StateReasonHasBeenSet() const
bool VpcIdHasBeenSet() const
void SetStateReason(const char *value)
AWS_EC2_API SecurityGroupVpcAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
SecurityGroupVpcAssociation & WithVpcOwnerId(const char *value)
SecurityGroupVpcAssociation & WithVpcId(const char *value)
SecurityGroupVpcAssociationState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream