AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
TopicDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/DatasetMetadata.h>
11#include <aws/quicksight/model/TopicConfigOptions.h>
12#include <aws/quicksight/model/TopicUserExperienceVersion.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
25
33 public:
34 AWS_QUICKSIGHT_API TopicDetails() = default;
35 AWS_QUICKSIGHT_API TopicDetails(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QUICKSIGHT_API TopicDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetName() const { return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 template <typename NameT = Aws::String>
46 void SetName(NameT&& value) {
47 m_nameHasBeenSet = true;
48 m_name = std::forward<NameT>(value);
49 }
50 template <typename NameT = Aws::String>
51 TopicDetails& WithName(NameT&& value) {
52 SetName(std::forward<NameT>(value));
53 return *this;
54 }
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) {
65 m_descriptionHasBeenSet = true;
66 m_description = std::forward<DescriptionT>(value);
67 }
68 template <typename DescriptionT = Aws::String>
69 TopicDetails& WithDescription(DescriptionT&& value) {
70 SetDescription(std::forward<DescriptionT>(value));
71 return *this;
72 }
74
76
79 inline TopicUserExperienceVersion GetUserExperienceVersion() const { return m_userExperienceVersion; }
80 inline bool UserExperienceVersionHasBeenSet() const { return m_userExperienceVersionHasBeenSet; }
82 m_userExperienceVersionHasBeenSet = true;
83 m_userExperienceVersion = value;
84 }
87 return *this;
88 }
90
92
95 inline const Aws::Vector<DatasetMetadata>& GetDataSets() const { return m_dataSets; }
96 inline bool DataSetsHasBeenSet() const { return m_dataSetsHasBeenSet; }
97 template <typename DataSetsT = Aws::Vector<DatasetMetadata>>
98 void SetDataSets(DataSetsT&& value) {
99 m_dataSetsHasBeenSet = true;
100 m_dataSets = std::forward<DataSetsT>(value);
101 }
102 template <typename DataSetsT = Aws::Vector<DatasetMetadata>>
103 TopicDetails& WithDataSets(DataSetsT&& value) {
104 SetDataSets(std::forward<DataSetsT>(value));
105 return *this;
106 }
107 template <typename DataSetsT = DatasetMetadata>
108 TopicDetails& AddDataSets(DataSetsT&& value) {
109 m_dataSetsHasBeenSet = true;
110 m_dataSets.emplace_back(std::forward<DataSetsT>(value));
111 return *this;
112 }
114
116
119 inline const TopicConfigOptions& GetConfigOptions() const { return m_configOptions; }
120 inline bool ConfigOptionsHasBeenSet() const { return m_configOptionsHasBeenSet; }
121 template <typename ConfigOptionsT = TopicConfigOptions>
122 void SetConfigOptions(ConfigOptionsT&& value) {
123 m_configOptionsHasBeenSet = true;
124 m_configOptions = std::forward<ConfigOptionsT>(value);
125 }
126 template <typename ConfigOptionsT = TopicConfigOptions>
127 TopicDetails& WithConfigOptions(ConfigOptionsT&& value) {
128 SetConfigOptions(std::forward<ConfigOptionsT>(value));
129 return *this;
130 }
132 private:
133 Aws::String m_name;
134
135 Aws::String m_description;
136
138
140
141 TopicConfigOptions m_configOptions;
142 bool m_nameHasBeenSet = false;
143 bool m_descriptionHasBeenSet = false;
144 bool m_userExperienceVersionHasBeenSet = false;
145 bool m_dataSetsHasBeenSet = false;
146 bool m_configOptionsHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace QuickSight
151} // 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