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>
45 template <
typename DescriptionT = Aws::String>
47 m_descriptionHasBeenSet =
true;
48 m_description = std::forward<DescriptionT>(value);
50 template <
typename DescriptionT = Aws::String>
66 template <
typename UserIdT = Aws::String>
68 m_userIdHasBeenSet =
true;
69 m_userId = std::forward<UserIdT>(value);
71 template <
typename UserIdT = Aws::String>
87 template <
typename GroupNameT = Aws::String>
89 m_groupNameHasBeenSet =
true;
90 m_groupName = std::forward<GroupNameT>(value);
92 template <
typename GroupNameT = Aws::String>
105 template <
typename GroupIdT = Aws::String>
107 m_groupIdHasBeenSet =
true;
108 m_groupId = std::forward<GroupIdT>(value);
110 template <
typename GroupIdT = Aws::String>
123 template <
typename VpcIdT = Aws::String>
125 m_vpcIdHasBeenSet =
true;
126 m_vpcId = std::forward<VpcIdT>(value);
128 template <
typename VpcIdT = Aws::String>
130 SetVpcId(std::forward<VpcIdT>(value));
141 template <
typename VpcPeeringConnectionIdT = Aws::String>
143 m_vpcPeeringConnectionIdHasBeenSet =
true;
144 m_vpcPeeringConnectionId = std::forward<VpcPeeringConnectionIdT>(value);
146 template <
typename VpcPeeringConnectionIdT = Aws::String>
159 template <
typename PeeringStatusT = Aws::String>
161 m_peeringStatusHasBeenSet =
true;
162 m_peeringStatus = std::forward<PeeringStatusT>(value);
164 template <
typename PeeringStatusT = Aws::String>
184 bool m_descriptionHasBeenSet =
false;
185 bool m_userIdHasBeenSet =
false;
186 bool m_groupNameHasBeenSet =
false;
187 bool m_groupIdHasBeenSet =
false;
188 bool m_vpcIdHasBeenSet =
false;
189 bool m_vpcPeeringConnectionIdHasBeenSet =
false;
190 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