/**
* 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). To enable access to
* a resource in an Amazon Virtual Private Cloud through Amazon API Gateway, you,
* as an API developer, create a VpcLink resource targeted for one or more
* network load balancers of the VPC and then integrate an API method with a
* private integration that uses the VpcLink. The private integration has an
* integration type of HTTP or HTTP_PROXY and has a
* connection type of VPC_LINK. The integration uses the
* connectionId property to identify the VpcLink used.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 UpdateVpcLinkResult& 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 UpdateVpcLinkResult& 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 UpdateVpcLinkResult& 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 UpdateVpcLinkResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name used to label and identify the VPC link.
*/ inline UpdateVpcLinkResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name used to label and identify the VPC link.
*/ inline UpdateVpcLinkResult& 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 UpdateVpcLinkResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the VPC link.
*/ inline UpdateVpcLinkResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the VPC link.
*/ inline UpdateVpcLinkResult& 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 UpdateVpcLinkResult& 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 UpdateVpcLinkResult& 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 UpdateVpcLinkResult& 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 UpdateVpcLinkResult& 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 UpdateVpcLinkResult& 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 UpdateVpcLinkResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *A description about the VPC link status.
*/ inline UpdateVpcLinkResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *A description about the VPC link status.
*/ inline UpdateVpcLinkResult& 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 UpdateVpcLinkResult& WithTags(const Aws::MapThe collection of tags. Each tag element is associated with a given * resource.
*/ inline UpdateVpcLinkResult& WithTags(Aws::MapThe collection of tags. Each tag element is associated with a given * resource.
*/ inline UpdateVpcLinkResult& 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 UpdateVpcLinkResult& 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 UpdateVpcLinkResult& 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 UpdateVpcLinkResult& 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 UpdateVpcLinkResult& 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 UpdateVpcLinkResult& 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 UpdateVpcLinkResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } private: Aws::String m_id; Aws::String m_name; Aws::String m_description; Aws::Vector