AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalysisDefinition.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/model/AnalysisDefaults.h>
10#include <aws/quicksight/model/AssetOptions.h>
11#include <aws/quicksight/model/QueryExecutionOptions.h>
12#include <aws/quicksight/model/DataSetIdentifierDeclaration.h>
13#include <aws/quicksight/model/SheetDefinition.h>
14#include <aws/quicksight/model/CalculatedField.h>
15#include <aws/quicksight/model/ParameterDeclaration.h>
16#include <aws/quicksight/model/FilterGroup.h>
17#include <aws/quicksight/model/ColumnConfiguration.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace QuickSight
31{
32namespace Model
33{
34
41 {
42 public:
43 AWS_QUICKSIGHT_API AnalysisDefinition();
44 AWS_QUICKSIGHT_API AnalysisDefinition(Aws::Utils::Json::JsonView jsonValue);
46 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
55 inline const Aws::Vector<DataSetIdentifierDeclaration>& GetDataSetIdentifierDeclarations() const{ return m_dataSetIdentifierDeclarations; }
56 inline bool DataSetIdentifierDeclarationsHasBeenSet() const { return m_dataSetIdentifierDeclarationsHasBeenSet; }
57 inline void SetDataSetIdentifierDeclarations(const Aws::Vector<DataSetIdentifierDeclaration>& value) { m_dataSetIdentifierDeclarationsHasBeenSet = true; m_dataSetIdentifierDeclarations = value; }
58 inline void SetDataSetIdentifierDeclarations(Aws::Vector<DataSetIdentifierDeclaration>&& value) { m_dataSetIdentifierDeclarationsHasBeenSet = true; m_dataSetIdentifierDeclarations = std::move(value); }
61 inline AnalysisDefinition& AddDataSetIdentifierDeclarations(const DataSetIdentifierDeclaration& value) { m_dataSetIdentifierDeclarationsHasBeenSet = true; m_dataSetIdentifierDeclarations.push_back(value); return *this; }
62 inline AnalysisDefinition& AddDataSetIdentifierDeclarations(DataSetIdentifierDeclaration&& value) { m_dataSetIdentifierDeclarationsHasBeenSet = true; m_dataSetIdentifierDeclarations.push_back(std::move(value)); return *this; }
64
66
71 inline const Aws::Vector<SheetDefinition>& GetSheets() const{ return m_sheets; }
72 inline bool SheetsHasBeenSet() const { return m_sheetsHasBeenSet; }
73 inline void SetSheets(const Aws::Vector<SheetDefinition>& value) { m_sheetsHasBeenSet = true; m_sheets = value; }
74 inline void SetSheets(Aws::Vector<SheetDefinition>&& value) { m_sheetsHasBeenSet = true; m_sheets = std::move(value); }
75 inline AnalysisDefinition& WithSheets(const Aws::Vector<SheetDefinition>& value) { SetSheets(value); return *this;}
76 inline AnalysisDefinition& WithSheets(Aws::Vector<SheetDefinition>&& value) { SetSheets(std::move(value)); return *this;}
77 inline AnalysisDefinition& AddSheets(const SheetDefinition& value) { m_sheetsHasBeenSet = true; m_sheets.push_back(value); return *this; }
78 inline AnalysisDefinition& AddSheets(SheetDefinition&& value) { m_sheetsHasBeenSet = true; m_sheets.push_back(std::move(value)); return *this; }
80
82
85 inline const Aws::Vector<CalculatedField>& GetCalculatedFields() const{ return m_calculatedFields; }
86 inline bool CalculatedFieldsHasBeenSet() const { return m_calculatedFieldsHasBeenSet; }
87 inline void SetCalculatedFields(const Aws::Vector<CalculatedField>& value) { m_calculatedFieldsHasBeenSet = true; m_calculatedFields = value; }
88 inline void SetCalculatedFields(Aws::Vector<CalculatedField>&& value) { m_calculatedFieldsHasBeenSet = true; m_calculatedFields = std::move(value); }
91 inline AnalysisDefinition& AddCalculatedFields(const CalculatedField& value) { m_calculatedFieldsHasBeenSet = true; m_calculatedFields.push_back(value); return *this; }
92 inline AnalysisDefinition& AddCalculatedFields(CalculatedField&& value) { m_calculatedFieldsHasBeenSet = true; m_calculatedFields.push_back(std::move(value)); return *this; }
94
96
103 inline const Aws::Vector<ParameterDeclaration>& GetParameterDeclarations() const{ return m_parameterDeclarations; }
104 inline bool ParameterDeclarationsHasBeenSet() const { return m_parameterDeclarationsHasBeenSet; }
105 inline void SetParameterDeclarations(const Aws::Vector<ParameterDeclaration>& value) { m_parameterDeclarationsHasBeenSet = true; m_parameterDeclarations = value; }
106 inline void SetParameterDeclarations(Aws::Vector<ParameterDeclaration>&& value) { m_parameterDeclarationsHasBeenSet = true; m_parameterDeclarations = std::move(value); }
109 inline AnalysisDefinition& AddParameterDeclarations(const ParameterDeclaration& value) { m_parameterDeclarationsHasBeenSet = true; m_parameterDeclarations.push_back(value); return *this; }
110 inline AnalysisDefinition& AddParameterDeclarations(ParameterDeclaration&& value) { m_parameterDeclarationsHasBeenSet = true; m_parameterDeclarations.push_back(std::move(value)); return *this; }
112
114
119 inline const Aws::Vector<FilterGroup>& GetFilterGroups() const{ return m_filterGroups; }
120 inline bool FilterGroupsHasBeenSet() const { return m_filterGroupsHasBeenSet; }
121 inline void SetFilterGroups(const Aws::Vector<FilterGroup>& value) { m_filterGroupsHasBeenSet = true; m_filterGroups = value; }
122 inline void SetFilterGroups(Aws::Vector<FilterGroup>&& value) { m_filterGroupsHasBeenSet = true; m_filterGroups = std::move(value); }
124 inline AnalysisDefinition& WithFilterGroups(Aws::Vector<FilterGroup>&& value) { SetFilterGroups(std::move(value)); return *this;}
125 inline AnalysisDefinition& AddFilterGroups(const FilterGroup& value) { m_filterGroupsHasBeenSet = true; m_filterGroups.push_back(value); return *this; }
126 inline AnalysisDefinition& AddFilterGroups(FilterGroup&& value) { m_filterGroupsHasBeenSet = true; m_filterGroups.push_back(std::move(value)); return *this; }
128
130
135 inline const Aws::Vector<ColumnConfiguration>& GetColumnConfigurations() const{ return m_columnConfigurations; }
136 inline bool ColumnConfigurationsHasBeenSet() const { return m_columnConfigurationsHasBeenSet; }
137 inline void SetColumnConfigurations(const Aws::Vector<ColumnConfiguration>& value) { m_columnConfigurationsHasBeenSet = true; m_columnConfigurations = value; }
138 inline void SetColumnConfigurations(Aws::Vector<ColumnConfiguration>&& value) { m_columnConfigurationsHasBeenSet = true; m_columnConfigurations = std::move(value); }
141 inline AnalysisDefinition& AddColumnConfigurations(const ColumnConfiguration& value) { m_columnConfigurationsHasBeenSet = true; m_columnConfigurations.push_back(value); return *this; }
142 inline AnalysisDefinition& AddColumnConfigurations(ColumnConfiguration&& value) { m_columnConfigurationsHasBeenSet = true; m_columnConfigurations.push_back(std::move(value)); return *this; }
144
146
147 inline const AnalysisDefaults& GetAnalysisDefaults() const{ return m_analysisDefaults; }
148 inline bool AnalysisDefaultsHasBeenSet() const { return m_analysisDefaultsHasBeenSet; }
149 inline void SetAnalysisDefaults(const AnalysisDefaults& value) { m_analysisDefaultsHasBeenSet = true; m_analysisDefaults = value; }
150 inline void SetAnalysisDefaults(AnalysisDefaults&& value) { m_analysisDefaultsHasBeenSet = true; m_analysisDefaults = std::move(value); }
152 inline AnalysisDefinition& WithAnalysisDefaults(AnalysisDefaults&& value) { SetAnalysisDefaults(std::move(value)); return *this;}
154
156
159 inline const AssetOptions& GetOptions() const{ return m_options; }
160 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
161 inline void SetOptions(const AssetOptions& value) { m_optionsHasBeenSet = true; m_options = value; }
162 inline void SetOptions(AssetOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
163 inline AnalysisDefinition& WithOptions(const AssetOptions& value) { SetOptions(value); return *this;}
164 inline AnalysisDefinition& WithOptions(AssetOptions&& value) { SetOptions(std::move(value)); return *this;}
166
168
169 inline const QueryExecutionOptions& GetQueryExecutionOptions() const{ return m_queryExecutionOptions; }
170 inline bool QueryExecutionOptionsHasBeenSet() const { return m_queryExecutionOptionsHasBeenSet; }
171 inline void SetQueryExecutionOptions(const QueryExecutionOptions& value) { m_queryExecutionOptionsHasBeenSet = true; m_queryExecutionOptions = value; }
172 inline void SetQueryExecutionOptions(QueryExecutionOptions&& value) { m_queryExecutionOptionsHasBeenSet = true; m_queryExecutionOptions = std::move(value); }
176 private:
177
178 Aws::Vector<DataSetIdentifierDeclaration> m_dataSetIdentifierDeclarations;
179 bool m_dataSetIdentifierDeclarationsHasBeenSet = false;
180
182 bool m_sheetsHasBeenSet = false;
183
184 Aws::Vector<CalculatedField> m_calculatedFields;
185 bool m_calculatedFieldsHasBeenSet = false;
186
187 Aws::Vector<ParameterDeclaration> m_parameterDeclarations;
188 bool m_parameterDeclarationsHasBeenSet = false;
189
190 Aws::Vector<FilterGroup> m_filterGroups;
191 bool m_filterGroupsHasBeenSet = false;
192
193 Aws::Vector<ColumnConfiguration> m_columnConfigurations;
194 bool m_columnConfigurationsHasBeenSet = false;
195
196 AnalysisDefaults m_analysisDefaults;
197 bool m_analysisDefaultsHasBeenSet = false;
198
199 AssetOptions m_options;
200 bool m_optionsHasBeenSet = false;
201
202 QueryExecutionOptions m_queryExecutionOptions;
203 bool m_queryExecutionOptionsHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace QuickSight
208} // namespace Aws
AWS_QUICKSIGHT_API AnalysisDefinition(Aws::Utils::Json::JsonView jsonValue)
AnalysisDefinition & WithSheets(const Aws::Vector< SheetDefinition > &value)
AnalysisDefinition & WithColumnConfigurations(const Aws::Vector< ColumnConfiguration > &value)
const AnalysisDefaults & GetAnalysisDefaults() const
void SetSheets(const Aws::Vector< SheetDefinition > &value)
AnalysisDefinition & AddCalculatedFields(const CalculatedField &value)
AnalysisDefinition & AddColumnConfigurations(const ColumnConfiguration &value)
AnalysisDefinition & AddColumnConfigurations(ColumnConfiguration &&value)
void SetDataSetIdentifierDeclarations(Aws::Vector< DataSetIdentifierDeclaration > &&value)
const Aws::Vector< ColumnConfiguration > & GetColumnConfigurations() const
const Aws::Vector< SheetDefinition > & GetSheets() const
AnalysisDefinition & AddFilterGroups(const FilterGroup &value)
AnalysisDefinition & WithDataSetIdentifierDeclarations(Aws::Vector< DataSetIdentifierDeclaration > &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAnalysisDefaults(AnalysisDefaults &&value)
AnalysisDefinition & AddParameterDeclarations(const ParameterDeclaration &value)
AnalysisDefinition & AddSheets(const SheetDefinition &value)
AnalysisDefinition & WithCalculatedFields(const Aws::Vector< CalculatedField > &value)
void SetDataSetIdentifierDeclarations(const Aws::Vector< DataSetIdentifierDeclaration > &value)
const Aws::Vector< DataSetIdentifierDeclaration > & GetDataSetIdentifierDeclarations() const
AnalysisDefinition & WithCalculatedFields(Aws::Vector< CalculatedField > &&value)
AnalysisDefinition & AddFilterGroups(FilterGroup &&value)
AnalysisDefinition & WithQueryExecutionOptions(const QueryExecutionOptions &value)
AnalysisDefinition & WithFilterGroups(Aws::Vector< FilterGroup > &&value)
AnalysisDefinition & WithOptions(AssetOptions &&value)
AnalysisDefinition & WithFilterGroups(const Aws::Vector< FilterGroup > &value)
AnalysisDefinition & AddSheets(SheetDefinition &&value)
void SetColumnConfigurations(const Aws::Vector< ColumnConfiguration > &value)
void SetColumnConfigurations(Aws::Vector< ColumnConfiguration > &&value)
AnalysisDefinition & WithAnalysisDefaults(AnalysisDefaults &&value)
void SetParameterDeclarations(const Aws::Vector< ParameterDeclaration > &value)
void SetOptions(const AssetOptions &value)
void SetQueryExecutionOptions(const QueryExecutionOptions &value)
void SetCalculatedFields(const Aws::Vector< CalculatedField > &value)
const QueryExecutionOptions & GetQueryExecutionOptions() const
AnalysisDefinition & WithAnalysisDefaults(const AnalysisDefaults &value)
void SetAnalysisDefaults(const AnalysisDefaults &value)
AnalysisDefinition & AddCalculatedFields(CalculatedField &&value)
void SetCalculatedFields(Aws::Vector< CalculatedField > &&value)
void SetSheets(Aws::Vector< SheetDefinition > &&value)
AnalysisDefinition & WithParameterDeclarations(Aws::Vector< ParameterDeclaration > &&value)
AnalysisDefinition & WithParameterDeclarations(const Aws::Vector< ParameterDeclaration > &value)
AnalysisDefinition & WithColumnConfigurations(Aws::Vector< ColumnConfiguration > &&value)
AnalysisDefinition & WithDataSetIdentifierDeclarations(const Aws::Vector< DataSetIdentifierDeclaration > &value)
const Aws::Vector< FilterGroup > & GetFilterGroups() const
void SetParameterDeclarations(Aws::Vector< ParameterDeclaration > &&value)
AnalysisDefinition & AddDataSetIdentifierDeclarations(DataSetIdentifierDeclaration &&value)
AnalysisDefinition & AddDataSetIdentifierDeclarations(const DataSetIdentifierDeclaration &value)
const Aws::Vector< ParameterDeclaration > & GetParameterDeclarations() const
void SetQueryExecutionOptions(QueryExecutionOptions &&value)
void SetFilterGroups(Aws::Vector< FilterGroup > &&value)
AnalysisDefinition & WithQueryExecutionOptions(QueryExecutionOptions &&value)
void SetFilterGroups(const Aws::Vector< FilterGroup > &value)
AWS_QUICKSIGHT_API AnalysisDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AnalysisDefinition & AddParameterDeclarations(ParameterDeclaration &&value)
const Aws::Vector< CalculatedField > & GetCalculatedFields() const
AnalysisDefinition & WithSheets(Aws::Vector< SheetDefinition > &&value)
AnalysisDefinition & WithOptions(const AssetOptions &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue