AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TopicDetails.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/TopicUserExperienceVersion.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/quicksight/model/TopicConfigOptions.h>
12#include <aws/quicksight/model/DatasetMetadata.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_QUICKSIGHT_API TopicDetails() = default;
40 AWS_QUICKSIGHT_API TopicDetails(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API TopicDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetName() const { return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 template<typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
53 template<typename NameT = Aws::String>
54 TopicDetails& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
56
58
61 inline const Aws::String& GetDescription() const { return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 template<typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
65 template<typename DescriptionT = Aws::String>
66 TopicDetails& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
68
70
73 inline TopicUserExperienceVersion GetUserExperienceVersion() const { return m_userExperienceVersion; }
74 inline bool UserExperienceVersionHasBeenSet() const { return m_userExperienceVersionHasBeenSet; }
75 inline void SetUserExperienceVersion(TopicUserExperienceVersion value) { m_userExperienceVersionHasBeenSet = true; m_userExperienceVersion = value; }
78
80
83 inline const Aws::Vector<DatasetMetadata>& GetDataSets() const { return m_dataSets; }
84 inline bool DataSetsHasBeenSet() const { return m_dataSetsHasBeenSet; }
85 template<typename DataSetsT = Aws::Vector<DatasetMetadata>>
86 void SetDataSets(DataSetsT&& value) { m_dataSetsHasBeenSet = true; m_dataSets = std::forward<DataSetsT>(value); }
87 template<typename DataSetsT = Aws::Vector<DatasetMetadata>>
88 TopicDetails& WithDataSets(DataSetsT&& value) { SetDataSets(std::forward<DataSetsT>(value)); return *this;}
89 template<typename DataSetsT = DatasetMetadata>
90 TopicDetails& AddDataSets(DataSetsT&& value) { m_dataSetsHasBeenSet = true; m_dataSets.emplace_back(std::forward<DataSetsT>(value)); return *this; }
92
94
97 inline const TopicConfigOptions& GetConfigOptions() const { return m_configOptions; }
98 inline bool ConfigOptionsHasBeenSet() const { return m_configOptionsHasBeenSet; }
99 template<typename ConfigOptionsT = TopicConfigOptions>
100 void SetConfigOptions(ConfigOptionsT&& value) { m_configOptionsHasBeenSet = true; m_configOptions = std::forward<ConfigOptionsT>(value); }
101 template<typename ConfigOptionsT = TopicConfigOptions>
102 TopicDetails& WithConfigOptions(ConfigOptionsT&& value) { SetConfigOptions(std::forward<ConfigOptionsT>(value)); return *this;}
104 private:
105
106 Aws::String m_name;
107 bool m_nameHasBeenSet = false;
108
109 Aws::String m_description;
110 bool m_descriptionHasBeenSet = false;
111
113 bool m_userExperienceVersionHasBeenSet = false;
114
116 bool m_dataSetsHasBeenSet = false;
117
118 TopicConfigOptions m_configOptions;
119 bool m_configOptionsHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace QuickSight
124} // namespace Aws
TopicDetails & WithUserExperienceVersion(TopicUserExperienceVersion value)
TopicDetails & WithConfigOptions(ConfigOptionsT &&value)
const Aws::String & GetDescription() const
void SetConfigOptions(ConfigOptionsT &&value)
const Aws::Vector< DatasetMetadata > & GetDataSets() const
AWS_QUICKSIGHT_API TopicDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TopicUserExperienceVersion GetUserExperienceVersion() const
TopicDetails & AddDataSets(DataSetsT &&value)
TopicDetails & WithDataSets(DataSetsT &&value)
TopicDetails & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
TopicDetails & WithName(NameT &&value)
const Aws::String & GetName() const
AWS_QUICKSIGHT_API TopicDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDataSets(DataSetsT &&value)
void SetUserExperienceVersion(TopicUserExperienceVersion value)
const TopicConfigOptions & GetConfigOptions() const
AWS_QUICKSIGHT_API TopicDetails()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue