/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the resources associated with the transit gateway multicast
* domain.See Also:
AWS
* API Reference
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 TransitGatewayMulticastDomainAssociation& WithTransitGatewayAttachmentId(const Aws::String& value) { SetTransitGatewayAttachmentId(value); return *this;} /** *The ID of the transit gateway attachment.
*/ inline TransitGatewayMulticastDomainAssociation& WithTransitGatewayAttachmentId(Aws::String&& value) { SetTransitGatewayAttachmentId(std::move(value)); return *this;} /** *The ID of the transit gateway attachment.
*/ inline TransitGatewayMulticastDomainAssociation& 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 TransitGatewayMulticastDomainAssociation& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *The ID of the resource.
*/ inline TransitGatewayMulticastDomainAssociation& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *The ID of the resource.
*/ inline TransitGatewayMulticastDomainAssociation& 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 TransitGatewayMulticastDomainAssociation& WithResourceType(const TransitGatewayAttachmentResourceType& value) { SetResourceType(value); return *this;} /** *The type of resource, for example a VPC attachment.
*/ inline TransitGatewayMulticastDomainAssociation& WithResourceType(TransitGatewayAttachmentResourceType&& value) { SetResourceType(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that owns the transit gateway * multicast domain association resource.
*/ inline const Aws::String& GetResourceOwnerId() const{ return m_resourceOwnerId; } /** *The ID of the Amazon Web Services account that owns the transit gateway * multicast domain association resource.
*/ inline bool ResourceOwnerIdHasBeenSet() const { return m_resourceOwnerIdHasBeenSet; } /** *The ID of the Amazon Web Services account that owns the transit gateway * multicast domain association 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 transit gateway * multicast domain association 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 transit gateway * multicast domain association 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 transit gateway * multicast domain association resource.
*/ inline TransitGatewayMulticastDomainAssociation& WithResourceOwnerId(const Aws::String& value) { SetResourceOwnerId(value); return *this;} /** *The ID of the Amazon Web Services account that owns the transit gateway * multicast domain association resource.
*/ inline TransitGatewayMulticastDomainAssociation& WithResourceOwnerId(Aws::String&& value) { SetResourceOwnerId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that owns the transit gateway * multicast domain association resource.
*/ inline TransitGatewayMulticastDomainAssociation& WithResourceOwnerId(const char* value) { SetResourceOwnerId(value); return *this;} /** *The subnet associated with the transit gateway multicast domain.
*/ inline const SubnetAssociation& GetSubnet() const{ return m_subnet; } /** *The subnet associated with the transit gateway multicast domain.
*/ inline bool SubnetHasBeenSet() const { return m_subnetHasBeenSet; } /** *The subnet associated with the transit gateway multicast domain.
*/ inline void SetSubnet(const SubnetAssociation& value) { m_subnetHasBeenSet = true; m_subnet = value; } /** *The subnet associated with the transit gateway multicast domain.
*/ inline void SetSubnet(SubnetAssociation&& value) { m_subnetHasBeenSet = true; m_subnet = std::move(value); } /** *The subnet associated with the transit gateway multicast domain.
*/ inline TransitGatewayMulticastDomainAssociation& WithSubnet(const SubnetAssociation& value) { SetSubnet(value); return *this;} /** *The subnet associated with the transit gateway multicast domain.
*/ inline TransitGatewayMulticastDomainAssociation& WithSubnet(SubnetAssociation&& value) { SetSubnet(std::move(value)); return *this;} private: 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; SubnetAssociation m_subnet; bool m_subnetHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws