AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline TopicDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline TopicDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline TopicDetails& WithName(const char* value) { SetName(value); return *this;}
58
60
63 inline const Aws::String& GetDescription() const{ return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
66 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
67 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
68 inline TopicDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
69 inline TopicDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
70 inline TopicDetails& WithDescription(const char* value) { SetDescription(value); return *this;}
72
74
77 inline const TopicUserExperienceVersion& GetUserExperienceVersion() const{ return m_userExperienceVersion; }
78 inline bool UserExperienceVersionHasBeenSet() const { return m_userExperienceVersionHasBeenSet; }
79 inline void SetUserExperienceVersion(const TopicUserExperienceVersion& value) { m_userExperienceVersionHasBeenSet = true; m_userExperienceVersion = value; }
80 inline void SetUserExperienceVersion(TopicUserExperienceVersion&& value) { m_userExperienceVersionHasBeenSet = true; m_userExperienceVersion = std::move(value); }
84
86
89 inline const Aws::Vector<DatasetMetadata>& GetDataSets() const{ return m_dataSets; }
90 inline bool DataSetsHasBeenSet() const { return m_dataSetsHasBeenSet; }
91 inline void SetDataSets(const Aws::Vector<DatasetMetadata>& value) { m_dataSetsHasBeenSet = true; m_dataSets = value; }
92 inline void SetDataSets(Aws::Vector<DatasetMetadata>&& value) { m_dataSetsHasBeenSet = true; m_dataSets = std::move(value); }
93 inline TopicDetails& WithDataSets(const Aws::Vector<DatasetMetadata>& value) { SetDataSets(value); return *this;}
94 inline TopicDetails& WithDataSets(Aws::Vector<DatasetMetadata>&& value) { SetDataSets(std::move(value)); return *this;}
95 inline TopicDetails& AddDataSets(const DatasetMetadata& value) { m_dataSetsHasBeenSet = true; m_dataSets.push_back(value); return *this; }
96 inline TopicDetails& AddDataSets(DatasetMetadata&& value) { m_dataSetsHasBeenSet = true; m_dataSets.push_back(std::move(value)); return *this; }
98
100
103 inline const TopicConfigOptions& GetConfigOptions() const{ return m_configOptions; }
104 inline bool ConfigOptionsHasBeenSet() const { return m_configOptionsHasBeenSet; }
105 inline void SetConfigOptions(const TopicConfigOptions& value) { m_configOptionsHasBeenSet = true; m_configOptions = value; }
106 inline void SetConfigOptions(TopicConfigOptions&& value) { m_configOptionsHasBeenSet = true; m_configOptions = std::move(value); }
107 inline TopicDetails& WithConfigOptions(const TopicConfigOptions& value) { SetConfigOptions(value); return *this;}
108 inline TopicDetails& WithConfigOptions(TopicConfigOptions&& value) { SetConfigOptions(std::move(value)); return *this;}
110 private:
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117
118 TopicUserExperienceVersion m_userExperienceVersion;
119 bool m_userExperienceVersionHasBeenSet = false;
120
122 bool m_dataSetsHasBeenSet = false;
123
124 TopicConfigOptions m_configOptions;
125 bool m_configOptionsHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace QuickSight
130} // namespace Aws
TopicDetails & WithDataSets(Aws::Vector< DatasetMetadata > &&value)
TopicDetails & WithUserExperienceVersion(const TopicUserExperienceVersion &value)
TopicDetails & WithName(const char *value)
const Aws::String & GetDescription() const
void SetDescription(const char *value)
TopicDetails & WithUserExperienceVersion(TopicUserExperienceVersion &&value)
TopicDetails & WithName(Aws::String &&value)
TopicDetails & WithDescription(Aws::String &&value)
TopicDetails & WithConfigOptions(const TopicConfigOptions &value)
TopicDetails & AddDataSets(const DatasetMetadata &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
void SetDataSets(Aws::Vector< DatasetMetadata > &&value)
void SetUserExperienceVersion(const TopicUserExperienceVersion &value)
void SetConfigOptions(const TopicConfigOptions &value)
TopicDetails & AddDataSets(DatasetMetadata &&value)
TopicDetails & WithDescription(const char *value)
void SetName(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetDataSets(const Aws::Vector< DatasetMetadata > &value)
void SetName(Aws::String &&value)
void SetConfigOptions(TopicConfigOptions &&value)
TopicDetails & WithDescription(const Aws::String &value)
const Aws::String & GetName() const
void SetDescription(Aws::String &&value)
AWS_QUICKSIGHT_API TopicDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
const TopicUserExperienceVersion & GetUserExperienceVersion() const
TopicDetails & WithDataSets(const Aws::Vector< DatasetMetadata > &value)
void SetUserExperienceVersion(TopicUserExperienceVersion &&value)
TopicDetails & WithConfigOptions(TopicConfigOptions &&value)
const TopicConfigOptions & GetConfigOptions() const
TopicDetails & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue