/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides metadata for a dataset.See Also:
AWS
* API Reference
The name of the dataset.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the dataset.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the dataset.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the dataset.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the dataset.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the dataset.
*/ inline Dataset& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the dataset.
*/ inline Dataset& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the dataset.
*/ inline Dataset& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon Resource Name (ARN) of the dataset that you want metadata for.
*/ inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; } /** *The Amazon Resource Name (ARN) of the dataset that you want metadata for.
*/ inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the dataset that you want metadata for.
*/ inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; } /** *The Amazon Resource Name (ARN) of the dataset that you want metadata for.
*/ inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the dataset that you want metadata for.
*/ inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); } /** *The Amazon Resource Name (ARN) of the dataset that you want metadata for.
*/ inline Dataset& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the dataset that you want metadata for.
*/ inline Dataset& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the dataset that you want metadata for.
*/ inline Dataset& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the dataset group.
*/ inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; } /** *The Amazon Resource Name (ARN) of the dataset group.
*/ inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the dataset group.
*/ inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; } /** *The Amazon Resource Name (ARN) of the dataset group.
*/ inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the dataset group.
*/ inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); } /** *The Amazon Resource Name (ARN) of the dataset group.
*/ inline Dataset& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the dataset group.
*/ inline Dataset& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the dataset group.
*/ inline Dataset& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;} /** *One of the following values:
Interactions
Items
Users
One of the following values:
Interactions
Items
Users
One of the following values:
Interactions
Items
Users
One of the following values:
Interactions
Items
Users
One of the following values:
Interactions
Items
Users
One of the following values:
Interactions
Items
Users
One of the following values:
Interactions
Items
Users
One of the following values:
Interactions
Items
Users
The ARN of the associated schema.
*/ inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; } /** *The ARN of the associated schema.
*/ inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; } /** *The ARN of the associated schema.
*/ inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; } /** *The ARN of the associated schema.
*/ inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); } /** *The ARN of the associated schema.
*/ inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); } /** *The ARN of the associated schema.
*/ inline Dataset& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;} /** *The ARN of the associated schema.
*/ inline Dataset& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;} /** *The ARN of the associated schema.
*/ inline Dataset& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;} /** *The status of the dataset.
A dataset can be in one of the following * states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- * CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
The status of the dataset.
A dataset can be in one of the following * states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- * CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
The status of the dataset.
A dataset can be in one of the following * states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- * CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
The status of the dataset.
A dataset can be in one of the following * states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- * CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
The status of the dataset.
A dataset can be in one of the following * states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- * CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
The status of the dataset.
A dataset can be in one of the following * states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- * CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
The status of the dataset.
A dataset can be in one of the following * states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- * CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
The status of the dataset.
A dataset can be in one of the following * states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- * CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
The creation date and time (in Unix time) of the dataset.
*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *The creation date and time (in Unix time) of the dataset.
*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *The creation date and time (in Unix time) of the dataset.
*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *The creation date and time (in Unix time) of the dataset.
*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *The creation date and time (in Unix time) of the dataset.
*/ inline Dataset& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *The creation date and time (in Unix time) of the dataset.
*/ inline Dataset& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *A time stamp that shows when the dataset was updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; } /** *A time stamp that shows when the dataset was updated.
*/ inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; } /** *A time stamp that shows when the dataset was updated.
*/ inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; } /** *A time stamp that shows when the dataset was updated.
*/ inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); } /** *A time stamp that shows when the dataset was updated.
*/ inline Dataset& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;} /** *A time stamp that shows when the dataset was updated.
*/ inline Dataset& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} /** *Describes the latest update to the dataset.
*/ inline const DatasetUpdateSummary& GetLatestDatasetUpdate() const{ return m_latestDatasetUpdate; } /** *Describes the latest update to the dataset.
*/ inline bool LatestDatasetUpdateHasBeenSet() const { return m_latestDatasetUpdateHasBeenSet; } /** *Describes the latest update to the dataset.
*/ inline void SetLatestDatasetUpdate(const DatasetUpdateSummary& value) { m_latestDatasetUpdateHasBeenSet = true; m_latestDatasetUpdate = value; } /** *Describes the latest update to the dataset.
*/ inline void SetLatestDatasetUpdate(DatasetUpdateSummary&& value) { m_latestDatasetUpdateHasBeenSet = true; m_latestDatasetUpdate = std::move(value); } /** *Describes the latest update to the dataset.
*/ inline Dataset& WithLatestDatasetUpdate(const DatasetUpdateSummary& value) { SetLatestDatasetUpdate(value); return *this;} /** *Describes the latest update to the dataset.
*/ inline Dataset& WithLatestDatasetUpdate(DatasetUpdateSummary&& value) { SetLatestDatasetUpdate(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_datasetArn; bool m_datasetArnHasBeenSet = false; Aws::String m_datasetGroupArn; bool m_datasetGroupArnHasBeenSet = false; Aws::String m_datasetType; bool m_datasetTypeHasBeenSet = false; Aws::String m_schemaArn; bool m_schemaArnHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDateTime; bool m_lastUpdatedDateTimeHasBeenSet = false; DatasetUpdateSummary m_latestDatasetUpdate; bool m_latestDatasetUpdateHasBeenSet = false; }; } // namespace Model } // namespace Personalize } // namespace Aws