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>
51 template<
typename DescriptionT = Aws::String>
52 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
53 template<
typename DescriptionT = Aws::String>
66 template<
typename UserIdT = Aws::String>
67 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
68 template<
typename UserIdT = Aws::String>
81 template<
typename GroupNameT = Aws::String>
82 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet =
true; m_groupName = std::forward<GroupNameT>(value); }
83 template<
typename GroupNameT = Aws::String>
93 template<
typename GroupIdT = Aws::String>
94 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet =
true; m_groupId = std::forward<GroupIdT>(value); }
95 template<
typename GroupIdT = Aws::String>
105 template<
typename VpcIdT = Aws::String>
106 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
107 template<
typename VpcIdT = Aws::String>
117 template<
typename VpcPeeringConnectionIdT = Aws::String>
118 void SetVpcPeeringConnectionId(VpcPeeringConnectionIdT&& value) { m_vpcPeeringConnectionIdHasBeenSet =
true; m_vpcPeeringConnectionId = std::forward<VpcPeeringConnectionIdT>(value); }
119 template<
typename VpcPeeringConnectionIdT = Aws::String>
129 template<
typename PeeringStatusT = Aws::String>
130 void SetPeeringStatus(PeeringStatusT&& value) { m_peeringStatusHasBeenSet =
true; m_peeringStatus = std::forward<PeeringStatusT>(value); }
131 template<
typename PeeringStatusT = Aws::String>
137 bool m_descriptionHasBeenSet =
false;
140 bool m_userIdHasBeenSet =
false;
143 bool m_groupNameHasBeenSet =
false;
146 bool m_groupIdHasBeenSet =
false;
149 bool m_vpcIdHasBeenSet =
false;
152 bool m_vpcPeeringConnectionIdHasBeenSet =
false;
155 bool m_peeringStatusHasBeenSet =
false;
const Aws::String & GetGroupId() const
bool DescriptionHasBeenSet() const
void SetGroupId(GroupIdT &&value)
const Aws::String & GetDescription() const
void SetPeeringStatus(PeeringStatusT &&value)
bool GroupIdHasBeenSet() const
UserIdGroupPair & WithPeeringStatus(PeeringStatusT &&value)
AWS_EC2_API UserIdGroupPair()=default
UserIdGroupPair & WithGroupName(GroupNameT &&value)
UserIdGroupPair & WithUserId(UserIdT &&value)
void SetDescription(DescriptionT &&value)
UserIdGroupPair & WithGroupId(GroupIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool VpcPeeringConnectionIdHasBeenSet() const
bool GroupNameHasBeenSet() const
const Aws::String & GetGroupName() const
void SetGroupName(GroupNameT &&value)
UserIdGroupPair & WithVpcPeeringConnectionId(VpcPeeringConnectionIdT &&value)
const Aws::String & GetVpcId() const
UserIdGroupPair & WithVpcId(VpcIdT &&value)
void SetVpcPeeringConnectionId(VpcPeeringConnectionIdT &&value)
AWS_EC2_API UserIdGroupPair & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool UserIdHasBeenSet() const
bool PeeringStatusHasBeenSet() const
AWS_EC2_API UserIdGroupPair(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetVpcPeeringConnectionId() const
const Aws::String & GetUserId() const
void SetUserId(UserIdT &&value)
UserIdGroupPair & WithDescription(DescriptionT &&value)
void SetVpcId(VpcIdT &&value)
const Aws::String & GetPeeringStatus() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool VpcIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream