/**
* 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; } /** *The identifier of the VpcLink. It is used in an Integration to reference this * VpcLink.
*/ inline void SetId(const Aws::String& value) { m_id = value; } /** *The identifier of the VpcLink. It is used in an Integration to reference this * VpcLink.
*/ inline void SetId(Aws::String&& value) { m_id = std::move(value); } /** *The identifier of the VpcLink. It is used in an Integration to reference this * VpcLink.
*/ inline void SetId(const char* value) { m_id.assign(value); } /** *The identifier of the VpcLink. It is used in an Integration to reference this * VpcLink.
*/ inline CreateVpcLinkResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The identifier of the VpcLink. It is used in an Integration to reference this * VpcLink.
*/ inline CreateVpcLinkResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The identifier of the VpcLink. It is used in an Integration to reference this * VpcLink.
*/ inline CreateVpcLinkResult& 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; } /** *The name used to label and identify the VPC link.
*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *The name used to label and identify the VPC link.
*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *The name used to label and identify the VPC link.
*/ inline void SetName(const char* value) { m_name.assign(value); } /** *The name used to label and identify the VPC link.
*/ inline CreateVpcLinkResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name used to label and identify the VPC link.
*/ inline CreateVpcLinkResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name used to label and identify the VPC link.
*/ inline CreateVpcLinkResult& WithName(const char* value) { SetName(value); return *this;} /** *The description of the VPC link.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the VPC link.
*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *The description of the VPC link.
*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *The description of the VPC link.
*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *The description of the VPC link.
*/ inline CreateVpcLinkResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the VPC link.
*/ inline CreateVpcLinkResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the VPC link.
*/ inline CreateVpcLinkResult& 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 AWS account of the API * owner.
*/ inline const Aws::VectorThe ARN of the network load balancer of the VPC targeted by the VPC link. The * network load balancer must be owned by the same AWS account of the API * owner.
*/ inline void SetTargetArns(const Aws::VectorThe ARN of the network load balancer of the VPC targeted by the VPC link. The * network load balancer must be owned by the same AWS account of the API * owner.
*/ inline void SetTargetArns(Aws::VectorThe ARN of the network load balancer of the VPC targeted by the VPC link. The * network load balancer must be owned by the same AWS account of the API * owner.
*/ inline CreateVpcLinkResult& WithTargetArns(const Aws::VectorThe ARN of the network load balancer of the VPC targeted by the VPC link. The * network load balancer must be owned by the same AWS account of the API * owner.
*/ inline CreateVpcLinkResult& WithTargetArns(Aws::VectorThe ARN of the network load balancer of the VPC targeted by the VPC link. The * network load balancer must be owned by the same AWS account of the API * owner.
*/ inline CreateVpcLinkResult& AddTargetArns(const Aws::String& value) { m_targetArns.push_back(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 AWS account of the API * owner.
*/ inline CreateVpcLinkResult& AddTargetArns(Aws::String&& value) { m_targetArns.push_back(std::move(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 AWS account of the API * owner.
*/ inline CreateVpcLinkResult& AddTargetArns(const char* value) { m_targetArns.push_back(value); return *this; } /** *The 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
.
The 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
.
The 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
.
The 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
.
The 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; } /** *A description about the VPC link status.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; } /** *A description about the VPC link status.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); } /** *A description about the VPC link status.
*/ inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); } /** *A description about the VPC link status.
*/ inline CreateVpcLinkResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *A description about the VPC link status.
*/ inline CreateVpcLinkResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *A description about the VPC link status.
*/ inline CreateVpcLinkResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *The collection of tags. Each tag element is associated with a given * resource.
*/ inline const Aws::MapThe collection of tags. Each tag element is associated with a given * resource.
*/ inline void SetTags(const Aws::MapThe collection of tags. Each tag element is associated with a given * resource.
*/ inline void SetTags(Aws::MapThe collection of tags. Each tag element is associated with a given * resource.
*/ inline CreateVpcLinkResult& WithTags(const Aws::MapThe collection of tags. Each tag element is associated with a given * resource.
*/ inline CreateVpcLinkResult& WithTags(Aws::MapThe collection of tags. Each tag element is associated with a given * resource.
*/ inline CreateVpcLinkResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *The collection of tags. Each tag element is associated with a given * resource.
*/ inline CreateVpcLinkResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *The collection of tags. Each tag element is associated with a given * resource.
*/ inline CreateVpcLinkResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *The collection of tags. Each tag element is associated with a given * resource.
*/ inline CreateVpcLinkResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The collection of tags. Each tag element is associated with a given * resource.
*/ inline CreateVpcLinkResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *The collection of tags. Each tag element is associated with a given * resource.
*/ inline CreateVpcLinkResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *The collection of tags. Each tag element is associated with a given * resource.
*/ inline CreateVpcLinkResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateVpcLinkResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateVpcLinkResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateVpcLinkResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_id; Aws::String m_name; Aws::String m_description; Aws::Vector