7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/SubnetAssociation.h>
12#include <aws/ec2/model/TransitGatewayAttachmentResourceType.h>
45 template <
typename TransitGatewayMulticastDomainIdT = Aws::String>
47 m_transitGatewayMulticastDomainIdHasBeenSet =
true;
48 m_transitGatewayMulticastDomainId = std::forward<TransitGatewayMulticastDomainIdT>(value);
50 template <
typename TransitGatewayMulticastDomainIdT = 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 ResourceIdT = Aws::String>
83 m_resourceIdHasBeenSet =
true;
84 m_resourceId = std::forward<ResourceIdT>(value);
86 template <
typename ResourceIdT = Aws::String>
100 m_resourceTypeHasBeenSet =
true;
101 m_resourceType = value;
115 template <
typename ResourceOwnerIdT = Aws::String>
117 m_resourceOwnerIdHasBeenSet =
true;
118 m_resourceOwnerId = std::forward<ResourceOwnerIdT>(value);
120 template <
typename ResourceOwnerIdT = Aws::String>
133 template <
typename SubnetsT = Aws::Vector<SubnetAssociation>>
135 m_subnetsHasBeenSet =
true;
136 m_subnets = std::forward<SubnetsT>(value);
138 template <
typename SubnetsT = Aws::Vector<SubnetAssociation>>
143 template <
typename SubnetsT = SubnetAssociation>
145 m_subnetsHasBeenSet =
true;
146 m_subnets.emplace_back(std::forward<SubnetsT>(value));
162 bool m_transitGatewayMulticastDomainIdHasBeenSet =
false;
163 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
164 bool m_resourceIdHasBeenSet =
false;
165 bool m_resourceTypeHasBeenSet =
false;
166 bool m_resourceOwnerIdHasBeenSet =
false;
167 bool m_subnetsHasBeenSet =
false;
bool ResourceOwnerIdHasBeenSet() const
const Aws::String & GetTransitGatewayMulticastDomainId() const
void SetSubnets(SubnetsT &&value)
AWS_EC2_API TransitGatewayMulticastDomainAssociations & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetTransitGatewayAttachmentId() const
TransitGatewayMulticastDomainAssociations & WithResourceOwnerId(ResourceOwnerIdT &&value)
const Aws::String & GetResourceId() const
TransitGatewayMulticastDomainAssociations & WithTransitGatewayMulticastDomainId(TransitGatewayMulticastDomainIdT &&value)
AWS_EC2_API TransitGatewayMulticastDomainAssociations(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayAttachmentResourceType GetResourceType() const
void SetTransitGatewayMulticastDomainId(TransitGatewayMulticastDomainIdT &&value)
TransitGatewayMulticastDomainAssociations & WithSubnets(SubnetsT &&value)
bool TransitGatewayMulticastDomainIdHasBeenSet() const
void SetResourceId(ResourceIdT &&value)
TransitGatewayMulticastDomainAssociations & WithResourceType(TransitGatewayAttachmentResourceType 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(ResourceOwnerIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TransitGatewayMulticastDomainAssociations & AddSubnets(SubnetsT &&value)
bool TransitGatewayAttachmentIdHasBeenSet() const
AWS_EC2_API TransitGatewayMulticastDomainAssociations()=default
const Aws::String & GetResourceOwnerId() const
bool ResourceIdHasBeenSet() const
TransitGatewayMulticastDomainAssociations & WithResourceId(ResourceIdT &&value)
void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
TransitGatewayMulticastDomainAssociations & WithTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
void SetResourceType(TransitGatewayAttachmentResourceType value)
bool ResourceTypeHasBeenSet() const
bool SubnetsHasBeenSet() const
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