/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the transit gateway in the peering
* attachment.See Also:
AWS
* API Reference
The ID of the transit gateway.
*/ inline const Aws::String& GetTransitGatewayId() const{ return m_transitGatewayId; } /** *The ID of the transit gateway.
*/ inline bool TransitGatewayIdHasBeenSet() const { return m_transitGatewayIdHasBeenSet; } /** *The ID of the transit gateway.
*/ inline void SetTransitGatewayId(const Aws::String& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = value; } /** *The ID of the transit gateway.
*/ inline void SetTransitGatewayId(Aws::String&& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = std::move(value); } /** *The ID of the transit gateway.
*/ inline void SetTransitGatewayId(const char* value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId.assign(value); } /** *The ID of the transit gateway.
*/ inline PeeringTgwInfo& WithTransitGatewayId(const Aws::String& value) { SetTransitGatewayId(value); return *this;} /** *The ID of the transit gateway.
*/ inline PeeringTgwInfo& WithTransitGatewayId(Aws::String&& value) { SetTransitGatewayId(std::move(value)); return *this;} /** *The ID of the transit gateway.
*/ inline PeeringTgwInfo& WithTransitGatewayId(const char* value) { SetTransitGatewayId(value); return *this;} /** *The AWS account ID of the owner of the transit gateway.
*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *The AWS account ID of the owner of the transit gateway.
*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *The AWS account ID of the owner of the transit gateway.
*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *The AWS account ID of the owner of the transit gateway.
*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *The AWS account ID of the owner of the transit gateway.
*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *The AWS account ID of the owner of the transit gateway.
*/ inline PeeringTgwInfo& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *The AWS account ID of the owner of the transit gateway.
*/ inline PeeringTgwInfo& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *The AWS account ID of the owner of the transit gateway.
*/ inline PeeringTgwInfo& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} /** *The Region of the transit gateway.
*/ inline const Aws::String& GetRegion() const{ return m_region; } /** *The Region of the transit gateway.
*/ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** *The Region of the transit gateway.
*/ inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } /** *The Region of the transit gateway.
*/ inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** *The Region of the transit gateway.
*/ inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } /** *The Region of the transit gateway.
*/ inline PeeringTgwInfo& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** *The Region of the transit gateway.
*/ inline PeeringTgwInfo& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** *The Region of the transit gateway.
*/ inline PeeringTgwInfo& WithRegion(const char* value) { SetRegion(value); return *this;} private: Aws::String m_transitGatewayId; bool m_transitGatewayIdHasBeenSet; Aws::String m_ownerId; bool m_ownerIdHasBeenSet; Aws::String m_region; bool m_regionHasBeenSet; }; } // namespace Model } // namespace EC2 } // namespace Aws