/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace QuickSight { namespace Model { /** */ class UpdateVPCConnectionRequest : public QuickSightRequest { public: AWS_QUICKSIGHT_API UpdateVPCConnectionRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateVPCConnection"; } AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; /** *

The Amazon Web Services account ID of the account that contains the VPC * connection that you want to update.

*/ inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } /** *

The Amazon Web Services account ID of the account that contains the VPC * connection that you want to update.

*/ inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } /** *

The Amazon Web Services account ID of the account that contains the VPC * connection that you want to update.

*/ inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } /** *

The Amazon Web Services account ID of the account that contains the VPC * connection that you want to update.

*/ inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } /** *

The Amazon Web Services account ID of the account that contains the VPC * connection that you want to update.

*/ inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } /** *

The Amazon Web Services account ID of the account that contains the VPC * connection that you want to update.

*/ inline UpdateVPCConnectionRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} /** *

The Amazon Web Services account ID of the account that contains the VPC * connection that you want to update.

*/ inline UpdateVPCConnectionRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} /** *

The Amazon Web Services account ID of the account that contains the VPC * connection that you want to update.

*/ inline UpdateVPCConnectionRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} /** *

The ID of the VPC connection that you're updating. This ID is a unique * identifier for each Amazon Web Services Region in an Amazon Web Services * account.

*/ inline const Aws::String& GetVPCConnectionId() const{ return m_vPCConnectionId; } /** *

The ID of the VPC connection that you're updating. This ID is a unique * identifier for each Amazon Web Services Region in an Amazon Web Services * account.

*/ inline bool VPCConnectionIdHasBeenSet() const { return m_vPCConnectionIdHasBeenSet; } /** *

The ID of the VPC connection that you're updating. This ID is a unique * identifier for each Amazon Web Services Region in an Amazon Web Services * account.

*/ inline void SetVPCConnectionId(const Aws::String& value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId = value; } /** *

The ID of the VPC connection that you're updating. This ID is a unique * identifier for each Amazon Web Services Region in an Amazon Web Services * account.

*/ inline void SetVPCConnectionId(Aws::String&& value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId = std::move(value); } /** *

The ID of the VPC connection that you're updating. This ID is a unique * identifier for each Amazon Web Services Region in an Amazon Web Services * account.

*/ inline void SetVPCConnectionId(const char* value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId.assign(value); } /** *

The ID of the VPC connection that you're updating. This ID is a unique * identifier for each Amazon Web Services Region in an Amazon Web Services * account.

*/ inline UpdateVPCConnectionRequest& WithVPCConnectionId(const Aws::String& value) { SetVPCConnectionId(value); return *this;} /** *

The ID of the VPC connection that you're updating. This ID is a unique * identifier for each Amazon Web Services Region in an Amazon Web Services * account.

*/ inline UpdateVPCConnectionRequest& WithVPCConnectionId(Aws::String&& value) { SetVPCConnectionId(std::move(value)); return *this;} /** *

The ID of the VPC connection that you're updating. This ID is a unique * identifier for each Amazon Web Services Region in an Amazon Web Services * account.

*/ inline UpdateVPCConnectionRequest& WithVPCConnectionId(const char* value) { SetVPCConnectionId(value); return *this;} /** *

The display name for the VPC connection.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The display name for the VPC connection.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The display name for the VPC connection.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The display name for the VPC connection.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The display name for the VPC connection.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The display name for the VPC connection.

*/ inline UpdateVPCConnectionRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The display name for the VPC connection.

*/ inline UpdateVPCConnectionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The display name for the VPC connection.

*/ inline UpdateVPCConnectionRequest& WithName(const char* value) { SetName(value); return *this;} /** *

A list of subnet IDs for the VPC connection.

*/ inline const Aws::Vector& GetSubnetIds() const{ return m_subnetIds; } /** *

A list of subnet IDs for the VPC connection.

*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *

A list of subnet IDs for the VPC connection.

*/ inline void SetSubnetIds(const Aws::Vector& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; } /** *

A list of subnet IDs for the VPC connection.

*/ inline void SetSubnetIds(Aws::Vector&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); } /** *

A list of subnet IDs for the VPC connection.

*/ inline UpdateVPCConnectionRequest& WithSubnetIds(const Aws::Vector& value) { SetSubnetIds(value); return *this;} /** *

A list of subnet IDs for the VPC connection.

*/ inline UpdateVPCConnectionRequest& WithSubnetIds(Aws::Vector&& value) { SetSubnetIds(std::move(value)); return *this;} /** *

A list of subnet IDs for the VPC connection.

*/ inline UpdateVPCConnectionRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *

A list of subnet IDs for the VPC connection.

*/ inline UpdateVPCConnectionRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *

A list of subnet IDs for the VPC connection.

*/ inline UpdateVPCConnectionRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *

A list of security group IDs for the VPC connection.

*/ inline const Aws::Vector& GetSecurityGroupIds() const{ return m_securityGroupIds; } /** *

A list of security group IDs for the VPC connection.

*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *

A list of security group IDs for the VPC connection.

*/ inline void SetSecurityGroupIds(const Aws::Vector& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; } /** *

A list of security group IDs for the VPC connection.

*/ inline void SetSecurityGroupIds(Aws::Vector&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); } /** *

A list of security group IDs for the VPC connection.

*/ inline UpdateVPCConnectionRequest& WithSecurityGroupIds(const Aws::Vector& value) { SetSecurityGroupIds(value); return *this;} /** *

A list of security group IDs for the VPC connection.

*/ inline UpdateVPCConnectionRequest& WithSecurityGroupIds(Aws::Vector&& value) { SetSecurityGroupIds(std::move(value)); return *this;} /** *

A list of security group IDs for the VPC connection.

*/ inline UpdateVPCConnectionRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *

A list of security group IDs for the VPC connection.

*/ inline UpdateVPCConnectionRequest& 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 connection.

*/ inline UpdateVPCConnectionRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *

A list of IP addresses of DNS resolver endpoints for the VPC connection.

*/ inline const Aws::Vector& GetDnsResolvers() const{ return m_dnsResolvers; } /** *

A list of IP addresses of DNS resolver endpoints for the VPC connection.

*/ inline bool DnsResolversHasBeenSet() const { return m_dnsResolversHasBeenSet; } /** *

A list of IP addresses of DNS resolver endpoints for the VPC connection.

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

A list of IP addresses of DNS resolver endpoints for the VPC connection.

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

A list of IP addresses of DNS resolver endpoints for the VPC connection.

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

A list of IP addresses of DNS resolver endpoints for the VPC connection.

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

A list of IP addresses of DNS resolver endpoints for the VPC connection.

*/ inline UpdateVPCConnectionRequest& AddDnsResolvers(const Aws::String& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.push_back(value); return *this; } /** *

A list of IP addresses of DNS resolver endpoints for the VPC connection.

*/ inline UpdateVPCConnectionRequest& AddDnsResolvers(Aws::String&& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.push_back(std::move(value)); return *this; } /** *

A list of IP addresses of DNS resolver endpoints for the VPC connection.

*/ inline UpdateVPCConnectionRequest& AddDnsResolvers(const char* value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.push_back(value); return *this; } /** *

An IAM role associated with the VPC connection.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

An IAM role associated with the VPC connection.

*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

An IAM role associated with the VPC connection.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *

An IAM role associated with the VPC connection.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *

An IAM role associated with the VPC connection.

*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *

An IAM role associated with the VPC connection.

*/ inline UpdateVPCConnectionRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

An IAM role associated with the VPC connection.

*/ inline UpdateVPCConnectionRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

An IAM role associated with the VPC connection.

*/ inline UpdateVPCConnectionRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: Aws::String m_awsAccountId; bool m_awsAccountIdHasBeenSet = false; 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