/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace FinSpaceData { namespace Model { /** * Response for the GetDataset operation

See Also:

AWS * API Reference

*/ class GetDatasetResult { public: AWS_FINSPACEDATA_API GetDatasetResult(); AWS_FINSPACEDATA_API GetDatasetResult(const Aws::AmazonWebServiceResult& result); AWS_FINSPACEDATA_API GetDatasetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique identifier for a Dataset.

*/ inline const Aws::String& GetDatasetId() const{ return m_datasetId; } /** *

The unique identifier for a Dataset.

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

The unique identifier for a Dataset.

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

The unique identifier for a Dataset.

*/ inline void SetDatasetId(const char* value) { m_datasetId.assign(value); } /** *

The unique identifier for a Dataset.

*/ inline GetDatasetResult& WithDatasetId(const Aws::String& value) { SetDatasetId(value); return *this;} /** *

The unique identifier for a Dataset.

*/ inline GetDatasetResult& WithDatasetId(Aws::String&& value) { SetDatasetId(std::move(value)); return *this;} /** *

The unique identifier for a Dataset.

*/ inline GetDatasetResult& WithDatasetId(const char* value) { SetDatasetId(value); return *this;} /** *

The ARN identifier of the Dataset.

*/ inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; } /** *

The ARN identifier of the Dataset.

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

The ARN identifier of the Dataset.

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

The ARN identifier of the Dataset.

*/ inline void SetDatasetArn(const char* value) { m_datasetArn.assign(value); } /** *

The ARN identifier of the Dataset.

*/ inline GetDatasetResult& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;} /** *

The ARN identifier of the Dataset.

*/ inline GetDatasetResult& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;} /** *

The ARN identifier of the Dataset.

*/ inline GetDatasetResult& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;} /** *

Display title for a Dataset.

*/ inline const Aws::String& GetDatasetTitle() const{ return m_datasetTitle; } /** *

Display title for a Dataset.

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

Display title for a Dataset.

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

Display title for a Dataset.

*/ inline void SetDatasetTitle(const char* value) { m_datasetTitle.assign(value); } /** *

Display title for a Dataset.

*/ inline GetDatasetResult& WithDatasetTitle(const Aws::String& value) { SetDatasetTitle(value); return *this;} /** *

Display title for a Dataset.

*/ inline GetDatasetResult& WithDatasetTitle(Aws::String&& value) { SetDatasetTitle(std::move(value)); return *this;} /** *

Display title for a Dataset.

*/ inline GetDatasetResult& WithDatasetTitle(const char* value) { SetDatasetTitle(value); return *this;} /** *

The format in which Dataset data is structured.

  • * TABULAR – Data is structured in a tabular format.

  • *

    NON_TABULAR – Data is structured in a non-tabular format.

    *
*/ inline const DatasetKind& GetKind() const{ return m_kind; } /** *

The format in which Dataset data is structured.

  • * TABULAR – Data is structured in a tabular format.

  • *

    NON_TABULAR – Data is structured in a non-tabular format.

    *
*/ inline void SetKind(const DatasetKind& value) { m_kind = value; } /** *

The format in which Dataset data is structured.

  • * TABULAR – Data is structured in a tabular format.

  • *

    NON_TABULAR – Data is structured in a non-tabular format.

    *
*/ inline void SetKind(DatasetKind&& value) { m_kind = std::move(value); } /** *

The format in which Dataset data is structured.

  • * TABULAR – Data is structured in a tabular format.

  • *

    NON_TABULAR – Data is structured in a non-tabular format.

    *
*/ inline GetDatasetResult& WithKind(const DatasetKind& value) { SetKind(value); return *this;} /** *

The format in which Dataset data is structured.

  • * TABULAR – Data is structured in a tabular format.

  • *

    NON_TABULAR – Data is structured in a non-tabular format.

    *
*/ inline GetDatasetResult& WithKind(DatasetKind&& value) { SetKind(std::move(value)); return *this;} /** *

A description of the Dataset.

*/ inline const Aws::String& GetDatasetDescription() const{ return m_datasetDescription; } /** *

A description of the Dataset.

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

A description of the Dataset.

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

A description of the Dataset.

*/ inline void SetDatasetDescription(const char* value) { m_datasetDescription.assign(value); } /** *

A description of the Dataset.

*/ inline GetDatasetResult& WithDatasetDescription(const Aws::String& value) { SetDatasetDescription(value); return *this;} /** *

A description of the Dataset.

*/ inline GetDatasetResult& WithDatasetDescription(Aws::String&& value) { SetDatasetDescription(std::move(value)); return *this;} /** *

A description of the Dataset.

*/ inline GetDatasetResult& WithDatasetDescription(const char* value) { SetDatasetDescription(value); return *this;} /** *

The timestamp at which the Dataset was created in FinSpace. The value is * determined as epoch time in milliseconds. For example, the value for Monday, * November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

*/ inline long long GetCreateTime() const{ return m_createTime; } /** *

The timestamp at which the Dataset was created in FinSpace. The value is * determined as epoch time in milliseconds. For example, the value for Monday, * November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

*/ inline void SetCreateTime(long long value) { m_createTime = value; } /** *

The timestamp at which the Dataset was created in FinSpace. The value is * determined as epoch time in milliseconds. For example, the value for Monday, * November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

*/ inline GetDatasetResult& WithCreateTime(long long value) { SetCreateTime(value); return *this;} /** *

The last time that the Dataset was modified. The value is determined as epoch * time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline long long GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

The last time that the Dataset was modified. The value is determined as epoch * time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline void SetLastModifiedTime(long long value) { m_lastModifiedTime = value; } /** *

The last time that the Dataset was modified. The value is determined as epoch * time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline GetDatasetResult& WithLastModifiedTime(long long value) { SetLastModifiedTime(value); return *this;} /** *

Definition for a schema on a tabular Dataset.

*/ inline const SchemaUnion& GetSchemaDefinition() const{ return m_schemaDefinition; } /** *

Definition for a schema on a tabular Dataset.

*/ inline void SetSchemaDefinition(const SchemaUnion& value) { m_schemaDefinition = value; } /** *

Definition for a schema on a tabular Dataset.

*/ inline void SetSchemaDefinition(SchemaUnion&& value) { m_schemaDefinition = std::move(value); } /** *

Definition for a schema on a tabular Dataset.

*/ inline GetDatasetResult& WithSchemaDefinition(const SchemaUnion& value) { SetSchemaDefinition(value); return *this;} /** *

Definition for a schema on a tabular Dataset.

*/ inline GetDatasetResult& WithSchemaDefinition(SchemaUnion&& value) { SetSchemaDefinition(std::move(value)); return *this;} /** *

The unique resource identifier for a Dataset.

*/ inline const Aws::String& GetAlias() const{ return m_alias; } /** *

The unique resource identifier for a Dataset.

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

The unique resource identifier for a Dataset.

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

The unique resource identifier for a Dataset.

*/ inline void SetAlias(const char* value) { m_alias.assign(value); } /** *

The unique resource identifier for a Dataset.

*/ inline GetDatasetResult& WithAlias(const Aws::String& value) { SetAlias(value); return *this;} /** *

The unique resource identifier for a Dataset.

*/ inline GetDatasetResult& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;} /** *

The unique resource identifier for a Dataset.

*/ inline GetDatasetResult& WithAlias(const char* value) { SetAlias(value); return *this;} /** *

Status of the Dataset creation.

  • PENDING – * Dataset is pending creation.

  • FAILED – Dataset * creation has failed.

  • SUCCESS – Dataset creation * has succeeded.

  • RUNNING – Dataset creation is * running.

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

Status of the Dataset creation.

  • PENDING – * Dataset is pending creation.

  • FAILED – Dataset * creation has failed.

  • SUCCESS – Dataset creation * has succeeded.

  • RUNNING – Dataset creation is * running.

*/ inline void SetStatus(const DatasetStatus& value) { m_status = value; } /** *

Status of the Dataset creation.

  • PENDING – * Dataset is pending creation.

  • FAILED – Dataset * creation has failed.

  • SUCCESS – Dataset creation * has succeeded.

  • RUNNING – Dataset creation is * running.

*/ inline void SetStatus(DatasetStatus&& value) { m_status = std::move(value); } /** *

Status of the Dataset creation.

  • PENDING – * Dataset is pending creation.

  • FAILED – Dataset * creation has failed.

  • SUCCESS – Dataset creation * has succeeded.

  • RUNNING – Dataset creation is * running.

*/ inline GetDatasetResult& WithStatus(const DatasetStatus& value) { SetStatus(value); return *this;} /** *

Status of the Dataset creation.

  • PENDING – * Dataset is pending creation.

  • FAILED – Dataset * creation has failed.

  • SUCCESS – Dataset creation * has succeeded.

  • RUNNING – Dataset creation is * running.

*/ inline GetDatasetResult& WithStatus(DatasetStatus&& value) { SetStatus(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 GetDatasetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDatasetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDatasetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_datasetId; Aws::String m_datasetArn; Aws::String m_datasetTitle; DatasetKind m_kind; Aws::String m_datasetDescription; long long m_createTime; long long m_lastModifiedTime; SchemaUnion m_schemaDefinition; Aws::String m_alias; DatasetStatus m_status; Aws::String m_requestId; }; } // namespace Model } // namespace FinSpaceData } // namespace Aws