/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a VPC link.See Also:
AWS
* API Reference
The timestamp when the VPC link was created.
*/ inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; } /** *The timestamp when the VPC link was created.
*/ inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; } /** *The timestamp when the VPC link was created.
*/ inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; } /** *The timestamp when the VPC link was created.
*/ inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); } /** *The timestamp when the VPC link was created.
*/ inline VpcLink& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;} /** *The timestamp when the VPC link was created.
*/ inline VpcLink& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;} /** *The name of the VPC link.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the VPC link.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the VPC link.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the VPC link.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the VPC link.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the VPC link.
*/ inline VpcLink& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the VPC link.
*/ inline VpcLink& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the VPC link.
*/ inline VpcLink& WithName(const char* value) { SetName(value); return *this;} /** *A list of security group IDs for the VPC link.
*/ inline const Aws::VectorA list of security group IDs for the VPC link.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *A list of security group IDs for the VPC link.
*/ inline void SetSecurityGroupIds(const Aws::VectorA list of security group IDs for the VPC link.
*/ inline void SetSecurityGroupIds(Aws::VectorA list of security group IDs for the VPC link.
*/ inline VpcLink& WithSecurityGroupIds(const Aws::VectorA list of security group IDs for the VPC link.
*/ inline VpcLink& WithSecurityGroupIds(Aws::VectorA list of security group IDs for the VPC link.
*/ inline VpcLink& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *A list of security group IDs for the VPC link.
*/ inline VpcLink& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *A list of security group IDs for the VPC link.
*/ inline VpcLink& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *A list of subnet IDs to include in the VPC link.
*/ inline const Aws::VectorA list of subnet IDs to include in the VPC link.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *A list of subnet IDs to include in the VPC link.
*/ inline void SetSubnetIds(const Aws::VectorA list of subnet IDs to include in the VPC link.
*/ inline void SetSubnetIds(Aws::VectorA list of subnet IDs to include in the VPC link.
*/ inline VpcLink& WithSubnetIds(const Aws::VectorA list of subnet IDs to include in the VPC link.
*/ inline VpcLink& WithSubnetIds(Aws::VectorA list of subnet IDs to include in the VPC link.
*/ inline VpcLink& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *A list of subnet IDs to include in the VPC link.
*/ inline VpcLink& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *A list of subnet IDs to include in the VPC link.
*/ inline VpcLink& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *Tags for the VPC link.
*/ inline const Aws::MapTags for the VPC link.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Tags for the VPC link.
*/ inline void SetTags(const Aws::MapTags for the VPC link.
*/ inline void SetTags(Aws::MapTags for the VPC link.
*/ inline VpcLink& WithTags(const Aws::MapTags for the VPC link.
*/ inline VpcLink& WithTags(Aws::MapTags for the VPC link.
*/ inline VpcLink& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *Tags for the VPC link.
*/ inline VpcLink& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *Tags for the VPC link.
*/ inline VpcLink& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *Tags for the VPC link.
*/ inline VpcLink& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *Tags for the VPC link.
*/ inline VpcLink& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *Tags for the VPC link.
*/ inline VpcLink& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *Tags for the VPC link.
*/ inline VpcLink& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The ID of the VPC link.
*/ inline const Aws::String& GetVpcLinkId() const{ return m_vpcLinkId; } /** *The ID of the VPC link.
*/ inline bool VpcLinkIdHasBeenSet() const { return m_vpcLinkIdHasBeenSet; } /** *The ID of the VPC link.
*/ inline void SetVpcLinkId(const Aws::String& value) { m_vpcLinkIdHasBeenSet = true; m_vpcLinkId = value; } /** *The ID of the VPC link.
*/ inline void SetVpcLinkId(Aws::String&& value) { m_vpcLinkIdHasBeenSet = true; m_vpcLinkId = std::move(value); } /** *The ID of the VPC link.
*/ inline void SetVpcLinkId(const char* value) { m_vpcLinkIdHasBeenSet = true; m_vpcLinkId.assign(value); } /** *The ID of the VPC link.
*/ inline VpcLink& WithVpcLinkId(const Aws::String& value) { SetVpcLinkId(value); return *this;} /** *The ID of the VPC link.
*/ inline VpcLink& WithVpcLinkId(Aws::String&& value) { SetVpcLinkId(std::move(value)); return *this;} /** *The ID of the VPC link.
*/ inline VpcLink& WithVpcLinkId(const char* value) { SetVpcLinkId(value); return *this;} /** *The status of the VPC link.
*/ inline const VpcLinkStatus& GetVpcLinkStatus() const{ return m_vpcLinkStatus; } /** *The status of the VPC link.
*/ inline bool VpcLinkStatusHasBeenSet() const { return m_vpcLinkStatusHasBeenSet; } /** *The status of the VPC link.
*/ inline void SetVpcLinkStatus(const VpcLinkStatus& value) { m_vpcLinkStatusHasBeenSet = true; m_vpcLinkStatus = value; } /** *The status of the VPC link.
*/ inline void SetVpcLinkStatus(VpcLinkStatus&& value) { m_vpcLinkStatusHasBeenSet = true; m_vpcLinkStatus = std::move(value); } /** *The status of the VPC link.
*/ inline VpcLink& WithVpcLinkStatus(const VpcLinkStatus& value) { SetVpcLinkStatus(value); return *this;} /** *The status of the VPC link.
*/ inline VpcLink& WithVpcLinkStatus(VpcLinkStatus&& value) { SetVpcLinkStatus(std::move(value)); return *this;} /** *A message summarizing the cause of the status of the VPC link.
*/ inline const Aws::String& GetVpcLinkStatusMessage() const{ return m_vpcLinkStatusMessage; } /** *A message summarizing the cause of the status of the VPC link.
*/ inline bool VpcLinkStatusMessageHasBeenSet() const { return m_vpcLinkStatusMessageHasBeenSet; } /** *A message summarizing the cause of the status of the VPC link.
*/ inline void SetVpcLinkStatusMessage(const Aws::String& value) { m_vpcLinkStatusMessageHasBeenSet = true; m_vpcLinkStatusMessage = value; } /** *A message summarizing the cause of the status of the VPC link.
*/ inline void SetVpcLinkStatusMessage(Aws::String&& value) { m_vpcLinkStatusMessageHasBeenSet = true; m_vpcLinkStatusMessage = std::move(value); } /** *A message summarizing the cause of the status of the VPC link.
*/ inline void SetVpcLinkStatusMessage(const char* value) { m_vpcLinkStatusMessageHasBeenSet = true; m_vpcLinkStatusMessage.assign(value); } /** *A message summarizing the cause of the status of the VPC link.
*/ inline VpcLink& WithVpcLinkStatusMessage(const Aws::String& value) { SetVpcLinkStatusMessage(value); return *this;} /** *A message summarizing the cause of the status of the VPC link.
*/ inline VpcLink& WithVpcLinkStatusMessage(Aws::String&& value) { SetVpcLinkStatusMessage(std::move(value)); return *this;} /** *A message summarizing the cause of the status of the VPC link.
*/ inline VpcLink& WithVpcLinkStatusMessage(const char* value) { SetVpcLinkStatusMessage(value); return *this;} /** *The version of the VPC link.
*/ inline const VpcLinkVersion& GetVpcLinkVersion() const{ return m_vpcLinkVersion; } /** *The version of the VPC link.
*/ inline bool VpcLinkVersionHasBeenSet() const { return m_vpcLinkVersionHasBeenSet; } /** *The version of the VPC link.
*/ inline void SetVpcLinkVersion(const VpcLinkVersion& value) { m_vpcLinkVersionHasBeenSet = true; m_vpcLinkVersion = value; } /** *The version of the VPC link.
*/ inline void SetVpcLinkVersion(VpcLinkVersion&& value) { m_vpcLinkVersionHasBeenSet = true; m_vpcLinkVersion = std::move(value); } /** *The version of the VPC link.
*/ inline VpcLink& WithVpcLinkVersion(const VpcLinkVersion& value) { SetVpcLinkVersion(value); return *this;} /** *The version of the VPC link.
*/ inline VpcLink& WithVpcLinkVersion(VpcLinkVersion&& value) { SetVpcLinkVersion(std::move(value)); return *this;} private: Aws::Utils::DateTime m_createdDate; bool m_createdDateHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector