/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that represents a dataset.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the dataset.
*/ inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; } /** *The Amazon Resource Name (ARN) of the dataset.
*/ inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the dataset.
*/ inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; } /** *The Amazon Resource Name (ARN) of the dataset.
*/ inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the dataset.
*/ inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); } /** *The Amazon Resource Name (ARN) of the dataset.
*/ inline DatasetMetadata& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the dataset.
*/ inline DatasetMetadata& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the dataset.
*/ inline DatasetMetadata& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;} /** *The name of the dataset.
*/ inline const Aws::String& GetDatasetName() const{ return m_datasetName; } /** *The name of the dataset.
*/ inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; } /** *The name of the dataset.
*/ inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; } /** *The name of the dataset.
*/ inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); } /** *The name of the dataset.
*/ inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); } /** *The name of the dataset.
*/ inline DatasetMetadata& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;} /** *The name of the dataset.
*/ inline DatasetMetadata& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;} /** *The name of the dataset.
*/ inline DatasetMetadata& WithDatasetName(const char* value) { SetDatasetName(value); return *this;} /** *The description of the dataset.
*/ inline const Aws::String& GetDatasetDescription() const{ return m_datasetDescription; } /** *The description of the dataset.
*/ inline bool DatasetDescriptionHasBeenSet() const { return m_datasetDescriptionHasBeenSet; } /** *The description of the dataset.
*/ inline void SetDatasetDescription(const Aws::String& value) { m_datasetDescriptionHasBeenSet = true; m_datasetDescription = value; } /** *The description of the dataset.
*/ inline void SetDatasetDescription(Aws::String&& value) { m_datasetDescriptionHasBeenSet = true; m_datasetDescription = std::move(value); } /** *The description of the dataset.
*/ inline void SetDatasetDescription(const char* value) { m_datasetDescriptionHasBeenSet = true; m_datasetDescription.assign(value); } /** *The description of the dataset.
*/ inline DatasetMetadata& WithDatasetDescription(const Aws::String& value) { SetDatasetDescription(value); return *this;} /** *The description of the dataset.
*/ inline DatasetMetadata& WithDatasetDescription(Aws::String&& value) { SetDatasetDescription(std::move(value)); return *this;} /** *The description of the dataset.
*/ inline DatasetMetadata& WithDatasetDescription(const char* value) { SetDatasetDescription(value); return *this;} /** *The definition of a data aggregation.
*/ inline const DataAggregation& GetDataAggregation() const{ return m_dataAggregation; } /** *The definition of a data aggregation.
*/ inline bool DataAggregationHasBeenSet() const { return m_dataAggregationHasBeenSet; } /** *The definition of a data aggregation.
*/ inline void SetDataAggregation(const DataAggregation& value) { m_dataAggregationHasBeenSet = true; m_dataAggregation = value; } /** *The definition of a data aggregation.
*/ inline void SetDataAggregation(DataAggregation&& value) { m_dataAggregationHasBeenSet = true; m_dataAggregation = std::move(value); } /** *The definition of a data aggregation.
*/ inline DatasetMetadata& WithDataAggregation(const DataAggregation& value) { SetDataAggregation(value); return *this;} /** *The definition of a data aggregation.
*/ inline DatasetMetadata& WithDataAggregation(DataAggregation&& value) { SetDataAggregation(std::move(value)); return *this;} /** *The list of filter definitions.
*/ inline const Aws::VectorThe list of filter definitions.
*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *The list of filter definitions.
*/ inline void SetFilters(const Aws::VectorThe list of filter definitions.
*/ inline void SetFilters(Aws::VectorThe list of filter definitions.
*/ inline DatasetMetadata& WithFilters(const Aws::VectorThe list of filter definitions.
*/ inline DatasetMetadata& WithFilters(Aws::VectorThe list of filter definitions.
*/ inline DatasetMetadata& AddFilters(const TopicFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } /** *The list of filter definitions.
*/ inline DatasetMetadata& AddFilters(TopicFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } /** *The list of column definitions.
*/ inline const Aws::VectorThe list of column definitions.
*/ inline bool ColumnsHasBeenSet() const { return m_columnsHasBeenSet; } /** *The list of column definitions.
*/ inline void SetColumns(const Aws::VectorThe list of column definitions.
*/ inline void SetColumns(Aws::VectorThe list of column definitions.
*/ inline DatasetMetadata& WithColumns(const Aws::VectorThe list of column definitions.
*/ inline DatasetMetadata& WithColumns(Aws::VectorThe list of column definitions.
*/ inline DatasetMetadata& AddColumns(const TopicColumn& value) { m_columnsHasBeenSet = true; m_columns.push_back(value); return *this; } /** *The list of column definitions.
*/ inline DatasetMetadata& AddColumns(TopicColumn&& value) { m_columnsHasBeenSet = true; m_columns.push_back(std::move(value)); return *this; } /** *The list of calculated field definitions.
*/ inline const Aws::VectorThe list of calculated field definitions.
*/ inline bool CalculatedFieldsHasBeenSet() const { return m_calculatedFieldsHasBeenSet; } /** *The list of calculated field definitions.
*/ inline void SetCalculatedFields(const Aws::VectorThe list of calculated field definitions.
*/ inline void SetCalculatedFields(Aws::VectorThe list of calculated field definitions.
*/ inline DatasetMetadata& WithCalculatedFields(const Aws::VectorThe list of calculated field definitions.
*/ inline DatasetMetadata& WithCalculatedFields(Aws::VectorThe list of calculated field definitions.
*/ inline DatasetMetadata& AddCalculatedFields(const TopicCalculatedField& value) { m_calculatedFieldsHasBeenSet = true; m_calculatedFields.push_back(value); return *this; } /** *The list of calculated field definitions.
*/ inline DatasetMetadata& AddCalculatedFields(TopicCalculatedField&& value) { m_calculatedFieldsHasBeenSet = true; m_calculatedFields.push_back(std::move(value)); return *this; } /** *The list of named entities definitions.
*/ inline const Aws::VectorThe list of named entities definitions.
*/ inline bool NamedEntitiesHasBeenSet() const { return m_namedEntitiesHasBeenSet; } /** *The list of named entities definitions.
*/ inline void SetNamedEntities(const Aws::VectorThe list of named entities definitions.
*/ inline void SetNamedEntities(Aws::VectorThe list of named entities definitions.
*/ inline DatasetMetadata& WithNamedEntities(const Aws::VectorThe list of named entities definitions.
*/ inline DatasetMetadata& WithNamedEntities(Aws::VectorThe list of named entities definitions.
*/ inline DatasetMetadata& AddNamedEntities(const TopicNamedEntity& value) { m_namedEntitiesHasBeenSet = true; m_namedEntities.push_back(value); return *this; } /** *The list of named entities definitions.
*/ inline DatasetMetadata& AddNamedEntities(TopicNamedEntity&& value) { m_namedEntitiesHasBeenSet = true; m_namedEntities.push_back(std::move(value)); return *this; } private: Aws::String m_datasetArn; bool m_datasetArnHasBeenSet = false; Aws::String m_datasetName; bool m_datasetNameHasBeenSet = false; Aws::String m_datasetDescription; bool m_datasetDescriptionHasBeenSet = false; DataAggregation m_dataAggregation; bool m_dataAggregationHasBeenSet = false; Aws::Vector