AWS SDK for C++  1.9.160
AWS SDK for C++
DashboardSourceTemplate.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace QuickSight
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::Vector<DataSetReference>& GetDataSetReferences() const{ return m_dataSetReferences; }
46 
50  inline bool DataSetReferencesHasBeenSet() const { return m_dataSetReferencesHasBeenSet; }
51 
55  inline void SetDataSetReferences(const Aws::Vector<DataSetReference>& value) { m_dataSetReferencesHasBeenSet = true; m_dataSetReferences = value; }
56 
60  inline void SetDataSetReferences(Aws::Vector<DataSetReference>&& value) { m_dataSetReferencesHasBeenSet = true; m_dataSetReferences = std::move(value); }
61 
65  inline DashboardSourceTemplate& WithDataSetReferences(const Aws::Vector<DataSetReference>& value) { SetDataSetReferences(value); return *this;}
66 
70  inline DashboardSourceTemplate& WithDataSetReferences(Aws::Vector<DataSetReference>&& value) { SetDataSetReferences(std::move(value)); return *this;}
71 
75  inline DashboardSourceTemplate& AddDataSetReferences(const DataSetReference& value) { m_dataSetReferencesHasBeenSet = true; m_dataSetReferences.push_back(value); return *this; }
76 
80  inline DashboardSourceTemplate& AddDataSetReferences(DataSetReference&& value) { m_dataSetReferencesHasBeenSet = true; m_dataSetReferences.push_back(std::move(value)); return *this; }
81 
82 
86  inline const Aws::String& GetArn() const{ return m_arn; }
87 
91  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
92 
96  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
97 
101  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
102 
106  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
107 
111  inline DashboardSourceTemplate& WithArn(const Aws::String& value) { SetArn(value); return *this;}
112 
116  inline DashboardSourceTemplate& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
117 
121  inline DashboardSourceTemplate& WithArn(const char* value) { SetArn(value); return *this;}
122 
123  private:
124 
125  Aws::Vector<DataSetReference> m_dataSetReferences;
126  bool m_dataSetReferencesHasBeenSet;
127 
128  Aws::String m_arn;
129  bool m_arnHasBeenSet;
130  };
131 
132 } // namespace Model
133 } // namespace QuickSight
134 } // namespace Aws
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DashboardSourceTemplate::WithArn
DashboardSourceTemplate & WithArn(const char *value)
Definition: DashboardSourceTemplate.h:121
Aws::QuickSight::Model::DashboardSourceTemplate::SetArn
void SetArn(const char *value)
Definition: DashboardSourceTemplate.h:106
Aws::QuickSight::Model::DashboardSourceTemplate::GetArn
const Aws::String & GetArn() const
Definition: DashboardSourceTemplate.h:86
Aws::QuickSight::Model::DashboardSourceTemplate
Definition: DashboardSourceTemplate.h:34
Aws::QuickSight::Model::DashboardSourceTemplate::WithArn
DashboardSourceTemplate & WithArn(Aws::String &&value)
Definition: DashboardSourceTemplate.h:116
Aws::QuickSight::Model::DashboardSourceTemplate::AddDataSetReferences
DashboardSourceTemplate & AddDataSetReferences(DataSetReference &&value)
Definition: DashboardSourceTemplate.h:80
Aws::QuickSight::Model::DashboardSourceTemplate::SetDataSetReferences
void SetDataSetReferences(Aws::Vector< DataSetReference > &&value)
Definition: DashboardSourceTemplate.h:60
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DataSetReference.h
Aws::QuickSight::Model::DashboardSourceTemplate::SetArn
void SetArn(const Aws::String &value)
Definition: DashboardSourceTemplate.h:96
Aws::QuickSight::Model::DashboardSourceTemplate::WithDataSetReferences
DashboardSourceTemplate & WithDataSetReferences(Aws::Vector< DataSetReference > &&value)
Definition: DashboardSourceTemplate.h:70
Aws::QuickSight::Model::DashboardSourceTemplate::WithArn
DashboardSourceTemplate & WithArn(const Aws::String &value)
Definition: DashboardSourceTemplate.h:111
AWSVector.h
Aws::QuickSight::Model::DashboardSourceTemplate::DashboardSourceTemplate
DashboardSourceTemplate(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::DashboardSourceTemplate::AddDataSetReferences
DashboardSourceTemplate & AddDataSetReferences(const DataSetReference &value)
Definition: DashboardSourceTemplate.h:75
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::DashboardSourceTemplate::operator=
DashboardSourceTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::DashboardSourceTemplate::DashboardSourceTemplate
DashboardSourceTemplate()
Aws::QuickSight::Model::DashboardSourceTemplate::SetDataSetReferences
void SetDataSetReferences(const Aws::Vector< DataSetReference > &value)
Definition: DashboardSourceTemplate.h:55
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DashboardSourceTemplate::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: DashboardSourceTemplate.h:91
Aws::QuickSight::Model::DataSetReference
Definition: DataSetReference.h:32
Aws::QuickSight::Model::DashboardSourceTemplate::WithDataSetReferences
DashboardSourceTemplate & WithDataSetReferences(const Aws::Vector< DataSetReference > &value)
Definition: DashboardSourceTemplate.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DashboardSourceTemplate::SetArn
void SetArn(Aws::String &&value)
Definition: DashboardSourceTemplate.h:101
Aws::QuickSight::Model::DashboardSourceTemplate::GetDataSetReferences
const Aws::Vector< DataSetReference > & GetDataSetReferences() const
Definition: DashboardSourceTemplate.h:45
Aws::QuickSight::Model::DashboardSourceTemplate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::DashboardSourceTemplate::DataSetReferencesHasBeenSet
bool DataSetReferencesHasBeenSet() const
Definition: DashboardSourceTemplate.h:50