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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The status of creating the data source.

*/ inline const ResourceStatus& GetCreationStatus() const{ return m_creationStatus; } /** *

The status of creating the data source.

*/ inline void SetCreationStatus(const ResourceStatus& value) { m_creationStatus = value; } /** *

The status of creating the data source.

*/ inline void SetCreationStatus(ResourceStatus&& value) { m_creationStatus = std::move(value); } /** *

The status of creating the data source.

*/ inline CreateDataSourceResult& WithCreationStatus(const ResourceStatus& value) { SetCreationStatus(value); return *this;} /** *

The status of creating the data source.

*/ inline CreateDataSourceResult& WithCreationStatus(ResourceStatus&& value) { SetCreationStatus(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 CreateDataSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateDataSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateDataSourceResult& 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 CreateDataSourceResult& WithStatus(int value) { SetStatus(value); return *this;} private: Aws::String m_arn; Aws::String m_dataSourceId; ResourceStatus m_creationStatus; Aws::String m_requestId; int m_status; }; } // namespace Model } // namespace QuickSight } // namespace Aws