AWS SDK for C++

AWS SDK for C++ Version 1.11.860

Loading...
Searching...
No Matches
DashboardSourceTemplate.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/DataSetReference.h>
11#include <aws/quicksight/model/TopicReference.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 DashboardSourceTemplate() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<DataSetReference>& GetDataSetReferences() const { return m_dataSetReferences; }
42 inline bool DataSetReferencesHasBeenSet() const { return m_dataSetReferencesHasBeenSet; }
43 template <typename DataSetReferencesT = Aws::Vector<DataSetReference>>
44 void SetDataSetReferences(DataSetReferencesT&& value) {
45 m_dataSetReferencesHasBeenSet = true;
46 m_dataSetReferences = std::forward<DataSetReferencesT>(value);
47 }
48 template <typename DataSetReferencesT = Aws::Vector<DataSetReference>>
49 DashboardSourceTemplate& WithDataSetReferences(DataSetReferencesT&& value) {
50 SetDataSetReferences(std::forward<DataSetReferencesT>(value));
51 return *this;
52 }
53 template <typename DataSetReferencesT = DataSetReference>
54 DashboardSourceTemplate& AddDataSetReferences(DataSetReferencesT&& value) {
55 m_dataSetReferencesHasBeenSet = true;
56 m_dataSetReferences.emplace_back(std::forward<DataSetReferencesT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::Vector<TopicReference>& GetTopicReferences() const { return m_topicReferences; }
66 inline bool TopicReferencesHasBeenSet() const { return m_topicReferencesHasBeenSet; }
67 template <typename TopicReferencesT = Aws::Vector<TopicReference>>
68 void SetTopicReferences(TopicReferencesT&& value) {
69 m_topicReferencesHasBeenSet = true;
70 m_topicReferences = std::forward<TopicReferencesT>(value);
71 }
72 template <typename TopicReferencesT = Aws::Vector<TopicReference>>
73 DashboardSourceTemplate& WithTopicReferences(TopicReferencesT&& value) {
74 SetTopicReferences(std::forward<TopicReferencesT>(value));
75 return *this;
76 }
77 template <typename TopicReferencesT = TopicReference>
78 DashboardSourceTemplate& AddTopicReferences(TopicReferencesT&& value) {
79 m_topicReferencesHasBeenSet = true;
80 m_topicReferences.emplace_back(std::forward<TopicReferencesT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetArn() const { return m_arn; }
90 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
91 template <typename ArnT = Aws::String>
92 void SetArn(ArnT&& value) {
93 m_arnHasBeenSet = true;
94 m_arn = std::forward<ArnT>(value);
95 }
96 template <typename ArnT = Aws::String>
98 SetArn(std::forward<ArnT>(value));
99 return *this;
100 }
102 private:
103 Aws::Vector<DataSetReference> m_dataSetReferences;
104
105 Aws::Vector<TopicReference> m_topicReferences;
106
107 Aws::String m_arn;
108 bool m_dataSetReferencesHasBeenSet = false;
109 bool m_topicReferencesHasBeenSet = false;
110 bool m_arnHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace QuickSight
115} // namespace Aws
DashboardSourceTemplate & WithDataSetReferences(DataSetReferencesT &&value)
DashboardSourceTemplate & WithTopicReferences(TopicReferencesT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API DashboardSourceTemplate()=default
AWS_QUICKSIGHT_API DashboardSourceTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TopicReference > & GetTopicReferences() const
DashboardSourceTemplate & WithArn(ArnT &&value)
DashboardSourceTemplate & AddTopicReferences(TopicReferencesT &&value)
DashboardSourceTemplate & AddDataSetReferences(DataSetReferencesT &&value)
const Aws::Vector< DataSetReference > & GetDataSetReferences() const
AWS_QUICKSIGHT_API DashboardSourceTemplate(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue