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/MembershipType.h>
11#include <aws/ec2/model/TransitGatewayAttachmentResourceType.h>
45 template <
typename GroupIpAddressT = Aws::String>
47 m_groupIpAddressHasBeenSet =
true;
48 m_groupIpAddress = std::forward<GroupIpAddressT>(value);
50 template <
typename GroupIpAddressT = Aws::String>
63 template <
typename TransitGatewayAttachmentIdT = Aws::String>
65 m_transitGatewayAttachmentIdHasBeenSet =
true;
66 m_transitGatewayAttachmentId = std::forward<TransitGatewayAttachmentIdT>(value);
68 template <
typename TransitGatewayAttachmentIdT = Aws::String>
81 template <
typename SubnetIdT = Aws::String>
83 m_subnetIdHasBeenSet =
true;
84 m_subnetId = std::forward<SubnetIdT>(value);
86 template <
typename SubnetIdT = Aws::String>
99 template <
typename ResourceIdT = Aws::String>
101 m_resourceIdHasBeenSet =
true;
102 m_resourceId = std::forward<ResourceIdT>(value);
104 template <
typename ResourceIdT = Aws::String>
118 m_resourceTypeHasBeenSet =
true;
119 m_resourceType = value;
134 template <
typename ResourceOwnerIdT = Aws::String>
136 m_resourceOwnerIdHasBeenSet =
true;
137 m_resourceOwnerId = std::forward<ResourceOwnerIdT>(value);
139 template <
typename ResourceOwnerIdT = Aws::String>
152 template <
typename NetworkInterfaceIdT = Aws::String>
154 m_networkInterfaceIdHasBeenSet =
true;
155 m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value);
157 template <
typename NetworkInterfaceIdT = Aws::String>
171 m_groupMemberHasBeenSet =
true;
172 m_groupMember = value;
187 m_groupSourceHasBeenSet =
true;
188 m_groupSource = value;
203 m_memberTypeHasBeenSet =
true;
204 m_memberType = value;
219 m_sourceTypeHasBeenSet =
true;
220 m_sourceType = value;
242 bool m_groupMember{
false};
244 bool m_groupSource{
false};
249 bool m_groupIpAddressHasBeenSet =
false;
250 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
251 bool m_subnetIdHasBeenSet =
false;
252 bool m_resourceIdHasBeenSet =
false;
253 bool m_resourceTypeHasBeenSet =
false;
254 bool m_resourceOwnerIdHasBeenSet =
false;
255 bool m_networkInterfaceIdHasBeenSet =
false;
256 bool m_groupMemberHasBeenSet =
false;
257 bool m_groupSourceHasBeenSet =
false;
258 bool m_memberTypeHasBeenSet =
false;
259 bool m_sourceTypeHasBeenSet =
false;
void SetGroupMember(bool value)
bool GroupSourceHasBeenSet() const
const Aws::String & GetNetworkInterfaceId() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetGroupSource(bool value)
bool GroupMemberHasBeenSet() const
bool MemberTypeHasBeenSet() const
bool TransitGatewayAttachmentIdHasBeenSet() const
bool GetGroupMember() const
void SetMemberType(MembershipType value)
TransitGatewayMulticastGroup & WithSourceType(MembershipType value)
TransitGatewayMulticastGroup & WithSubnetId(SubnetIdT &&value)
TransitGatewayMulticastGroup & WithResourceId(ResourceIdT &&value)
bool GetGroupSource() const
void SetResourceOwnerId(ResourceOwnerIdT &&value)
void SetGroupIpAddress(GroupIpAddressT &&value)
TransitGatewayMulticastGroup & WithGroupMember(bool value)
AWS_EC2_API TransitGatewayMulticastGroup()=default
AWS_EC2_API TransitGatewayMulticastGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
MembershipType GetSourceType() const
bool SourceTypeHasBeenSet() const
void SetSourceType(MembershipType value)
bool SubnetIdHasBeenSet() const
TransitGatewayAttachmentResourceType GetResourceType() const
const Aws::String & GetTransitGatewayAttachmentId() const
TransitGatewayMulticastGroup & WithTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
MembershipType GetMemberType() const
bool ResourceIdHasBeenSet() const
const Aws::String & GetSubnetId() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetSubnetId(SubnetIdT &&value)
const Aws::String & GetGroupIpAddress() const
void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
TransitGatewayMulticastGroup & WithGroupSource(bool value)
TransitGatewayMulticastGroup & WithGroupIpAddress(GroupIpAddressT &&value)
void SetResourceId(ResourceIdT &&value)
bool ResourceTypeHasBeenSet() const
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
bool ResourceOwnerIdHasBeenSet() const
bool GroupIpAddressHasBeenSet() const
const Aws::String & GetResourceId() const
TransitGatewayMulticastGroup & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
TransitGatewayMulticastGroup & WithResourceOwnerId(ResourceOwnerIdT &&value)
TransitGatewayMulticastGroup & WithMemberType(MembershipType value)
const Aws::String & GetResourceOwnerId() const
TransitGatewayMulticastGroup & WithResourceType(TransitGatewayAttachmentResourceType value)
AWS_EC2_API TransitGatewayMulticastGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetResourceType(TransitGatewayAttachmentResourceType value)
bool NetworkInterfaceIdHasBeenSet() const
TransitGatewayAttachmentResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream