/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An API Gateway VPC link for a RestApi to access resources in an Amazon
* Virtual Private Cloud (VPC).See Also:
AWS
* API Reference
The identifier of the VpcLink. It is used in an Integration to reference this * VpcLink.
*/ inline const Aws::String& GetId() const{ return m_id; } inline void SetId(const Aws::String& value) { m_id = value; } inline void SetId(Aws::String&& value) { m_id = std::move(value); } inline void SetId(const char* value) { m_id.assign(value); } inline GetVpcLinkResult& WithId(const Aws::String& value) { SetId(value); return *this;} inline GetVpcLinkResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} inline GetVpcLinkResult& WithId(const char* value) { SetId(value); return *this;} ///@} ///@{ /** *The name used to label and identify the VPC link.
*/ inline const Aws::String& GetName() const{ return m_name; } inline void SetName(const Aws::String& value) { m_name = value; } inline void SetName(Aws::String&& value) { m_name = std::move(value); } inline void SetName(const char* value) { m_name.assign(value); } inline GetVpcLinkResult& WithName(const Aws::String& value) { SetName(value); return *this;} inline GetVpcLinkResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} inline GetVpcLinkResult& WithName(const char* value) { SetName(value); return *this;} ///@} ///@{ /** *The description of the VPC link.
*/ inline const Aws::String& GetDescription() const{ return m_description; } inline void SetDescription(const Aws::String& value) { m_description = value; } inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } inline void SetDescription(const char* value) { m_description.assign(value); } inline GetVpcLinkResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} inline GetVpcLinkResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} inline GetVpcLinkResult& WithDescription(const char* value) { SetDescription(value); return *this;} ///@} ///@{ /** *The ARN of the network load balancer of the VPC targeted by the VPC link. The * network load balancer must be owned by the same Amazon Web Services account of * the API owner.
*/ inline const Aws::VectorThe status of the VPC link. The valid values are AVAILABLE,
* PENDING, DELETING, or FAILED. Deploying
* an API will wait if the status is PENDING and will fail if the
* status is DELETING.
A description about the VPC link status.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; } inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); } inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); } inline GetVpcLinkResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} inline GetVpcLinkResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} inline GetVpcLinkResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} ///@} ///@{ /** *The collection of tags. Each tag element is associated with a given * resource.
*/ inline const Aws::Map