/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the associated gateway.See Also:
AWS
* API Reference
The ID of the associated gateway.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the associated gateway.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the associated gateway.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the associated gateway.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the associated gateway.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the associated gateway.
*/ inline AssociatedGateway& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the associated gateway.
*/ inline AssociatedGateway& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the associated gateway.
*/ inline AssociatedGateway& WithId(const char* value) { SetId(value); return *this;} /** *The type of associated gateway.
*/ inline const GatewayType& GetType() const{ return m_type; } /** *The type of associated gateway.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of associated gateway.
*/ inline void SetType(const GatewayType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of associated gateway.
*/ inline void SetType(GatewayType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of associated gateway.
*/ inline AssociatedGateway& WithType(const GatewayType& value) { SetType(value); return *this;} /** *The type of associated gateway.
*/ inline AssociatedGateway& WithType(GatewayType&& value) { SetType(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that owns the associated virtual * private gateway or transit gateway.
*/ inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; } /** *The ID of the Amazon Web Services account that owns the associated virtual * private gateway or transit gateway.
*/ inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; } /** *The ID of the Amazon Web Services account that owns the associated virtual * private gateway or transit gateway.
*/ inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; } /** *The ID of the Amazon Web Services account that owns the associated virtual * private gateway or transit gateway.
*/ inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); } /** *The ID of the Amazon Web Services account that owns the associated virtual * private gateway or transit gateway.
*/ inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); } /** *The ID of the Amazon Web Services account that owns the associated virtual * private gateway or transit gateway.
*/ inline AssociatedGateway& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;} /** *The ID of the Amazon Web Services account that owns the associated virtual * private gateway or transit gateway.
*/ inline AssociatedGateway& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that owns the associated virtual * private gateway or transit gateway.
*/ inline AssociatedGateway& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;} /** *The Region where the associated gateway is located.
*/ inline const Aws::String& GetRegion() const{ return m_region; } /** *The Region where the associated gateway is located.
*/ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** *The Region where the associated gateway is located.
*/ inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } /** *The Region where the associated gateway is located.
*/ inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** *The Region where the associated gateway is located.
*/ inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } /** *The Region where the associated gateway is located.
*/ inline AssociatedGateway& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** *The Region where the associated gateway is located.
*/ inline AssociatedGateway& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** *The Region where the associated gateway is located.
*/ inline AssociatedGateway& WithRegion(const char* value) { SetRegion(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; GatewayType m_type; bool m_typeHasBeenSet = false; Aws::String m_ownerAccount; bool m_ownerAccountHasBeenSet = false; Aws::String m_region; bool m_regionHasBeenSet = false; }; } // namespace Model } // namespace DirectConnect } // namespace Aws