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/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/SubnetAssociation.h>
67 inline void SetTransitGatewayAttachmentId(
const char* value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId.assign(value); }
81 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
107 inline void SetResourceOwnerId(
const char* value) { m_resourceOwnerIdHasBeenSet =
true; m_resourceOwnerId.assign(value); }
129 bool m_transitGatewayMulticastDomainIdHasBeenSet =
false;
132 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
135 bool m_resourceIdHasBeenSet =
false;
138 bool m_resourceTypeHasBeenSet =
false;
141 bool m_resourceOwnerIdHasBeenSet =
false;
144 bool m_subnetsHasBeenSet =
false;
bool ResourceOwnerIdHasBeenSet() const
TransitGatewayMulticastDomainAssociations & WithTransitGatewayAttachmentId(const char *value)
const Aws::String & GetTransitGatewayMulticastDomainId() const
void SetSubnets(const Aws::Vector< SubnetAssociation > &value)
AWS_EC2_API TransitGatewayMulticastDomainAssociations & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetResourceType(const TransitGatewayAttachmentResourceType &value)
const Aws::String & GetTransitGatewayAttachmentId() const
TransitGatewayMulticastDomainAssociations & WithSubnets(Aws::Vector< SubnetAssociation > &&value)
void SetTransitGatewayMulticastDomainId(const char *value)
const Aws::String & GetResourceId() const
TransitGatewayMulticastDomainAssociations & WithTransitGatewayMulticastDomainId(Aws::String &&value)
TransitGatewayMulticastDomainAssociations & WithResourceId(Aws::String &&value)
AWS_EC2_API TransitGatewayMulticastDomainAssociations(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayMulticastDomainAssociations & WithResourceId(const Aws::String &value)
void SetTransitGatewayMulticastDomainId(Aws::String &&value)
bool TransitGatewayMulticastDomainIdHasBeenSet() const
TransitGatewayMulticastDomainAssociations & WithResourceOwnerId(Aws::String &&value)
AWS_EC2_API TransitGatewayMulticastDomainAssociations()
void SetTransitGatewayAttachmentId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Vector< SubnetAssociation > & GetSubnets() const
void SetResourceOwnerId(Aws::String &&value)
void SetResourceId(const Aws::String &value)
TransitGatewayMulticastDomainAssociations & AddSubnets(const SubnetAssociation &value)
TransitGatewayMulticastDomainAssociations & WithSubnets(const Aws::Vector< SubnetAssociation > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TransitGatewayMulticastDomainAssociations & AddSubnets(SubnetAssociation &&value)
TransitGatewayMulticastDomainAssociations & WithTransitGatewayAttachmentId(Aws::String &&value)
TransitGatewayMulticastDomainAssociations & WithResourceId(const char *value)
TransitGatewayMulticastDomainAssociations & WithResourceType(TransitGatewayAttachmentResourceType &&value)
void SetResourceId(const char *value)
void SetResourceId(Aws::String &&value)
void SetTransitGatewayAttachmentId(const char *value)
void SetTransitGatewayAttachmentId(const Aws::String &value)
bool TransitGatewayAttachmentIdHasBeenSet() const
const TransitGatewayAttachmentResourceType & GetResourceType() const
TransitGatewayMulticastDomainAssociations & WithTransitGatewayMulticastDomainId(const char *value)
void SetSubnets(Aws::Vector< SubnetAssociation > &&value)
const Aws::String & GetResourceOwnerId() const
TransitGatewayMulticastDomainAssociations & WithResourceType(const TransitGatewayAttachmentResourceType &value)
bool ResourceIdHasBeenSet() const
TransitGatewayMulticastDomainAssociations & WithTransitGatewayMulticastDomainId(const Aws::String &value)
void SetTransitGatewayMulticastDomainId(const Aws::String &value)
TransitGatewayMulticastDomainAssociations & WithResourceOwnerId(const char *value)
TransitGatewayMulticastDomainAssociations & WithTransitGatewayAttachmentId(const Aws::String &value)
void SetResourceType(TransitGatewayAttachmentResourceType &&value)
void SetResourceOwnerId(const char *value)
bool ResourceTypeHasBeenSet() const
bool SubnetsHasBeenSet() const
void SetResourceOwnerId(const Aws::String &value)
TransitGatewayMulticastDomainAssociations & WithResourceOwnerId(const Aws::String &value)
TransitGatewayAttachmentResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream