/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { class AWS_QUICKSIGHT_API UpdateDataSourcePermissionsResult { public: UpdateDataSourcePermissionsResult(); UpdateDataSourcePermissionsResult(const Aws::AmazonWebServiceResult& result); UpdateDataSourcePermissionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the data source.

*/ inline const Aws::String& GetDataSourceArn() const{ return m_dataSourceArn; } /** *

The Amazon Resource Name (ARN) of the data source.

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

The Amazon Resource Name (ARN) of the data source.

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

The Amazon Resource Name (ARN) of the data source.

*/ inline void SetDataSourceArn(const char* value) { m_dataSourceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the data source.

*/ inline UpdateDataSourcePermissionsResult& WithDataSourceArn(const Aws::String& value) { SetDataSourceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the data source.

*/ inline UpdateDataSourcePermissionsResult& WithDataSourceArn(Aws::String&& value) { SetDataSourceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the data source.

*/ inline UpdateDataSourcePermissionsResult& WithDataSourceArn(const char* value) { SetDataSourceArn(value); return *this;} /** *

The ID of the data source. This ID is unique per AWS Region for each AWS * account.

*/ inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; } /** *

The ID of the data source. This ID is unique per AWS Region for each AWS * account.

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

The ID of the data source. This ID is unique per AWS Region for each AWS * account.

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

The ID of the data source. This ID is unique per AWS Region for each AWS * account.

*/ inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); } /** *

The ID of the data source. This ID is unique per AWS Region for each AWS * account.

*/ inline UpdateDataSourcePermissionsResult& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;} /** *

The ID of the data source. This ID is unique per AWS Region for each AWS * account.

*/ inline UpdateDataSourcePermissionsResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;} /** *

The ID of the data source. This ID is unique per AWS Region for each AWS * account.

*/ inline UpdateDataSourcePermissionsResult& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;} /** *

The AWS request ID for this operation.

*/ inline const Aws::String& GetRequestId() const{ return m_requestId; } /** *

The AWS request ID for this operation.

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

The AWS request ID for this operation.

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

The AWS request ID for this operation.

*/ inline void SetRequestId(const char* value) { m_requestId.assign(value); } /** *

The AWS request ID for this operation.

*/ inline UpdateDataSourcePermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} /** *

The AWS request ID for this operation.

*/ inline UpdateDataSourcePermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} /** *

The AWS request ID for this operation.

*/ inline UpdateDataSourcePermissionsResult& 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 UpdateDataSourcePermissionsResult& WithStatus(int value) { SetStatus(value); return *this;} private: Aws::String m_dataSourceArn; Aws::String m_dataSourceId; Aws::String m_requestId; int m_status; }; } // namespace Model } // namespace QuickSight } // namespace Aws