/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 describes the details of a topic, such as its name, * description, and associated data sets.

See Also:

AWS * API Reference

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

The name of the topic.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the topic.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the topic.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the topic.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the topic.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the topic.

*/ inline TopicDetails& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the topic.

*/ inline TopicDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the topic.

*/ inline TopicDetails& WithName(const char* value) { SetName(value); return *this;} /** *

The description of the topic.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the topic.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the topic.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the topic.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the topic.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the topic.

*/ inline TopicDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the topic.

*/ inline TopicDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the topic.

*/ inline TopicDetails& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The data sets that the topic is associated with.

*/ inline const Aws::Vector& GetDataSets() const{ return m_dataSets; } /** *

The data sets that the topic is associated with.

*/ inline bool DataSetsHasBeenSet() const { return m_dataSetsHasBeenSet; } /** *

The data sets that the topic is associated with.

*/ inline void SetDataSets(const Aws::Vector& value) { m_dataSetsHasBeenSet = true; m_dataSets = value; } /** *

The data sets that the topic is associated with.

*/ inline void SetDataSets(Aws::Vector&& value) { m_dataSetsHasBeenSet = true; m_dataSets = std::move(value); } /** *

The data sets that the topic is associated with.

*/ inline TopicDetails& WithDataSets(const Aws::Vector& value) { SetDataSets(value); return *this;} /** *

The data sets that the topic is associated with.

*/ inline TopicDetails& WithDataSets(Aws::Vector&& value) { SetDataSets(std::move(value)); return *this;} /** *

The data sets that the topic is associated with.

*/ inline TopicDetails& AddDataSets(const DatasetMetadata& value) { m_dataSetsHasBeenSet = true; m_dataSets.push_back(value); return *this; } /** *

The data sets that the topic is associated with.

*/ inline TopicDetails& AddDataSets(DatasetMetadata&& value) { m_dataSetsHasBeenSet = true; m_dataSets.push_back(std::move(value)); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_dataSets; bool m_dataSetsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws