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>
51 template<
typename GroupIdT = Aws::String>
52 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet =
true; m_groupId = std::forward<GroupIdT>(value); }
53 template<
typename GroupIdT = Aws::String>
63 template<
typename VpcIdT = Aws::String>
64 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
65 template<
typename VpcIdT = Aws::String>
75 template<
typename VpcOwnerIdT = Aws::String>
76 void SetVpcOwnerId(VpcOwnerIdT&& value) { m_vpcOwnerIdHasBeenSet =
true; m_vpcOwnerId = std::forward<VpcOwnerIdT>(value); }
77 template<
typename VpcOwnerIdT = Aws::String>
97 template<
typename StateReasonT = Aws::String>
98 void SetStateReason(StateReasonT&& value) { m_stateReasonHasBeenSet =
true; m_stateReason = std::forward<StateReasonT>(value); }
99 template<
typename StateReasonT = Aws::String>
109 template<
typename GroupOwnerIdT = Aws::String>
110 void SetGroupOwnerId(GroupOwnerIdT&& value) { m_groupOwnerIdHasBeenSet =
true; m_groupOwnerId = std::forward<GroupOwnerIdT>(value); }
111 template<
typename GroupOwnerIdT = Aws::String>
117 bool m_groupIdHasBeenSet =
false;
120 bool m_vpcIdHasBeenSet =
false;
123 bool m_vpcOwnerIdHasBeenSet =
false;
126 bool m_stateHasBeenSet =
false;
129 bool m_stateReasonHasBeenSet =
false;
132 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