AWS SDK for C++

AWS SDK for C++ Version 1.11.744

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
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
30 public:
31 AWS_QUICKSIGHT_API TemplateSourceAnalysis() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::Vector<DataSetReference>& GetDataSetReferences() const { return m_dataSetReferences; }
60 inline bool DataSetReferencesHasBeenSet() const { return m_dataSetReferencesHasBeenSet; }
61 template <typename DataSetReferencesT = Aws::Vector<DataSetReference>>
62 void SetDataSetReferences(DataSetReferencesT&& value) {
63 m_dataSetReferencesHasBeenSet = true;
64 m_dataSetReferences = std::forward<DataSetReferencesT>(value);
65 }
66 template <typename DataSetReferencesT = Aws::Vector<DataSetReference>>
67 TemplateSourceAnalysis& WithDataSetReferences(DataSetReferencesT&& value) {
68 SetDataSetReferences(std::forward<DataSetReferencesT>(value));
69 return *this;
70 }
71 template <typename DataSetReferencesT = DataSetReference>
72 TemplateSourceAnalysis& AddDataSetReferences(DataSetReferencesT&& value) {
73 m_dataSetReferencesHasBeenSet = true;
74 m_dataSetReferences.emplace_back(std::forward<DataSetReferencesT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_arn;
80
81 Aws::Vector<DataSetReference> m_dataSetReferences;
82 bool m_arnHasBeenSet = false;
83 bool m_dataSetReferencesHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace QuickSight
88} // 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)
void SetDataSetReferences(DataSetReferencesT &&value)
TemplateSourceAnalysis & AddDataSetReferences(DataSetReferencesT &&value)
AWS_QUICKSIGHT_API TemplateSourceAnalysis & operator=(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