/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Creates a VPC linkSee Also:
AWS
* API Reference
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 CreateVpcLinkRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the VPC link.
*/ inline CreateVpcLinkRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the VPC link.
*/ inline CreateVpcLinkRequest& 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 CreateVpcLinkRequest& WithSecurityGroupIds(const Aws::VectorA list of security group IDs for the VPC link.
*/ inline CreateVpcLinkRequest& WithSecurityGroupIds(Aws::VectorA list of security group IDs for the VPC link.
*/ inline CreateVpcLinkRequest& 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 CreateVpcLinkRequest& 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 CreateVpcLinkRequest& 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 CreateVpcLinkRequest& WithSubnetIds(const Aws::VectorA list of subnet IDs to include in the VPC link.
*/ inline CreateVpcLinkRequest& WithSubnetIds(Aws::VectorA list of subnet IDs to include in the VPC link.
*/ inline CreateVpcLinkRequest& 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 CreateVpcLinkRequest& 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 CreateVpcLinkRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *A list of tags.
*/ inline const Aws::MapA list of tags.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *A list of tags.
*/ inline void SetTags(const Aws::MapA list of tags.
*/ inline void SetTags(Aws::MapA list of tags.
*/ inline CreateVpcLinkRequest& WithTags(const Aws::MapA list of tags.
*/ inline CreateVpcLinkRequest& WithTags(Aws::MapA list of tags.
*/ inline CreateVpcLinkRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *A list of tags.
*/ inline CreateVpcLinkRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *A list of tags.
*/ inline CreateVpcLinkRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *A list of tags.
*/ inline CreateVpcLinkRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *A list of tags.
*/ inline CreateVpcLinkRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *A list of tags.
*/ inline CreateVpcLinkRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *A list of tags.
*/ inline CreateVpcLinkRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector