/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a carrier gateway.See Also:
AWS
* API Reference
The ID of the carrier gateway.
*/ inline const Aws::String& GetCarrierGatewayId() const{ return m_carrierGatewayId; } /** *The ID of the carrier gateway.
*/ inline bool CarrierGatewayIdHasBeenSet() const { return m_carrierGatewayIdHasBeenSet; } /** *The ID of the carrier gateway.
*/ inline void SetCarrierGatewayId(const Aws::String& value) { m_carrierGatewayIdHasBeenSet = true; m_carrierGatewayId = value; } /** *The ID of the carrier gateway.
*/ inline void SetCarrierGatewayId(Aws::String&& value) { m_carrierGatewayIdHasBeenSet = true; m_carrierGatewayId = std::move(value); } /** *The ID of the carrier gateway.
*/ inline void SetCarrierGatewayId(const char* value) { m_carrierGatewayIdHasBeenSet = true; m_carrierGatewayId.assign(value); } /** *The ID of the carrier gateway.
*/ inline CarrierGateway& WithCarrierGatewayId(const Aws::String& value) { SetCarrierGatewayId(value); return *this;} /** *The ID of the carrier gateway.
*/ inline CarrierGateway& WithCarrierGatewayId(Aws::String&& value) { SetCarrierGatewayId(std::move(value)); return *this;} /** *The ID of the carrier gateway.
*/ inline CarrierGateway& WithCarrierGatewayId(const char* value) { SetCarrierGatewayId(value); return *this;} /** *The ID of the VPC associated with the carrier gateway.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The ID of the VPC associated with the carrier gateway.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The ID of the VPC associated with the carrier gateway.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The ID of the VPC associated with the carrier gateway.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The ID of the VPC associated with the carrier gateway.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The ID of the VPC associated with the carrier gateway.
*/ inline CarrierGateway& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The ID of the VPC associated with the carrier gateway.
*/ inline CarrierGateway& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The ID of the VPC associated with the carrier gateway.
*/ inline CarrierGateway& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *The state of the carrier gateway.
*/ inline const CarrierGatewayState& GetState() const{ return m_state; } /** *The state of the carrier gateway.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the carrier gateway.
*/ inline void SetState(const CarrierGatewayState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the carrier gateway.
*/ inline void SetState(CarrierGatewayState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the carrier gateway.
*/ inline CarrierGateway& WithState(const CarrierGatewayState& value) { SetState(value); return *this;} /** *The state of the carrier gateway.
*/ inline CarrierGateway& WithState(CarrierGatewayState&& value) { SetState(std::move(value)); return *this;} /** *The AWS account ID of the owner of the carrier gateway.
*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *The AWS account ID of the owner of the carrier gateway.
*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *The AWS account ID of the owner of the carrier gateway.
*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *The AWS account ID of the owner of the carrier gateway.
*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *The AWS account ID of the owner of the carrier gateway.
*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *The AWS account ID of the owner of the carrier gateway.
*/ inline CarrierGateway& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *The AWS account ID of the owner of the carrier gateway.
*/ inline CarrierGateway& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *The AWS account ID of the owner of the carrier gateway.
*/ inline CarrierGateway& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} /** *The tags assigned to the carrier gateway.
*/ inline const Aws::VectorThe tags assigned to the carrier gateway.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags assigned to the carrier gateway.
*/ inline void SetTags(const Aws::VectorThe tags assigned to the carrier gateway.
*/ inline void SetTags(Aws::VectorThe tags assigned to the carrier gateway.
*/ inline CarrierGateway& WithTags(const Aws::VectorThe tags assigned to the carrier gateway.
*/ inline CarrierGateway& WithTags(Aws::VectorThe tags assigned to the carrier gateway.
*/ inline CarrierGateway& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The tags assigned to the carrier gateway.
*/ inline CarrierGateway& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_carrierGatewayId; bool m_carrierGatewayIdHasBeenSet; Aws::String m_vpcId; bool m_vpcIdHasBeenSet; CarrierGatewayState m_state; bool m_stateHasBeenSet; Aws::String m_ownerId; bool m_ownerIdHasBeenSet; Aws::Vector