AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TemplateSourceAnalysis.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/DataSetReference.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_QUICKSIGHT_API TemplateSourceAnalysis() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 TemplateSourceAnalysis& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_dataSetReferencesHasBeenSet = true; m_dataSetReferences = std::forward<DataSetReferencesT>(value); }
63 template<typename DataSetReferencesT = Aws::Vector<DataSetReference>>
64 TemplateSourceAnalysis& WithDataSetReferences(DataSetReferencesT&& value) { SetDataSetReferences(std::forward<DataSetReferencesT>(value)); return *this;}
65 template<typename DataSetReferencesT = DataSetReference>
66 TemplateSourceAnalysis& AddDataSetReferences(DataSetReferencesT&& value) { m_dataSetReferencesHasBeenSet = true; m_dataSetReferences.emplace_back(std::forward<DataSetReferencesT>(value)); return *this; }
68 private:
69
70 Aws::String m_arn;
71 bool m_arnHasBeenSet = false;
72
73 Aws::Vector<DataSetReference> m_dataSetReferences;
74 bool m_dataSetReferencesHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace QuickSight
79} // 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