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/TransitGatewayAttachmentResourceType.h>
11#include <aws/ec2/model/MembershipType.h>
51 template<
typename GroupIpAddressT = Aws::String>
52 void SetGroupIpAddress(GroupIpAddressT&& value) { m_groupIpAddressHasBeenSet =
true; m_groupIpAddress = std::forward<GroupIpAddressT>(value); }
53 template<
typename GroupIpAddressT = Aws::String>
63 template<
typename TransitGatewayAttachmentIdT = Aws::String>
64 void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT&& value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId = std::forward<TransitGatewayAttachmentIdT>(value); }
65 template<
typename TransitGatewayAttachmentIdT = Aws::String>
75 template<
typename SubnetIdT = Aws::String>
76 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet =
true; m_subnetId = std::forward<SubnetIdT>(value); }
77 template<
typename SubnetIdT = Aws::String>
87 template<
typename ResourceIdT = Aws::String>
88 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
89 template<
typename ResourceIdT = Aws::String>
110 template<
typename ResourceOwnerIdT = Aws::String>
111 void SetResourceOwnerId(ResourceOwnerIdT&& value) { m_resourceOwnerIdHasBeenSet =
true; m_resourceOwnerId = std::forward<ResourceOwnerIdT>(value); }
112 template<
typename ResourceOwnerIdT = Aws::String>
122 template<
typename NetworkInterfaceIdT = Aws::String>
123 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value); }
124 template<
typename NetworkInterfaceIdT = Aws::String>
134 inline void SetGroupMember(
bool value) { m_groupMemberHasBeenSet =
true; m_groupMember = value; }
144 inline void SetGroupSource(
bool value) { m_groupSourceHasBeenSet =
true; m_groupSource = value; }
170 bool m_groupIpAddressHasBeenSet =
false;
173 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
176 bool m_subnetIdHasBeenSet =
false;
179 bool m_resourceIdHasBeenSet =
false;
182 bool m_resourceTypeHasBeenSet =
false;
185 bool m_resourceOwnerIdHasBeenSet =
false;
188 bool m_networkInterfaceIdHasBeenSet =
false;
190 bool m_groupMember{
false};
191 bool m_groupMemberHasBeenSet =
false;
193 bool m_groupSource{
false};
194 bool m_groupSourceHasBeenSet =
false;
197 bool m_memberTypeHasBeenSet =
false;
200 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