/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an association.See Also:
AWS
* API Reference
The ID of the route table for the transit gateway.
*/ inline const Aws::String& GetTransitGatewayRouteTableId() const{ return m_transitGatewayRouteTableId; } /** *The ID of the route table for the transit gateway.
*/ inline bool TransitGatewayRouteTableIdHasBeenSet() const { return m_transitGatewayRouteTableIdHasBeenSet; } /** *The ID of the route table for the transit gateway.
*/ inline void SetTransitGatewayRouteTableId(const Aws::String& value) { m_transitGatewayRouteTableIdHasBeenSet = true; m_transitGatewayRouteTableId = value; } /** *The ID of the route table for the transit gateway.
*/ inline void SetTransitGatewayRouteTableId(Aws::String&& value) { m_transitGatewayRouteTableIdHasBeenSet = true; m_transitGatewayRouteTableId = std::move(value); } /** *The ID of the route table for the transit gateway.
*/ inline void SetTransitGatewayRouteTableId(const char* value) { m_transitGatewayRouteTableIdHasBeenSet = true; m_transitGatewayRouteTableId.assign(value); } /** *The ID of the route table for the transit gateway.
*/ inline TransitGatewayAttachmentAssociation& WithTransitGatewayRouteTableId(const Aws::String& value) { SetTransitGatewayRouteTableId(value); return *this;} /** *The ID of the route table for the transit gateway.
*/ inline TransitGatewayAttachmentAssociation& WithTransitGatewayRouteTableId(Aws::String&& value) { SetTransitGatewayRouteTableId(std::move(value)); return *this;} /** *The ID of the route table for the transit gateway.
*/ inline TransitGatewayAttachmentAssociation& WithTransitGatewayRouteTableId(const char* value) { SetTransitGatewayRouteTableId(value); return *this;} /** *The state of the association.
*/ inline const TransitGatewayAssociationState& GetState() const{ return m_state; } /** *The state of the association.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the association.
*/ inline void SetState(const TransitGatewayAssociationState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the association.
*/ inline void SetState(TransitGatewayAssociationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the association.
*/ inline TransitGatewayAttachmentAssociation& WithState(const TransitGatewayAssociationState& value) { SetState(value); return *this;} /** *The state of the association.
*/ inline TransitGatewayAttachmentAssociation& WithState(TransitGatewayAssociationState&& value) { SetState(std::move(value)); return *this;} private: Aws::String m_transitGatewayRouteTableId; bool m_transitGatewayRouteTableIdHasBeenSet = false; TransitGatewayAssociationState m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws