AWS SDK for C++

AWS SDK for C++ Version 1.11.860

Loading...
Searching...
No Matches
TopicV2Details.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/TopicV2DataSetReference.h>
11#include <aws/quicksight/model/TopicV2DataSetRelation.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
31 public:
32 AWS_QUICKSIGHT_API TopicV2Details() = default;
33 AWS_QUICKSIGHT_API TopicV2Details(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API TopicV2Details& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
49 TopicV2Details& WithName(NameT&& value) {
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDescription() const { return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 template <typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) {
63 m_descriptionHasBeenSet = true;
64 m_description = std::forward<DescriptionT>(value);
65 }
66 template <typename DescriptionT = Aws::String>
67 TopicV2Details& WithDescription(DescriptionT&& value) {
68 SetDescription(std::forward<DescriptionT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Vector<TopicV2DataSetReference>& GetDataSets() const { return m_dataSets; }
78 inline bool DataSetsHasBeenSet() const { return m_dataSetsHasBeenSet; }
79 template <typename DataSetsT = Aws::Vector<TopicV2DataSetReference>>
80 void SetDataSets(DataSetsT&& value) {
81 m_dataSetsHasBeenSet = true;
82 m_dataSets = std::forward<DataSetsT>(value);
83 }
84 template <typename DataSetsT = Aws::Vector<TopicV2DataSetReference>>
85 TopicV2Details& WithDataSets(DataSetsT&& value) {
86 SetDataSets(std::forward<DataSetsT>(value));
87 return *this;
88 }
89 template <typename DataSetsT = TopicV2DataSetReference>
90 TopicV2Details& AddDataSets(DataSetsT&& value) {
91 m_dataSetsHasBeenSet = true;
92 m_dataSets.emplace_back(std::forward<DataSetsT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::Vector<TopicV2DataSetRelation>& GetDataSetRelations() const { return m_dataSetRelations; }
102 inline bool DataSetRelationsHasBeenSet() const { return m_dataSetRelationsHasBeenSet; }
103 template <typename DataSetRelationsT = Aws::Vector<TopicV2DataSetRelation>>
104 void SetDataSetRelations(DataSetRelationsT&& value) {
105 m_dataSetRelationsHasBeenSet = true;
106 m_dataSetRelations = std::forward<DataSetRelationsT>(value);
107 }
108 template <typename DataSetRelationsT = Aws::Vector<TopicV2DataSetRelation>>
109 TopicV2Details& WithDataSetRelations(DataSetRelationsT&& value) {
110 SetDataSetRelations(std::forward<DataSetRelationsT>(value));
111 return *this;
112 }
113 template <typename DataSetRelationsT = TopicV2DataSetRelation>
114 TopicV2Details& AddDataSetRelations(DataSetRelationsT&& value) {
115 m_dataSetRelationsHasBeenSet = true;
116 m_dataSetRelations.emplace_back(std::forward<DataSetRelationsT>(value));
117 return *this;
118 }
120 private:
121 Aws::String m_name;
122
123 Aws::String m_description;
124
126
127 Aws::Vector<TopicV2DataSetRelation> m_dataSetRelations;
128 bool m_nameHasBeenSet = false;
129 bool m_descriptionHasBeenSet = false;
130 bool m_dataSetsHasBeenSet = false;
131 bool m_dataSetRelationsHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace QuickSight
136} // namespace Aws
AWS_QUICKSIGHT_API TopicV2Details()=default
const Aws::String & GetName() const
AWS_QUICKSIGHT_API TopicV2Details(Aws::Utils::Json::JsonView jsonValue)
TopicV2Details & WithDataSets(DataSetsT &&value)
const Aws::String & GetDescription() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TopicV2Details & AddDataSets(DataSetsT &&value)
AWS_QUICKSIGHT_API TopicV2Details & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TopicV2DataSetRelation > & GetDataSetRelations() const
TopicV2Details & WithDataSetRelations(DataSetRelationsT &&value)
TopicV2Details & WithName(NameT &&value)
void SetDescription(DescriptionT &&value)
TopicV2Details & WithDescription(DescriptionT &&value)
TopicV2Details & AddDataSetRelations(DataSetRelationsT &&value)
const Aws::Vector< TopicV2DataSetReference > & GetDataSets() const
void SetDataSetRelations(DataSetRelationsT &&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