AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DashboardSourceTemplate.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 DashboardSourceTemplate() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<DataSetReference>& GetDataSetReferences() const { return m_dataSetReferences; }
47 inline bool DataSetReferencesHasBeenSet() const { return m_dataSetReferencesHasBeenSet; }
48 template<typename DataSetReferencesT = Aws::Vector<DataSetReference>>
49 void SetDataSetReferences(DataSetReferencesT&& value) { m_dataSetReferencesHasBeenSet = true; m_dataSetReferences = std::forward<DataSetReferencesT>(value); }
50 template<typename DataSetReferencesT = Aws::Vector<DataSetReference>>
51 DashboardSourceTemplate& WithDataSetReferences(DataSetReferencesT&& value) { SetDataSetReferences(std::forward<DataSetReferencesT>(value)); return *this;}
52 template<typename DataSetReferencesT = DataSetReference>
53 DashboardSourceTemplate& AddDataSetReferences(DataSetReferencesT&& value) { m_dataSetReferencesHasBeenSet = true; m_dataSetReferences.emplace_back(std::forward<DataSetReferencesT>(value)); return *this; }
55
57
60 inline const Aws::String& GetArn() const { return m_arn; }
61 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
62 template<typename ArnT = Aws::String>
63 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
64 template<typename ArnT = Aws::String>
65 DashboardSourceTemplate& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
67 private:
68
69 Aws::Vector<DataSetReference> m_dataSetReferences;
70 bool m_dataSetReferencesHasBeenSet = false;
71
72 Aws::String m_arn;
73 bool m_arnHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace QuickSight
78} // namespace Aws
DashboardSourceTemplate & WithDataSetReferences(DataSetReferencesT &&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)
DashboardSourceTemplate & WithArn(ArnT &&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