/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FinSpaceData { namespace Model { /** *

The structure for a Dataset.

See Also:

AWS * API Reference

*/ class Dataset { public: AWS_FINSPACEDATA_API Dataset(); AWS_FINSPACEDATA_API Dataset(Aws::Utils::Json::JsonView jsonValue); AWS_FINSPACEDATA_API Dataset& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

An identifier for a Dataset.

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

An identifier for a Dataset.

*/ inline bool DatasetIdHasBeenSet() const { return m_datasetIdHasBeenSet; } /** *

An identifier for a Dataset.

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

An identifier for a Dataset.

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

An identifier for a Dataset.

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

An identifier for a Dataset.

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

An identifier for a Dataset.

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

An identifier for a Dataset.

*/ inline Dataset& 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 bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; } /** *

The ARN identifier of the Dataset.

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

The ARN identifier of the Dataset.

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

The ARN identifier of the Dataset.

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

The ARN identifier of the Dataset.

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

The ARN identifier of the Dataset.

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

The ARN identifier of the Dataset.

*/ inline Dataset& 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 bool DatasetTitleHasBeenSet() const { return m_datasetTitleHasBeenSet; } /** *

Display title for a Dataset.

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

Display title for a Dataset.

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

Display title for a Dataset.

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

Display title for a Dataset.

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

Display title for a Dataset.

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

Display title for a Dataset.

*/ inline Dataset& 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 bool KindHasBeenSet() const { return m_kindHasBeenSet; } /** *

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_kindHasBeenSet = true; 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_kindHasBeenSet = true; 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 Dataset& 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 Dataset& WithKind(DatasetKind&& value) { SetKind(std::move(value)); return *this;} /** *

Description for a Dataset.

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

Description for a Dataset.

*/ inline bool DatasetDescriptionHasBeenSet() const { return m_datasetDescriptionHasBeenSet; } /** *

Description for a Dataset.

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

Description for a Dataset.

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

Description for a Dataset.

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

Description for a Dataset.

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

Description for a Dataset.

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

Description for a Dataset.

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

Contact information for a Dataset owner.

*/ inline const DatasetOwnerInfo& GetOwnerInfo() const{ return m_ownerInfo; } /** *

Contact information for a Dataset owner.

*/ inline bool OwnerInfoHasBeenSet() const { return m_ownerInfoHasBeenSet; } /** *

Contact information for a Dataset owner.

*/ inline void SetOwnerInfo(const DatasetOwnerInfo& value) { m_ownerInfoHasBeenSet = true; m_ownerInfo = value; } /** *

Contact information for a Dataset owner.

*/ inline void SetOwnerInfo(DatasetOwnerInfo&& value) { m_ownerInfoHasBeenSet = true; m_ownerInfo = std::move(value); } /** *

Contact information for a Dataset owner.

*/ inline Dataset& WithOwnerInfo(const DatasetOwnerInfo& value) { SetOwnerInfo(value); return *this;} /** *

Contact information for a Dataset owner.

*/ inline Dataset& WithOwnerInfo(DatasetOwnerInfo&& value) { SetOwnerInfo(std::move(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 bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *

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_createTimeHasBeenSet = true; 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 Dataset& 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 bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *

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_lastModifiedTimeHasBeenSet = true; 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 Dataset& 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 bool SchemaDefinitionHasBeenSet() const { return m_schemaDefinitionHasBeenSet; } /** *

Definition for a schema on a tabular Dataset.

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

Definition for a schema on a tabular Dataset.

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

Definition for a schema on a tabular Dataset.

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

Definition for a schema on a tabular Dataset.

*/ inline Dataset& 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 bool AliasHasBeenSet() const { return m_aliasHasBeenSet; } /** *

The unique resource identifier for a Dataset.

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

The unique resource identifier for a Dataset.

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

The unique resource identifier for a Dataset.

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

The unique resource identifier for a Dataset.

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

The unique resource identifier for a Dataset.

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

The unique resource identifier for a Dataset.

*/ inline Dataset& WithAlias(const char* value) { SetAlias(value); return *this;} private: Aws::String m_datasetId; bool m_datasetIdHasBeenSet = false; Aws::String m_datasetArn; bool m_datasetArnHasBeenSet = false; Aws::String m_datasetTitle; bool m_datasetTitleHasBeenSet = false; DatasetKind m_kind; bool m_kindHasBeenSet = false; Aws::String m_datasetDescription; bool m_datasetDescriptionHasBeenSet = false; DatasetOwnerInfo m_ownerInfo; bool m_ownerInfoHasBeenSet = false; long long m_createTime; bool m_createTimeHasBeenSet = false; long long m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; SchemaUnion m_schemaDefinition; bool m_schemaDefinitionHasBeenSet = false; Aws::String m_alias; bool m_aliasHasBeenSet = false; }; } // namespace Model } // namespace FinSpaceData } // namespace Aws