AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
AnalysisSourceTemplate.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 AnalysisSourceTemplate() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<DataSetReference>& GetDataSetReferences() const { return m_dataSetReferences; }
41 inline bool DataSetReferencesHasBeenSet() const { return m_dataSetReferencesHasBeenSet; }
42 template <typename DataSetReferencesT = Aws::Vector<DataSetReference>>
43 void SetDataSetReferences(DataSetReferencesT&& value) {
44 m_dataSetReferencesHasBeenSet = true;
45 m_dataSetReferences = std::forward<DataSetReferencesT>(value);
46 }
47 template <typename DataSetReferencesT = Aws::Vector<DataSetReference>>
48 AnalysisSourceTemplate& WithDataSetReferences(DataSetReferencesT&& value) {
49 SetDataSetReferences(std::forward<DataSetReferencesT>(value));
50 return *this;
51 }
52 template <typename DataSetReferencesT = DataSetReference>
53 AnalysisSourceTemplate& AddDataSetReferences(DataSetReferencesT&& value) {
54 m_dataSetReferencesHasBeenSet = true;
55 m_dataSetReferences.emplace_back(std::forward<DataSetReferencesT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetArn() const { return m_arn; }
65 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
66 template <typename ArnT = Aws::String>
67 void SetArn(ArnT&& value) {
68 m_arnHasBeenSet = true;
69 m_arn = std::forward<ArnT>(value);
70 }
71 template <typename ArnT = Aws::String>
73 SetArn(std::forward<ArnT>(value));
74 return *this;
75 }
77 private:
78 Aws::Vector<DataSetReference> m_dataSetReferences;
79
80 Aws::String m_arn;
81 bool m_dataSetReferencesHasBeenSet = false;
82 bool m_arnHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace QuickSight
87} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API AnalysisSourceTemplate()=default
void SetDataSetReferences(DataSetReferencesT &&value)
AWS_QUICKSIGHT_API AnalysisSourceTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DataSetReference > & GetDataSetReferences() const
AnalysisSourceTemplate & AddDataSetReferences(DataSetReferencesT &&value)
AnalysisSourceTemplate & WithDataSetReferences(DataSetReferencesT &&value)
AWS_QUICKSIGHT_API AnalysisSourceTemplate(Aws::Utils::Json::JsonView jsonValue)
AnalysisSourceTemplate & WithArn(ArnT &&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