AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalysisSourceTemplate.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 AnalysisSourceTemplate();
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 inline void SetDataSetReferences(const Aws::Vector<DataSetReference>& value) { m_dataSetReferencesHasBeenSet = true; m_dataSetReferences = value; }
49 inline void SetDataSetReferences(Aws::Vector<DataSetReference>&& value) { m_dataSetReferencesHasBeenSet = true; m_dataSetReferences = std::move(value); }
52 inline AnalysisSourceTemplate& AddDataSetReferences(const DataSetReference& value) { m_dataSetReferencesHasBeenSet = true; m_dataSetReferences.push_back(value); return *this; }
53 inline AnalysisSourceTemplate& AddDataSetReferences(DataSetReference&& value) { m_dataSetReferencesHasBeenSet = true; m_dataSetReferences.push_back(std::move(value)); return *this; }
55
57
60 inline const Aws::String& GetArn() const{ return m_arn; }
61 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
62 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
63 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
64 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
65 inline AnalysisSourceTemplate& WithArn(const Aws::String& value) { SetArn(value); return *this;}
66 inline AnalysisSourceTemplate& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
67 inline AnalysisSourceTemplate& WithArn(const char* value) { SetArn(value); return *this;}
69 private:
70
71 Aws::Vector<DataSetReference> m_dataSetReferences;
72 bool m_dataSetReferencesHasBeenSet = false;
73
74 Aws::String m_arn;
75 bool m_arnHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace QuickSight
80} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API AnalysisSourceTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
AnalysisSourceTemplate & WithArn(Aws::String &&value)
void SetDataSetReferences(Aws::Vector< DataSetReference > &&value)
AnalysisSourceTemplate & WithDataSetReferences(const Aws::Vector< DataSetReference > &value)
AnalysisSourceTemplate & WithDataSetReferences(Aws::Vector< DataSetReference > &&value)
const Aws::Vector< DataSetReference > & GetDataSetReferences() const
AnalysisSourceTemplate & WithArn(const Aws::String &value)
AnalysisSourceTemplate & AddDataSetReferences(const DataSetReference &value)
AWS_QUICKSIGHT_API AnalysisSourceTemplate(Aws::Utils::Json::JsonView jsonValue)
AnalysisSourceTemplate & AddDataSetReferences(DataSetReference &&value)
AnalysisSourceTemplate & WithArn(const char *value)
void SetDataSetReferences(const Aws::Vector< DataSetReference > &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