AWS SDK for C++

AWS SDK for C++ Version 1.11.860

Loading...
Searching...
No Matches
TemplateSourceAnalysis.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 TemplateSourceAnalysis() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Vector<DataSetReference>& GetDataSetReferences() const { return m_dataSetReferences; }
61 inline bool DataSetReferencesHasBeenSet() const { return m_dataSetReferencesHasBeenSet; }
62 template <typename DataSetReferencesT = Aws::Vector<DataSetReference>>
63 void SetDataSetReferences(DataSetReferencesT&& value) {
64 m_dataSetReferencesHasBeenSet = true;
65 m_dataSetReferences = std::forward<DataSetReferencesT>(value);
66 }
67 template <typename DataSetReferencesT = Aws::Vector<DataSetReference>>
68 TemplateSourceAnalysis& WithDataSetReferences(DataSetReferencesT&& value) {
69 SetDataSetReferences(std::forward<DataSetReferencesT>(value));
70 return *this;
71 }
72 template <typename DataSetReferencesT = DataSetReference>
73 TemplateSourceAnalysis& AddDataSetReferences(DataSetReferencesT&& value) {
74 m_dataSetReferencesHasBeenSet = true;
75 m_dataSetReferences.emplace_back(std::forward<DataSetReferencesT>(value));
76 return *this;
77 }
79
81
85 inline const Aws::Vector<TopicReference>& GetTopicReferences() const { return m_topicReferences; }
86 inline bool TopicReferencesHasBeenSet() const { return m_topicReferencesHasBeenSet; }
87 template <typename TopicReferencesT = Aws::Vector<TopicReference>>
88 void SetTopicReferences(TopicReferencesT&& value) {
89 m_topicReferencesHasBeenSet = true;
90 m_topicReferences = std::forward<TopicReferencesT>(value);
91 }
92 template <typename TopicReferencesT = Aws::Vector<TopicReference>>
93 TemplateSourceAnalysis& WithTopicReferences(TopicReferencesT&& value) {
94 SetTopicReferences(std::forward<TopicReferencesT>(value));
95 return *this;
96 }
97 template <typename TopicReferencesT = TopicReference>
98 TemplateSourceAnalysis& AddTopicReferences(TopicReferencesT&& value) {
99 m_topicReferencesHasBeenSet = true;
100 m_topicReferences.emplace_back(std::forward<TopicReferencesT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_arn;
106
107 Aws::Vector<DataSetReference> m_dataSetReferences;
108
109 Aws::Vector<TopicReference> m_topicReferences;
110 bool m_arnHasBeenSet = false;
111 bool m_dataSetReferencesHasBeenSet = false;
112 bool m_topicReferencesHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace QuickSight
117} // namespace Aws
const Aws::Vector< DataSetReference > & GetDataSetReferences() const
AWS_QUICKSIGHT_API TemplateSourceAnalysis()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API TemplateSourceAnalysis(Aws::Utils::Json::JsonView jsonValue)
TemplateSourceAnalysis & WithDataSetReferences(DataSetReferencesT &&value)
TemplateSourceAnalysis & WithArn(ArnT &&value)
TemplateSourceAnalysis & AddTopicReferences(TopicReferencesT &&value)
const Aws::Vector< TopicReference > & GetTopicReferences() const
void SetDataSetReferences(DataSetReferencesT &&value)
TemplateSourceAnalysis & AddDataSetReferences(DataSetReferencesT &&value)
AWS_QUICKSIGHT_API TemplateSourceAnalysis & operator=(Aws::Utils::Json::JsonView jsonValue)
TemplateSourceAnalysis & WithTopicReferences(TopicReferencesT &&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