/** * 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 CreateDataSetResult { public: AWS_QUICKSIGHT_API CreateDataSetResult(); AWS_QUICKSIGHT_API CreateDataSetResult(const Aws::AmazonWebServiceResult& result); AWS_QUICKSIGHT_API CreateDataSetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the dataset.

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

The Amazon Resource Name (ARN) of the dataset.

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

The Amazon Resource Name (ARN) of the dataset.

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

The Amazon Resource Name (ARN) of the dataset.

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

The Amazon Resource Name (ARN) of the dataset.

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

The Amazon Resource Name (ARN) of the dataset.

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

The Amazon Resource Name (ARN) of the dataset.

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

The ID for the dataset that you want to create. This ID is unique per Amazon * Web Services Region for each Amazon Web Services account.

*/ inline const Aws::String& GetDataSetId() const{ return m_dataSetId; } /** *

The ID for the dataset that you want to create. This ID is unique per Amazon * Web Services Region for each Amazon Web Services account.

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

The ID for the dataset that you want to create. This ID is unique per Amazon * Web Services Region for each Amazon Web Services account.

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

The ID for the dataset that you want to create. This ID is unique per Amazon * Web Services Region for each Amazon Web Services account.

*/ inline void SetDataSetId(const char* value) { m_dataSetId.assign(value); } /** *

The ID for the dataset that you want to create. This ID is unique per Amazon * Web Services Region for each Amazon Web Services account.

*/ inline CreateDataSetResult& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;} /** *

The ID for the dataset that you want to create. This ID is unique per Amazon * Web Services Region for each Amazon Web Services account.

*/ inline CreateDataSetResult& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;} /** *

The ID for the dataset that you want to create. This ID is unique per Amazon * Web Services Region for each Amazon Web Services account.

*/ inline CreateDataSetResult& WithDataSetId(const char* value) { SetDataSetId(value); return *this;} /** *

The ARN for the ingestion, which is triggered as a result of dataset creation * if the import mode is SPICE.

*/ inline const Aws::String& GetIngestionArn() const{ return m_ingestionArn; } /** *

The ARN for the ingestion, which is triggered as a result of dataset creation * if the import mode is SPICE.

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

The ARN for the ingestion, which is triggered as a result of dataset creation * if the import mode is SPICE.

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

The ARN for the ingestion, which is triggered as a result of dataset creation * if the import mode is SPICE.

*/ inline void SetIngestionArn(const char* value) { m_ingestionArn.assign(value); } /** *

The ARN for the ingestion, which is triggered as a result of dataset creation * if the import mode is SPICE.

*/ inline CreateDataSetResult& WithIngestionArn(const Aws::String& value) { SetIngestionArn(value); return *this;} /** *

The ARN for the ingestion, which is triggered as a result of dataset creation * if the import mode is SPICE.

*/ inline CreateDataSetResult& WithIngestionArn(Aws::String&& value) { SetIngestionArn(std::move(value)); return *this;} /** *

The ARN for the ingestion, which is triggered as a result of dataset creation * if the import mode is SPICE.

*/ inline CreateDataSetResult& WithIngestionArn(const char* value) { SetIngestionArn(value); return *this;} /** *

The ID of the ingestion, which is triggered as a result of dataset creation * if the import mode is SPICE.

*/ inline const Aws::String& GetIngestionId() const{ return m_ingestionId; } /** *

The ID of the ingestion, which is triggered as a result of dataset creation * if the import mode is SPICE.

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

The ID of the ingestion, which is triggered as a result of dataset creation * if the import mode is SPICE.

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

The ID of the ingestion, which is triggered as a result of dataset creation * if the import mode is SPICE.

*/ inline void SetIngestionId(const char* value) { m_ingestionId.assign(value); } /** *

The ID of the ingestion, which is triggered as a result of dataset creation * if the import mode is SPICE.

*/ inline CreateDataSetResult& WithIngestionId(const Aws::String& value) { SetIngestionId(value); return *this;} /** *

The ID of the ingestion, which is triggered as a result of dataset creation * if the import mode is SPICE.

*/ inline CreateDataSetResult& WithIngestionId(Aws::String&& value) { SetIngestionId(std::move(value)); return *this;} /** *

The ID of the ingestion, which is triggered as a result of dataset creation * if the import mode is SPICE.

*/ inline CreateDataSetResult& WithIngestionId(const char* value) { SetIngestionId(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 CreateDataSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateDataSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateDataSetResult& 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 CreateDataSetResult& WithStatus(int value) { SetStatus(value); return *this;} private: Aws::String m_arn; Aws::String m_dataSetId; Aws::String m_ingestionArn; Aws::String m_ingestionId; Aws::String m_requestId; int m_status; }; } // namespace Model } // namespace QuickSight } // namespace Aws