/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a transit gateway policy table association.See
* Also:
AWS
* API Reference
The ID of the transit gateway policy table.
*/ inline const Aws::String& GetTransitGatewayPolicyTableId() const{ return m_transitGatewayPolicyTableId; } /** *The ID of the transit gateway policy table.
*/ inline bool TransitGatewayPolicyTableIdHasBeenSet() const { return m_transitGatewayPolicyTableIdHasBeenSet; } /** *The ID of the transit gateway policy table.
*/ inline void SetTransitGatewayPolicyTableId(const Aws::String& value) { m_transitGatewayPolicyTableIdHasBeenSet = true; m_transitGatewayPolicyTableId = value; } /** *The ID of the transit gateway policy table.
*/ inline void SetTransitGatewayPolicyTableId(Aws::String&& value) { m_transitGatewayPolicyTableIdHasBeenSet = true; m_transitGatewayPolicyTableId = std::move(value); } /** *The ID of the transit gateway policy table.
*/ inline void SetTransitGatewayPolicyTableId(const char* value) { m_transitGatewayPolicyTableIdHasBeenSet = true; m_transitGatewayPolicyTableId.assign(value); } /** *The ID of the transit gateway policy table.
*/ inline TransitGatewayPolicyTableAssociation& WithTransitGatewayPolicyTableId(const Aws::String& value) { SetTransitGatewayPolicyTableId(value); return *this;} /** *The ID of the transit gateway policy table.
*/ inline TransitGatewayPolicyTableAssociation& WithTransitGatewayPolicyTableId(Aws::String&& value) { SetTransitGatewayPolicyTableId(std::move(value)); return *this;} /** *The ID of the transit gateway policy table.
*/ inline TransitGatewayPolicyTableAssociation& WithTransitGatewayPolicyTableId(const char* value) { SetTransitGatewayPolicyTableId(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 TransitGatewayPolicyTableAssociation& WithTransitGatewayAttachmentId(const Aws::String& value) { SetTransitGatewayAttachmentId(value); return *this;} /** *The ID of the transit gateway attachment.
*/ inline TransitGatewayPolicyTableAssociation& WithTransitGatewayAttachmentId(Aws::String&& value) { SetTransitGatewayAttachmentId(std::move(value)); return *this;} /** *The ID of the transit gateway attachment.
*/ inline TransitGatewayPolicyTableAssociation& WithTransitGatewayAttachmentId(const char* value) { SetTransitGatewayAttachmentId(value); return *this;} /** *The resource ID of the transit gateway attachment.
*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *The resource ID of the transit gateway attachment.
*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *The resource ID of the transit gateway attachment.
*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *The resource ID of the transit gateway attachment.
*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *The resource ID of the transit gateway attachment.
*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *The resource ID of the transit gateway attachment.
*/ inline TransitGatewayPolicyTableAssociation& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *The resource ID of the transit gateway attachment.
*/ inline TransitGatewayPolicyTableAssociation& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *The resource ID of the transit gateway attachment.
*/ inline TransitGatewayPolicyTableAssociation& WithResourceId(const char* value) { SetResourceId(value); return *this;} /** *The resource type for the transit gateway policy table association.
*/ inline const TransitGatewayAttachmentResourceType& GetResourceType() const{ return m_resourceType; } /** *The resource type for the transit gateway policy table association.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The resource type for the transit gateway policy table association.
*/ inline void SetResourceType(const TransitGatewayAttachmentResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The resource type for the transit gateway policy table association.
*/ inline void SetResourceType(TransitGatewayAttachmentResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The resource type for the transit gateway policy table association.
*/ inline TransitGatewayPolicyTableAssociation& WithResourceType(const TransitGatewayAttachmentResourceType& value) { SetResourceType(value); return *this;} /** *The resource type for the transit gateway policy table association.
*/ inline TransitGatewayPolicyTableAssociation& WithResourceType(TransitGatewayAttachmentResourceType&& value) { SetResourceType(std::move(value)); return *this;} /** *The state of the transit gateway policy table association.
*/ inline const TransitGatewayAssociationState& GetState() const{ return m_state; } /** *The state of the transit gateway policy table association.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the transit gateway policy table association.
*/ inline void SetState(const TransitGatewayAssociationState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the transit gateway policy table association.
*/ inline void SetState(TransitGatewayAssociationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the transit gateway policy table association.
*/ inline TransitGatewayPolicyTableAssociation& WithState(const TransitGatewayAssociationState& value) { SetState(value); return *this;} /** *The state of the transit gateway policy table association.
*/ inline TransitGatewayPolicyTableAssociation& WithState(TransitGatewayAssociationState&& value) { SetState(std::move(value)); return *this;} private: Aws::String m_transitGatewayPolicyTableId; bool m_transitGatewayPolicyTableIdHasBeenSet = false; Aws::String m_transitGatewayAttachmentId; bool m_transitGatewayAttachmentIdHasBeenSet = false; Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; TransitGatewayAttachmentResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; TransitGatewayAssociationState m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws