/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { class UpdateVPCConnectionResult { public: AWS_QUICKSIGHT_API UpdateVPCConnectionResult(); AWS_QUICKSIGHT_API UpdateVPCConnectionResult(const Aws::AmazonWebServiceResult& result); AWS_QUICKSIGHT_API UpdateVPCConnectionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the VPC connection.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the VPC connection.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The Amazon Resource Name (ARN) of the VPC connection.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the VPC connection.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the VPC connection.

*/ inline UpdateVPCConnectionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the VPC connection.

*/ inline UpdateVPCConnectionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the VPC connection.

*/ inline UpdateVPCConnectionResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The update status of the VPC connection's last update.

*/ inline const VPCConnectionResourceStatus& GetUpdateStatus() const{ return m_updateStatus; } /** *

The update status of the VPC connection's last update.

*/ inline void SetUpdateStatus(const VPCConnectionResourceStatus& value) { m_updateStatus = value; } /** *

The update status of the VPC connection's last update.

*/ inline void SetUpdateStatus(VPCConnectionResourceStatus&& value) { m_updateStatus = std::move(value); } /** *

The update status of the VPC connection's last update.

*/ inline UpdateVPCConnectionResult& WithUpdateStatus(const VPCConnectionResourceStatus& value) { SetUpdateStatus(value); return *this;} /** *

The update status of the VPC connection's last update.

*/ inline UpdateVPCConnectionResult& WithUpdateStatus(VPCConnectionResourceStatus&& value) { SetUpdateStatus(std::move(value)); return *this;} /** *

The availability status of the VPC connection.

*/ inline const VPCConnectionAvailabilityStatus& GetAvailabilityStatus() const{ return m_availabilityStatus; } /** *

The availability status of the VPC connection.

*/ inline void SetAvailabilityStatus(const VPCConnectionAvailabilityStatus& value) { m_availabilityStatus = value; } /** *

The availability status of the VPC connection.

*/ inline void SetAvailabilityStatus(VPCConnectionAvailabilityStatus&& value) { m_availabilityStatus = std::move(value); } /** *

The availability status of the VPC connection.

*/ inline UpdateVPCConnectionResult& WithAvailabilityStatus(const VPCConnectionAvailabilityStatus& value) { SetAvailabilityStatus(value); return *this;} /** *

The availability status of the VPC connection.

*/ inline UpdateVPCConnectionResult& WithAvailabilityStatus(VPCConnectionAvailabilityStatus&& value) { SetAvailabilityStatus(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateVPCConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateVPCConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateVPCConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *

The HTTP status of the request.

*/ inline int GetStatus() const{ return m_status; } /** *

The HTTP status of the request.

*/ inline void SetStatus(int value) { m_status = value; } /** *

The HTTP status of the request.

*/ inline UpdateVPCConnectionResult& WithStatus(int value) { SetStatus(value); return *this;} private: Aws::String m_arn; Aws::String m_vPCConnectionId; VPCConnectionResourceStatus m_updateStatus; VPCConnectionAvailabilityStatus m_availabilityStatus; Aws::String m_requestId; int m_status; }; } // namespace Model } // namespace QuickSight } // namespace Aws