/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The override parameters for a single VPC connection that is * imported.

See Also:

AWS * API Reference

*/ class AssetBundleImportJobVPCConnectionOverrideParameters { public: AWS_QUICKSIGHT_API AssetBundleImportJobVPCConnectionOverrideParameters(); AWS_QUICKSIGHT_API AssetBundleImportJobVPCConnectionOverrideParameters(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API AssetBundleImportJobVPCConnectionOverrideParameters& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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::Vector& GetSubnetIds() const{ return m_subnetIds; } /** *

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 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::Vector& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; } /** *

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(Aws::Vector&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); } /** *

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& WithSubnetIds(const Aws::Vector& value) { SetSubnetIds(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& WithSubnetIds(Aws::Vector&& value) { SetSubnetIds(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 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::Vector& GetSecurityGroupIds() const{ return m_securityGroupIds; } /** *

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 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::Vector& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; } /** *

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(Aws::Vector&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); } /** *

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& WithSecurityGroupIds(const Aws::Vector& value) { SetSecurityGroupIds(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& WithSecurityGroupIds(Aws::Vector&& value) { SetSecurityGroupIds(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 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::Vector& GetDnsResolvers() const{ return m_dnsResolvers; } /** *

An 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::Vector& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers = value; } /** *

An optional override of DNS resolvers to be used by the VPC connection.

*/ inline void SetDnsResolvers(Aws::Vector&& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers = std::move(value); } /** *

An optional override of DNS resolvers to be used by the VPC connection.

*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& WithDnsResolvers(const Aws::Vector& value) { SetDnsResolvers(value); return *this;} /** *

An optional override of DNS resolvers to be used by the VPC connection.

*/ inline AssetBundleImportJobVPCConnectionOverrideParameters& WithDnsResolvers(Aws::Vector&& value) { SetDnsResolvers(std::move(value)); return *this;} /** *

An 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 m_subnetIds; bool m_subnetIdsHasBeenSet = false; Aws::Vector m_securityGroupIds; bool m_securityGroupIdsHasBeenSet = false; Aws::Vector m_dnsResolvers; bool m_dnsResolversHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws