/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The override parameters for a single VPC connection that is
* imported.See Also:
AWS
* API Reference
The ID of the VPC Connection to apply overrides to.
*/ inline const Aws::String& GetVPCConnectionId() const{ return m_vPCConnectionId; } /** *The ID of the VPC Connection to apply overrides to.
*/ inline bool VPCConnectionIdHasBeenSet() const { return m_vPCConnectionIdHasBeenSet; } /** *The ID of the VPC Connection to apply overrides to.
*/ inline void SetVPCConnectionId(const Aws::String& value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId = value; } /** *The ID of the VPC Connection to apply overrides to.
*/ inline void SetVPCConnectionId(Aws::String&& value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId = std::move(value); } /** *The ID of the VPC Connection to apply overrides to.
*/ inline void SetVPCConnectionId(const char* value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId.assign(value); } /** *The ID of the VPC Connection to apply overrides to.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& WithVPCConnectionId(const Aws::String& value) { SetVPCConnectionId(value); return *this;} /** *The ID of the VPC Connection to apply overrides to.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& WithVPCConnectionId(Aws::String&& value) { SetVPCConnectionId(std::move(value)); return *this;} /** *The ID of the VPC Connection to apply overrides to.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& WithVPCConnectionId(const char* value) { SetVPCConnectionId(value); return *this;} /** *A new name for the VPC connection.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *A new name for the VPC connection.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *A new name for the VPC connection.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *A new name for the VPC connection.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *A new name for the VPC connection.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *A new name for the VPC connection.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& WithName(const Aws::String& value) { SetName(value); return *this;} /** *A new name for the VPC connection.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *A new name for the VPC connection.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& WithName(const char* value) { SetName(value); return *this;} /** *A list of new subnet IDs for the VPC connection you are importing. This field * is required if you are importing the VPC connection from another Amazon Web * Services account or Region.
*/ inline const Aws::VectorA list of new subnet IDs for the VPC connection you are importing. This field * is required if you are importing the VPC connection from another Amazon Web * Services account or Region.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *A list of new subnet IDs for the VPC connection you are importing. This field * is required if you are importing the VPC connection from another Amazon Web * Services account or Region.
*/ inline void SetSubnetIds(const Aws::VectorA list of new subnet IDs for the VPC connection you are importing. This field * is required if you are importing the VPC connection from another Amazon Web * Services account or Region.
*/ inline void SetSubnetIds(Aws::VectorA list of new subnet IDs for the VPC connection you are importing. This field * is required if you are importing the VPC connection from another Amazon Web * Services account or Region.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& WithSubnetIds(const Aws::VectorA list of new subnet IDs for the VPC connection you are importing. This field * is required if you are importing the VPC connection from another Amazon Web * Services account or Region.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& WithSubnetIds(Aws::VectorA list of new subnet IDs for the VPC connection you are importing. This field * is required if you are importing the VPC connection from another Amazon Web * Services account or Region.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *A list of new subnet IDs for the VPC connection you are importing. This field * is required if you are importing the VPC connection from another Amazon Web * Services account or Region.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *A list of new subnet IDs for the VPC connection you are importing. This field * is required if you are importing the VPC connection from another Amazon Web * Services account or Region.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *A new security group ID for the VPC connection you are importing. This field * is required if you are importing the VPC connection from another Amazon Web * Services account or Region.
*/ inline const Aws::VectorA new security group ID for the VPC connection you are importing. This field * is required if you are importing the VPC connection from another Amazon Web * Services account or Region.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *A new security group ID for the VPC connection you are importing. This field * is required if you are importing the VPC connection from another Amazon Web * Services account or Region.
*/ inline void SetSecurityGroupIds(const Aws::VectorA new security group ID for the VPC connection you are importing. This field * is required if you are importing the VPC connection from another Amazon Web * Services account or Region.
*/ inline void SetSecurityGroupIds(Aws::VectorA new security group ID for the VPC connection you are importing. This field * is required if you are importing the VPC connection from another Amazon Web * Services account or Region.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& WithSecurityGroupIds(const Aws::VectorA new security group ID for the VPC connection you are importing. This field * is required if you are importing the VPC connection from another Amazon Web * Services account or Region.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& WithSecurityGroupIds(Aws::VectorA new security group ID for the VPC connection you are importing. This field * is required if you are importing the VPC connection from another Amazon Web * Services account or Region.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *A new security group ID for the VPC connection you are importing. This field * is required if you are importing the VPC connection from another Amazon Web * Services account or Region.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *A new security group ID for the VPC connection you are importing. This field * is required if you are importing the VPC connection from another Amazon Web * Services account or Region.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *An optional override of DNS resolvers to be used by the VPC connection.
*/ inline const Aws::VectorAn optional override of DNS resolvers to be used by the VPC connection.
*/ inline bool DnsResolversHasBeenSet() const { return m_dnsResolversHasBeenSet; } /** *An optional override of DNS resolvers to be used by the VPC connection.
*/ inline void SetDnsResolvers(const Aws::VectorAn optional override of DNS resolvers to be used by the VPC connection.
*/ inline void SetDnsResolvers(Aws::VectorAn optional override of DNS resolvers to be used by the VPC connection.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& WithDnsResolvers(const Aws::VectorAn optional override of DNS resolvers to be used by the VPC connection.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& WithDnsResolvers(Aws::VectorAn optional override of DNS resolvers to be used by the VPC connection.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& AddDnsResolvers(const Aws::String& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.push_back(value); return *this; } /** *An optional override of DNS resolvers to be used by the VPC connection.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& AddDnsResolvers(Aws::String&& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.push_back(std::move(value)); return *this; } /** *An optional override of DNS resolvers to be used by the VPC connection.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& AddDnsResolvers(const char* value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.push_back(value); return *this; } /** *An optional override of the role ARN to be used by the VPC connection.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *An optional override of the role ARN to be used by the VPC connection.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *An optional override of the role ARN to be used by the VPC connection.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *An optional override of the role ARN to be used by the VPC connection.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *An optional override of the role ARN to be used by the VPC connection.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *An optional override of the role ARN to be used by the VPC connection.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *An optional override of the role ARN to be used by the VPC connection.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *An optional override of the role ARN to be used by the VPC connection.
*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: Aws::String m_vPCConnectionId; bool m_vPCConnectionIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector