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>
53 inline void SetGroupIpAddress(
const char* value) { m_groupIpAddressHasBeenSet =
true; m_groupIpAddress.assign(value); }
67 inline void SetTransitGatewayAttachmentId(
const char* value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId.assign(value); }
81 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
95 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
122 inline void SetResourceOwnerId(
const char* value) { m_resourceOwnerIdHasBeenSet =
true; m_resourceOwnerId.assign(value); }
136 inline void SetNetworkInterfaceId(
const char* value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId.assign(value); }
148 inline void SetGroupMember(
bool value) { m_groupMemberHasBeenSet =
true; m_groupMember = value; }
158 inline void SetGroupSource(
bool value) { m_groupSourceHasBeenSet =
true; m_groupSource = value; }
188 bool m_groupIpAddressHasBeenSet =
false;
191 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
194 bool m_subnetIdHasBeenSet =
false;
197 bool m_resourceIdHasBeenSet =
false;
200 bool m_resourceTypeHasBeenSet =
false;
203 bool m_resourceOwnerIdHasBeenSet =
false;
206 bool m_networkInterfaceIdHasBeenSet =
false;
209 bool m_groupMemberHasBeenSet =
false;
212 bool m_groupSourceHasBeenSet =
false;
215 bool m_memberTypeHasBeenSet =
false;
218 bool m_sourceTypeHasBeenSet =
false;
void SetTransitGatewayAttachmentId(const Aws::String &value)
TransitGatewayMulticastGroup & WithResourceOwnerId(const Aws::String &value)
const MembershipType & GetSourceType() const
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)
void SetResourceId(const char *value)
bool GroupMemberHasBeenSet() const
bool MemberTypeHasBeenSet() const
void SetResourceId(const Aws::String &value)
void SetResourceOwnerId(const char *value)
TransitGatewayMulticastGroup & WithGroupIpAddress(const Aws::String &value)
void SetGroupIpAddress(const Aws::String &value)
bool TransitGatewayAttachmentIdHasBeenSet() const
TransitGatewayMulticastGroup & WithSourceType(MembershipType &&value)
bool GetGroupMember() const
void SetSourceType(MembershipType &&value)
bool GetGroupSource() const
TransitGatewayMulticastGroup & WithNetworkInterfaceId(Aws::String &&value)
TransitGatewayMulticastGroup & WithResourceOwnerId(Aws::String &&value)
TransitGatewayMulticastGroup & WithGroupMember(bool value)
AWS_EC2_API TransitGatewayMulticastGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetResourceOwnerId(Aws::String &&value)
bool SourceTypeHasBeenSet() const
bool SubnetIdHasBeenSet() const
void SetNetworkInterfaceId(const char *value)
TransitGatewayMulticastGroup & WithSubnetId(const Aws::String &value)
const Aws::String & GetTransitGatewayAttachmentId() const
AWS_EC2_API TransitGatewayMulticastGroup()
void SetGroupIpAddress(const char *value)
TransitGatewayMulticastGroup & WithResourceId(const Aws::String &value)
TransitGatewayMulticastGroup & WithNetworkInterfaceId(const Aws::String &value)
bool ResourceIdHasBeenSet() const
const Aws::String & GetSubnetId() const
void SetSubnetId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetResourceType(const TransitGatewayAttachmentResourceType &value)
void SetTransitGatewayAttachmentId(const char *value)
TransitGatewayMulticastGroup & WithTransitGatewayAttachmentId(Aws::String &&value)
void SetNetworkInterfaceId(const Aws::String &value)
const TransitGatewayAttachmentResourceType & GetResourceType() const
const Aws::String & GetGroupIpAddress() const
TransitGatewayMulticastGroup & WithMemberType(const MembershipType &value)
TransitGatewayMulticastGroup & WithResourceType(const TransitGatewayAttachmentResourceType &value)
void SetMemberType(MembershipType &&value)
TransitGatewayMulticastGroup & WithGroupSource(bool value)
TransitGatewayMulticastGroup & WithNetworkInterfaceId(const char *value)
TransitGatewayMulticastGroup & WithMemberType(MembershipType &&value)
void SetTransitGatewayAttachmentId(Aws::String &&value)
bool ResourceTypeHasBeenSet() const
TransitGatewayMulticastGroup & WithResourceId(Aws::String &&value)
void SetResourceId(Aws::String &&value)
void SetSourceType(const MembershipType &value)
void SetSubnetId(const Aws::String &value)
TransitGatewayMulticastGroup & WithGroupIpAddress(Aws::String &&value)
void SetMemberType(const MembershipType &value)
bool ResourceOwnerIdHasBeenSet() const
bool GroupIpAddressHasBeenSet() const
void SetNetworkInterfaceId(Aws::String &&value)
TransitGatewayMulticastGroup & WithTransitGatewayAttachmentId(const Aws::String &value)
TransitGatewayMulticastGroup & WithSourceType(const MembershipType &value)
void SetResourceType(TransitGatewayAttachmentResourceType &&value)
const Aws::String & GetResourceId() const
TransitGatewayMulticastGroup & WithResourceId(const char *value)
void SetResourceOwnerId(const Aws::String &value)
void SetGroupIpAddress(Aws::String &&value)
TransitGatewayMulticastGroup & WithSubnetId(Aws::String &&value)
TransitGatewayMulticastGroup & WithResourceType(TransitGatewayAttachmentResourceType &&value)
TransitGatewayMulticastGroup & WithResourceOwnerId(const char *value)
const Aws::String & GetResourceOwnerId() const
TransitGatewayMulticastGroup & WithTransitGatewayAttachmentId(const char *value)
const MembershipType & GetMemberType() const
void SetSubnetId(const char *value)
AWS_EC2_API TransitGatewayMulticastGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayMulticastGroup & WithGroupIpAddress(const char *value)
TransitGatewayMulticastGroup & WithSubnetId(const char *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