/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the multicast domain associations.See Also:
AWS
* API Reference
The ID of the transit gateway multicast domain.
*/ inline const Aws::String& GetTransitGatewayMulticastDomainId() const{ return m_transitGatewayMulticastDomainId; } /** *The ID of the transit gateway multicast domain.
*/ inline bool TransitGatewayMulticastDomainIdHasBeenSet() const { return m_transitGatewayMulticastDomainIdHasBeenSet; } /** *The ID of the transit gateway multicast domain.
*/ inline void SetTransitGatewayMulticastDomainId(const Aws::String& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = value; } /** *The ID of the transit gateway multicast domain.
*/ inline void SetTransitGatewayMulticastDomainId(Aws::String&& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = std::move(value); } /** *The ID of the transit gateway multicast domain.
*/ inline void SetTransitGatewayMulticastDomainId(const char* value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId.assign(value); } /** *The ID of the transit gateway multicast domain.
*/ inline TransitGatewayMulticastDomainAssociations& WithTransitGatewayMulticastDomainId(const Aws::String& value) { SetTransitGatewayMulticastDomainId(value); return *this;} /** *The ID of the transit gateway multicast domain.
*/ inline TransitGatewayMulticastDomainAssociations& WithTransitGatewayMulticastDomainId(Aws::String&& value) { SetTransitGatewayMulticastDomainId(std::move(value)); return *this;} /** *The ID of the transit gateway multicast domain.
*/ inline TransitGatewayMulticastDomainAssociations& WithTransitGatewayMulticastDomainId(const char* value) { SetTransitGatewayMulticastDomainId(value); return *this;} /** *The ID of the transit gateway attachment.
*/ inline const Aws::String& GetTransitGatewayAttachmentId() const{ return m_transitGatewayAttachmentId; } /** *The ID of the transit gateway attachment.
*/ inline bool TransitGatewayAttachmentIdHasBeenSet() const { return m_transitGatewayAttachmentIdHasBeenSet; } /** *The ID of the transit gateway attachment.
*/ inline void SetTransitGatewayAttachmentId(const Aws::String& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = value; } /** *The ID of the transit gateway attachment.
*/ inline void SetTransitGatewayAttachmentId(Aws::String&& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = std::move(value); } /** *The ID of the transit gateway attachment.
*/ inline void SetTransitGatewayAttachmentId(const char* value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId.assign(value); } /** *The ID of the transit gateway attachment.
*/ inline TransitGatewayMulticastDomainAssociations& WithTransitGatewayAttachmentId(const Aws::String& value) { SetTransitGatewayAttachmentId(value); return *this;} /** *The ID of the transit gateway attachment.
*/ inline TransitGatewayMulticastDomainAssociations& WithTransitGatewayAttachmentId(Aws::String&& value) { SetTransitGatewayAttachmentId(std::move(value)); return *this;} /** *The ID of the transit gateway attachment.
*/ inline TransitGatewayMulticastDomainAssociations& WithTransitGatewayAttachmentId(const char* value) { SetTransitGatewayAttachmentId(value); return *this;} /** *The ID of the resource.
*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *The ID of the resource.
*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *The ID of the resource.
*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *The ID of the resource.
*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *The ID of the resource.
*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *The ID of the resource.
*/ inline TransitGatewayMulticastDomainAssociations& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *The ID of the resource.
*/ inline TransitGatewayMulticastDomainAssociations& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *The ID of the resource.
*/ inline TransitGatewayMulticastDomainAssociations& WithResourceId(const char* value) { SetResourceId(value); return *this;} /** *The type of resource, for example a VPC attachment.
*/ inline const TransitGatewayAttachmentResourceType& GetResourceType() const{ return m_resourceType; } /** *The type of resource, for example a VPC attachment.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The type of resource, for example a VPC attachment.
*/ inline void SetResourceType(const TransitGatewayAttachmentResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The type of resource, for example a VPC attachment.
*/ inline void SetResourceType(TransitGatewayAttachmentResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The type of resource, for example a VPC attachment.
*/ inline TransitGatewayMulticastDomainAssociations& WithResourceType(const TransitGatewayAttachmentResourceType& value) { SetResourceType(value); return *this;} /** *The type of resource, for example a VPC attachment.
*/ inline TransitGatewayMulticastDomainAssociations& WithResourceType(TransitGatewayAttachmentResourceType&& value) { SetResourceType(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that owns the resource.
*/ inline const Aws::String& GetResourceOwnerId() const{ return m_resourceOwnerId; } /** *The ID of the Amazon Web Services account that owns the resource.
*/ inline bool ResourceOwnerIdHasBeenSet() const { return m_resourceOwnerIdHasBeenSet; } /** *The ID of the Amazon Web Services account that owns the resource.
*/ inline void SetResourceOwnerId(const Aws::String& value) { m_resourceOwnerIdHasBeenSet = true; m_resourceOwnerId = value; } /** *The ID of the Amazon Web Services account that owns the resource.
*/ inline void SetResourceOwnerId(Aws::String&& value) { m_resourceOwnerIdHasBeenSet = true; m_resourceOwnerId = std::move(value); } /** *The ID of the Amazon Web Services account that owns the resource.
*/ inline void SetResourceOwnerId(const char* value) { m_resourceOwnerIdHasBeenSet = true; m_resourceOwnerId.assign(value); } /** *The ID of the Amazon Web Services account that owns the resource.
*/ inline TransitGatewayMulticastDomainAssociations& WithResourceOwnerId(const Aws::String& value) { SetResourceOwnerId(value); return *this;} /** *The ID of the Amazon Web Services account that owns the resource.
*/ inline TransitGatewayMulticastDomainAssociations& WithResourceOwnerId(Aws::String&& value) { SetResourceOwnerId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that owns the resource.
*/ inline TransitGatewayMulticastDomainAssociations& WithResourceOwnerId(const char* value) { SetResourceOwnerId(value); return *this;} /** *The subnets associated with the multicast domain.
*/ inline const Aws::VectorThe subnets associated with the multicast domain.
*/ inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; } /** *The subnets associated with the multicast domain.
*/ inline void SetSubnets(const Aws::VectorThe subnets associated with the multicast domain.
*/ inline void SetSubnets(Aws::VectorThe subnets associated with the multicast domain.
*/ inline TransitGatewayMulticastDomainAssociations& WithSubnets(const Aws::VectorThe subnets associated with the multicast domain.
*/ inline TransitGatewayMulticastDomainAssociations& WithSubnets(Aws::VectorThe subnets associated with the multicast domain.
*/ inline TransitGatewayMulticastDomainAssociations& AddSubnets(const SubnetAssociation& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } /** *The subnets associated with the multicast domain.
*/ inline TransitGatewayMulticastDomainAssociations& AddSubnets(SubnetAssociation&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; } private: Aws::String m_transitGatewayMulticastDomainId; bool m_transitGatewayMulticastDomainIdHasBeenSet = false; Aws::String m_transitGatewayAttachmentId; bool m_transitGatewayAttachmentIdHasBeenSet = false; Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; TransitGatewayAttachmentResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; Aws::String m_resourceOwnerId; bool m_resourceOwnerIdHasBeenSet = false; Aws::Vector