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>
49 template<
typename GroupIdT = Aws::String>
50 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet =
true; m_groupId = std::forward<GroupIdT>(value); }
51 template<
typename GroupIdT = Aws::String>
61 template<
typename PeeringStatusT = Aws::String>
62 void SetPeeringStatus(PeeringStatusT&& value) { m_peeringStatusHasBeenSet =
true; m_peeringStatus = std::forward<PeeringStatusT>(value); }
63 template<
typename PeeringStatusT = Aws::String>
73 template<
typename UserIdT = Aws::String>
74 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
75 template<
typename UserIdT = Aws::String>
85 template<
typename VpcIdT = Aws::String>
86 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
87 template<
typename VpcIdT = Aws::String>
97 template<
typename VpcPeeringConnectionIdT = Aws::String>
98 void SetVpcPeeringConnectionId(VpcPeeringConnectionIdT&& value) { m_vpcPeeringConnectionIdHasBeenSet =
true; m_vpcPeeringConnectionId = std::forward<VpcPeeringConnectionIdT>(value); }
99 template<
typename VpcPeeringConnectionIdT = Aws::String>
105 bool m_groupIdHasBeenSet =
false;
108 bool m_peeringStatusHasBeenSet =
false;
111 bool m_userIdHasBeenSet =
false;
114 bool m_vpcIdHasBeenSet =
false;
117 bool m_vpcPeeringConnectionIdHasBeenSet =
false;
void SetUserId(UserIdT &&value)
void SetVpcPeeringConnectionId(VpcPeeringConnectionIdT &&value)
ReferencedSecurityGroup & WithGroupId(GroupIdT &&value)
bool UserIdHasBeenSet() const
const Aws::String & GetPeeringStatus() const
bool VpcPeeringConnectionIdHasBeenSet() const
void SetVpcId(VpcIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetGroupId() const
void SetGroupId(GroupIdT &&value)
const Aws::String & GetUserId() const
ReferencedSecurityGroup & WithPeeringStatus(PeeringStatusT &&value)
ReferencedSecurityGroup & WithVpcId(VpcIdT &&value)
const Aws::String & GetVpcId() const
void SetPeeringStatus(PeeringStatusT &&value)
AWS_EC2_API ReferencedSecurityGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetVpcPeeringConnectionId() const
ReferencedSecurityGroup & WithVpcPeeringConnectionId(VpcPeeringConnectionIdT &&value)
bool PeeringStatusHasBeenSet() const
AWS_EC2_API ReferencedSecurityGroup()=default
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API ReferencedSecurityGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
bool GroupIdHasBeenSet() const
bool VpcIdHasBeenSet() const
ReferencedSecurityGroup & WithUserId(UserIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream