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/SubnetAssociation.h>
51 template<
typename TransitGatewayAttachmentIdT = Aws::String>
52 void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT&& value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId = std::forward<TransitGatewayAttachmentIdT>(value); }
53 template<
typename TransitGatewayAttachmentIdT = Aws::String>
63 template<
typename ResourceIdT = Aws::String>
64 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
65 template<
typename ResourceIdT = Aws::String>
86 template<
typename ResourceOwnerIdT = Aws::String>
87 void SetResourceOwnerId(ResourceOwnerIdT&& value) { m_resourceOwnerIdHasBeenSet =
true; m_resourceOwnerId = std::forward<ResourceOwnerIdT>(value); }
88 template<
typename ResourceOwnerIdT = Aws::String>
98 template<
typename SubnetT = SubnetAssociation>
99 void SetSubnet(SubnetT&& value) { m_subnetHasBeenSet =
true; m_subnet = std::forward<SubnetT>(value); }
100 template<
typename SubnetT = SubnetAssociation>
106 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
109 bool m_resourceIdHasBeenSet =
false;
112 bool m_resourceTypeHasBeenSet =
false;
115 bool m_resourceOwnerIdHasBeenSet =
false;
117 SubnetAssociation m_subnet;
118 bool m_subnetHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool ResourceOwnerIdHasBeenSet() const
AWS_EC2_API TransitGatewayMulticastDomainAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
const SubnetAssociation & GetSubnet() const
bool ResourceIdHasBeenSet() const
bool ResourceTypeHasBeenSet() const
void SetResourceId(ResourceIdT &&value)
const Aws::String & GetResourceId() const
AWS_EC2_API TransitGatewayMulticastDomainAssociation()=default
TransitGatewayMulticastDomainAssociation & WithTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
bool SubnetHasBeenSet() const
const Aws::String & GetTransitGatewayAttachmentId() const
TransitGatewayMulticastDomainAssociation & WithSubnet(SubnetT &&value)
void SetResourceOwnerId(ResourceOwnerIdT &&value)
TransitGatewayAttachmentResourceType GetResourceType() const
void SetSubnet(SubnetT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetResourceType(TransitGatewayAttachmentResourceType value)
bool TransitGatewayAttachmentIdHasBeenSet() const
TransitGatewayMulticastDomainAssociation & WithResourceOwnerId(ResourceOwnerIdT &&value)
AWS_EC2_API TransitGatewayMulticastDomainAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetResourceOwnerId() const
TransitGatewayMulticastDomainAssociation & WithResourceId(ResourceIdT &&value)
void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
TransitGatewayMulticastDomainAssociation & WithResourceType(TransitGatewayAttachmentResourceType value)
TransitGatewayAttachmentResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream