AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetMetadata.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/DataAggregation.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/quicksight/model/TopicFilter.h>
12#include <aws/quicksight/model/TopicColumn.h>
13#include <aws/quicksight/model/TopicCalculatedField.h>
14#include <aws/quicksight/model/TopicNamedEntity.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace QuickSight
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_QUICKSIGHT_API DatasetMetadata();
41 AWS_QUICKSIGHT_API DatasetMetadata(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
51 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
52 inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
53 inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
54 inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
55 inline DatasetMetadata& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
56 inline DatasetMetadata& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
57 inline DatasetMetadata& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
59
61
64 inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
65 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
66 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
67 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
68 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
69 inline DatasetMetadata& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
70 inline DatasetMetadata& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
71 inline DatasetMetadata& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
73
75
78 inline const Aws::String& GetDatasetDescription() const{ return m_datasetDescription; }
79 inline bool DatasetDescriptionHasBeenSet() const { return m_datasetDescriptionHasBeenSet; }
80 inline void SetDatasetDescription(const Aws::String& value) { m_datasetDescriptionHasBeenSet = true; m_datasetDescription = value; }
81 inline void SetDatasetDescription(Aws::String&& value) { m_datasetDescriptionHasBeenSet = true; m_datasetDescription = std::move(value); }
82 inline void SetDatasetDescription(const char* value) { m_datasetDescriptionHasBeenSet = true; m_datasetDescription.assign(value); }
83 inline DatasetMetadata& WithDatasetDescription(const Aws::String& value) { SetDatasetDescription(value); return *this;}
84 inline DatasetMetadata& WithDatasetDescription(Aws::String&& value) { SetDatasetDescription(std::move(value)); return *this;}
85 inline DatasetMetadata& WithDatasetDescription(const char* value) { SetDatasetDescription(value); return *this;}
87
89
92 inline const DataAggregation& GetDataAggregation() const{ return m_dataAggregation; }
93 inline bool DataAggregationHasBeenSet() const { return m_dataAggregationHasBeenSet; }
94 inline void SetDataAggregation(const DataAggregation& value) { m_dataAggregationHasBeenSet = true; m_dataAggregation = value; }
95 inline void SetDataAggregation(DataAggregation&& value) { m_dataAggregationHasBeenSet = true; m_dataAggregation = std::move(value); }
96 inline DatasetMetadata& WithDataAggregation(const DataAggregation& value) { SetDataAggregation(value); return *this;}
97 inline DatasetMetadata& WithDataAggregation(DataAggregation&& value) { SetDataAggregation(std::move(value)); return *this;}
99
101
104 inline const Aws::Vector<TopicFilter>& GetFilters() const{ return m_filters; }
105 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
106 inline void SetFilters(const Aws::Vector<TopicFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
107 inline void SetFilters(Aws::Vector<TopicFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
108 inline DatasetMetadata& WithFilters(const Aws::Vector<TopicFilter>& value) { SetFilters(value); return *this;}
109 inline DatasetMetadata& WithFilters(Aws::Vector<TopicFilter>&& value) { SetFilters(std::move(value)); return *this;}
110 inline DatasetMetadata& AddFilters(const TopicFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
111 inline DatasetMetadata& AddFilters(TopicFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
113
115
118 inline const Aws::Vector<TopicColumn>& GetColumns() const{ return m_columns; }
119 inline bool ColumnsHasBeenSet() const { return m_columnsHasBeenSet; }
120 inline void SetColumns(const Aws::Vector<TopicColumn>& value) { m_columnsHasBeenSet = true; m_columns = value; }
121 inline void SetColumns(Aws::Vector<TopicColumn>&& value) { m_columnsHasBeenSet = true; m_columns = std::move(value); }
122 inline DatasetMetadata& WithColumns(const Aws::Vector<TopicColumn>& value) { SetColumns(value); return *this;}
123 inline DatasetMetadata& WithColumns(Aws::Vector<TopicColumn>&& value) { SetColumns(std::move(value)); return *this;}
124 inline DatasetMetadata& AddColumns(const TopicColumn& value) { m_columnsHasBeenSet = true; m_columns.push_back(value); return *this; }
125 inline DatasetMetadata& AddColumns(TopicColumn&& value) { m_columnsHasBeenSet = true; m_columns.push_back(std::move(value)); return *this; }
127
129
132 inline const Aws::Vector<TopicCalculatedField>& GetCalculatedFields() const{ return m_calculatedFields; }
133 inline bool CalculatedFieldsHasBeenSet() const { return m_calculatedFieldsHasBeenSet; }
134 inline void SetCalculatedFields(const Aws::Vector<TopicCalculatedField>& value) { m_calculatedFieldsHasBeenSet = true; m_calculatedFields = value; }
135 inline void SetCalculatedFields(Aws::Vector<TopicCalculatedField>&& value) { m_calculatedFieldsHasBeenSet = true; m_calculatedFields = std::move(value); }
138 inline DatasetMetadata& AddCalculatedFields(const TopicCalculatedField& value) { m_calculatedFieldsHasBeenSet = true; m_calculatedFields.push_back(value); return *this; }
139 inline DatasetMetadata& AddCalculatedFields(TopicCalculatedField&& value) { m_calculatedFieldsHasBeenSet = true; m_calculatedFields.push_back(std::move(value)); return *this; }
141
143
146 inline const Aws::Vector<TopicNamedEntity>& GetNamedEntities() const{ return m_namedEntities; }
147 inline bool NamedEntitiesHasBeenSet() const { return m_namedEntitiesHasBeenSet; }
148 inline void SetNamedEntities(const Aws::Vector<TopicNamedEntity>& value) { m_namedEntitiesHasBeenSet = true; m_namedEntities = value; }
149 inline void SetNamedEntities(Aws::Vector<TopicNamedEntity>&& value) { m_namedEntitiesHasBeenSet = true; m_namedEntities = std::move(value); }
151 inline DatasetMetadata& WithNamedEntities(Aws::Vector<TopicNamedEntity>&& value) { SetNamedEntities(std::move(value)); return *this;}
152 inline DatasetMetadata& AddNamedEntities(const TopicNamedEntity& value) { m_namedEntitiesHasBeenSet = true; m_namedEntities.push_back(value); return *this; }
153 inline DatasetMetadata& AddNamedEntities(TopicNamedEntity&& value) { m_namedEntitiesHasBeenSet = true; m_namedEntities.push_back(std::move(value)); return *this; }
155 private:
156
157 Aws::String m_datasetArn;
158 bool m_datasetArnHasBeenSet = false;
159
160 Aws::String m_datasetName;
161 bool m_datasetNameHasBeenSet = false;
162
163 Aws::String m_datasetDescription;
164 bool m_datasetDescriptionHasBeenSet = false;
165
166 DataAggregation m_dataAggregation;
167 bool m_dataAggregationHasBeenSet = false;
168
169 Aws::Vector<TopicFilter> m_filters;
170 bool m_filtersHasBeenSet = false;
171
172 Aws::Vector<TopicColumn> m_columns;
173 bool m_columnsHasBeenSet = false;
174
175 Aws::Vector<TopicCalculatedField> m_calculatedFields;
176 bool m_calculatedFieldsHasBeenSet = false;
177
178 Aws::Vector<TopicNamedEntity> m_namedEntities;
179 bool m_namedEntitiesHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace QuickSight
184} // namespace Aws
void SetColumns(const Aws::Vector< TopicColumn > &value)
DatasetMetadata & WithDatasetArn(Aws::String &&value)
DatasetMetadata & WithDatasetName(Aws::String &&value)
DatasetMetadata & WithDataAggregation(DataAggregation &&value)
const Aws::String & GetDatasetDescription() const
DatasetMetadata & WithDatasetDescription(const Aws::String &value)
void SetDatasetDescription(const Aws::String &value)
DatasetMetadata & AddNamedEntities(TopicNamedEntity &&value)
void SetDatasetArn(Aws::String &&value)
AWS_QUICKSIGHT_API DatasetMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
DatasetMetadata & WithCalculatedFields(const Aws::Vector< TopicCalculatedField > &value)
const Aws::Vector< TopicColumn > & GetColumns() const
DatasetMetadata & WithFilters(Aws::Vector< TopicFilter > &&value)
const DataAggregation & GetDataAggregation() const
const Aws::Vector< TopicFilter > & GetFilters() const
DatasetMetadata & AddCalculatedFields(const TopicCalculatedField &value)
DatasetMetadata & WithDatasetName(const char *value)
DatasetMetadata & WithNamedEntities(const Aws::Vector< TopicNamedEntity > &value)
DatasetMetadata & AddColumns(TopicColumn &&value)
void SetDatasetName(const Aws::String &value)
DatasetMetadata & WithColumns(Aws::Vector< TopicColumn > &&value)
void SetDataAggregation(DataAggregation &&value)
AWS_QUICKSIGHT_API DatasetMetadata(Aws::Utils::Json::JsonView jsonValue)
DatasetMetadata & AddFilters(TopicFilter &&value)
DatasetMetadata & WithColumns(const Aws::Vector< TopicColumn > &value)
DatasetMetadata & WithDataAggregation(const DataAggregation &value)
DatasetMetadata & WithDatasetArn(const char *value)
DatasetMetadata & WithNamedEntities(Aws::Vector< TopicNamedEntity > &&value)
DatasetMetadata & AddNamedEntities(const TopicNamedEntity &value)
void SetDatasetArn(const Aws::String &value)
void SetCalculatedFields(Aws::Vector< TopicCalculatedField > &&value)
void SetDatasetName(Aws::String &&value)
void SetNamedEntities(Aws::Vector< TopicNamedEntity > &&value)
DatasetMetadata & WithDatasetDescription(Aws::String &&value)
const Aws::Vector< TopicNamedEntity > & GetNamedEntities() const
const Aws::String & GetDatasetArn() const
void SetColumns(Aws::Vector< TopicColumn > &&value)
void SetNamedEntities(const Aws::Vector< TopicNamedEntity > &value)
void SetCalculatedFields(const Aws::Vector< TopicCalculatedField > &value)
void SetDataAggregation(const DataAggregation &value)
void SetFilters(const Aws::Vector< TopicFilter > &value)
DatasetMetadata & AddColumns(const TopicColumn &value)
DatasetMetadata & WithDatasetDescription(const char *value)
DatasetMetadata & AddCalculatedFields(TopicCalculatedField &&value)
DatasetMetadata & AddFilters(const TopicFilter &value)
const Aws::Vector< TopicCalculatedField > & GetCalculatedFields() const
DatasetMetadata & WithDatasetArn(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetMetadata & WithDatasetName(const Aws::String &value)
const Aws::String & GetDatasetName() const
void SetDatasetDescription(Aws::String &&value)
DatasetMetadata & WithFilters(const Aws::Vector< TopicFilter > &value)
void SetFilters(Aws::Vector< TopicFilter > &&value)
DatasetMetadata & WithCalculatedFields(Aws::Vector< TopicCalculatedField > &&value)
void SetDatasetDescription(const char *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