7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/SecurityGroupVpcAssociationState.h>
45 template <
typename GroupIdT = Aws::String>
47 m_groupIdHasBeenSet =
true;
48 m_groupId = std::forward<GroupIdT>(value);
50 template <
typename GroupIdT = Aws::String>
63 template <
typename VpcIdT = Aws::String>
65 m_vpcIdHasBeenSet =
true;
66 m_vpcId = std::forward<VpcIdT>(value);
68 template <
typename VpcIdT = Aws::String>
70 SetVpcId(std::forward<VpcIdT>(value));
81 template <
typename VpcOwnerIdT = Aws::String>
83 m_vpcOwnerIdHasBeenSet =
true;
84 m_vpcOwnerId = std::forward<VpcOwnerIdT>(value);
86 template <
typename VpcOwnerIdT = Aws::String>
100 m_stateHasBeenSet =
true;
115 template <
typename StateReasonT = Aws::String>
117 m_stateReasonHasBeenSet =
true;
118 m_stateReason = std::forward<StateReasonT>(value);
120 template <
typename StateReasonT = Aws::String>
133 template <
typename GroupOwnerIdT = Aws::String>
135 m_groupOwnerIdHasBeenSet =
true;
136 m_groupOwnerId = std::forward<GroupOwnerIdT>(value);
138 template <
typename GroupOwnerIdT = Aws::String>
156 bool m_groupIdHasBeenSet =
false;
157 bool m_vpcIdHasBeenSet =
false;
158 bool m_vpcOwnerIdHasBeenSet =
false;
159 bool m_stateHasBeenSet =
false;
160 bool m_stateReasonHasBeenSet =
false;
161 bool m_groupOwnerIdHasBeenSet =
false;
const Aws::String & GetVpcId() const
const Aws::String & GetGroupId() const
void SetGroupId(GroupIdT &&value)
SecurityGroupVpcAssociation & WithGroupOwnerId(GroupOwnerIdT &&value)
void SetGroupOwnerId(GroupOwnerIdT &&value)
bool GroupOwnerIdHasBeenSet() const
const Aws::String & GetStateReason() const
SecurityGroupVpcAssociationState GetState() const
AWS_EC2_API SecurityGroupVpcAssociation()=default
void SetStateReason(StateReasonT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SecurityGroupVpcAssociation & WithState(SecurityGroupVpcAssociationState value)
SecurityGroupVpcAssociation & WithGroupId(GroupIdT &&value)
bool StateHasBeenSet() const
SecurityGroupVpcAssociation & WithStateReason(StateReasonT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool VpcOwnerIdHasBeenSet() const
void SetVpcId(VpcIdT &&value)
bool GroupIdHasBeenSet() const
AWS_EC2_API SecurityGroupVpcAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetVpcOwnerId(VpcOwnerIdT &&value)
const Aws::String & GetVpcOwnerId() const
SecurityGroupVpcAssociation & WithVpcId(VpcIdT &&value)
SecurityGroupVpcAssociation & WithVpcOwnerId(VpcOwnerIdT &&value)
void SetState(SecurityGroupVpcAssociationState value)
bool StateReasonHasBeenSet() const
bool VpcIdHasBeenSet() const
AWS_EC2_API SecurityGroupVpcAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetGroupOwnerId() const
SecurityGroupVpcAssociationState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream