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>
51 template<
typename TransitGatewayMulticastDomainIdT = Aws::String>
52 void SetTransitGatewayMulticastDomainId(TransitGatewayMulticastDomainIdT&& value) { m_transitGatewayMulticastDomainIdHasBeenSet =
true; m_transitGatewayMulticastDomainId = std::forward<TransitGatewayMulticastDomainIdT>(value); }
53 template<
typename TransitGatewayMulticastDomainIdT = 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 ResourceIdT = Aws::String>
76 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
77 template<
typename ResourceIdT = Aws::String>
97 template<
typename ResourceOwnerIdT = Aws::String>
98 void SetResourceOwnerId(ResourceOwnerIdT&& value) { m_resourceOwnerIdHasBeenSet =
true; m_resourceOwnerId = std::forward<ResourceOwnerIdT>(value); }
99 template<
typename ResourceOwnerIdT = Aws::String>
109 template<
typename SubnetsT = Aws::Vector<SubnetAssociation>>
110 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets = std::forward<SubnetsT>(value); }
111 template<
typename SubnetsT = Aws::Vector<SubnetAssociation>>
113 template<
typename SubnetsT = SubnetAssociation>
119 bool m_transitGatewayMulticastDomainIdHasBeenSet =
false;
122 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
125 bool m_resourceIdHasBeenSet =
false;
128 bool m_resourceTypeHasBeenSet =
false;
131 bool m_resourceOwnerIdHasBeenSet =
false;
134 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