/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

A structure that represents a dataset.

See Also:

AWS * API Reference

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

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::Vector& GetFilters() const{ return m_filters; } /** *

The list of filter definitions.

*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *

The list of filter definitions.

*/ inline void SetFilters(const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters = value; } /** *

The list of filter definitions.

*/ inline void SetFilters(Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } /** *

The list of filter definitions.

*/ inline DatasetMetadata& WithFilters(const Aws::Vector& value) { SetFilters(value); return *this;} /** *

The list of filter definitions.

*/ inline DatasetMetadata& WithFilters(Aws::Vector&& value) { SetFilters(std::move(value)); return *this;} /** *

The 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::Vector& GetColumns() const{ return m_columns; } /** *

The list of column definitions.

*/ inline bool ColumnsHasBeenSet() const { return m_columnsHasBeenSet; } /** *

The list of column definitions.

*/ inline void SetColumns(const Aws::Vector& value) { m_columnsHasBeenSet = true; m_columns = value; } /** *

The list of column definitions.

*/ inline void SetColumns(Aws::Vector&& value) { m_columnsHasBeenSet = true; m_columns = std::move(value); } /** *

The list of column definitions.

*/ inline DatasetMetadata& WithColumns(const Aws::Vector& value) { SetColumns(value); return *this;} /** *

The list of column definitions.

*/ inline DatasetMetadata& WithColumns(Aws::Vector&& value) { SetColumns(std::move(value)); return *this;} /** *

The 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::Vector& GetCalculatedFields() const{ return m_calculatedFields; } /** *

The list of calculated field definitions.

*/ inline bool CalculatedFieldsHasBeenSet() const { return m_calculatedFieldsHasBeenSet; } /** *

The list of calculated field definitions.

*/ inline void SetCalculatedFields(const Aws::Vector& value) { m_calculatedFieldsHasBeenSet = true; m_calculatedFields = value; } /** *

The list of calculated field definitions.

*/ inline void SetCalculatedFields(Aws::Vector&& value) { m_calculatedFieldsHasBeenSet = true; m_calculatedFields = std::move(value); } /** *

The list of calculated field definitions.

*/ inline DatasetMetadata& WithCalculatedFields(const Aws::Vector& value) { SetCalculatedFields(value); return *this;} /** *

The list of calculated field definitions.

*/ inline DatasetMetadata& WithCalculatedFields(Aws::Vector&& value) { SetCalculatedFields(std::move(value)); return *this;} /** *

The 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::Vector& GetNamedEntities() const{ return m_namedEntities; } /** *

The list of named entities definitions.

*/ inline bool NamedEntitiesHasBeenSet() const { return m_namedEntitiesHasBeenSet; } /** *

The list of named entities definitions.

*/ inline void SetNamedEntities(const Aws::Vector& value) { m_namedEntitiesHasBeenSet = true; m_namedEntities = value; } /** *

The list of named entities definitions.

*/ inline void SetNamedEntities(Aws::Vector&& value) { m_namedEntitiesHasBeenSet = true; m_namedEntities = std::move(value); } /** *

The list of named entities definitions.

*/ inline DatasetMetadata& WithNamedEntities(const Aws::Vector& value) { SetNamedEntities(value); return *this;} /** *

The list of named entities definitions.

*/ inline DatasetMetadata& WithNamedEntities(Aws::Vector&& value) { SetNamedEntities(std::move(value)); return *this;} /** *

The 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 m_filters; bool m_filtersHasBeenSet = false; Aws::Vector m_columns; bool m_columnsHasBeenSet = false; Aws::Vector m_calculatedFields; bool m_calculatedFieldsHasBeenSet = false; Aws::Vector m_namedEntities; bool m_namedEntitiesHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws