AWS SDK for C++  1.9.102
AWS SDK for C++
Filter.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Personalize
23 {
24 namespace Model
25 {
26 
34  {
35  public:
36  Filter();
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline Filter& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline Filter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline Filter& WithName(const char* value) { SetName(value); return *this;}
81 
82 
86  inline const Aws::String& GetFilterArn() const{ return m_filterArn; }
87 
91  inline bool FilterArnHasBeenSet() const { return m_filterArnHasBeenSet; }
92 
96  inline void SetFilterArn(const Aws::String& value) { m_filterArnHasBeenSet = true; m_filterArn = value; }
97 
101  inline void SetFilterArn(Aws::String&& value) { m_filterArnHasBeenSet = true; m_filterArn = std::move(value); }
102 
106  inline void SetFilterArn(const char* value) { m_filterArnHasBeenSet = true; m_filterArn.assign(value); }
107 
111  inline Filter& WithFilterArn(const Aws::String& value) { SetFilterArn(value); return *this;}
112 
116  inline Filter& WithFilterArn(Aws::String&& value) { SetFilterArn(std::move(value)); return *this;}
117 
121  inline Filter& WithFilterArn(const char* value) { SetFilterArn(value); return *this;}
122 
123 
127  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
128 
132  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
133 
137  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
138 
142  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
143 
147  inline Filter& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
148 
152  inline Filter& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
153 
154 
158  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
159 
163  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
164 
168  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
169 
173  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
174 
178  inline Filter& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
179 
183  inline Filter& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
184 
185 
189  inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
190 
194  inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
195 
199  inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
200 
204  inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
205 
209  inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
210 
214  inline Filter& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
215 
219  inline Filter& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
220 
224  inline Filter& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
225 
226 
230  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
231 
235  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
236 
240  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
241 
245  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
246 
250  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
251 
255  inline Filter& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
256 
260  inline Filter& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
261 
265  inline Filter& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
266 
267 
274  inline const Aws::String& GetFilterExpression() const{ return m_filterExpression; }
275 
282  inline bool FilterExpressionHasBeenSet() const { return m_filterExpressionHasBeenSet; }
283 
290  inline void SetFilterExpression(const Aws::String& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = value; }
291 
298  inline void SetFilterExpression(Aws::String&& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = std::move(value); }
299 
306  inline void SetFilterExpression(const char* value) { m_filterExpressionHasBeenSet = true; m_filterExpression.assign(value); }
307 
314  inline Filter& WithFilterExpression(const Aws::String& value) { SetFilterExpression(value); return *this;}
315 
322  inline Filter& WithFilterExpression(Aws::String&& value) { SetFilterExpression(std::move(value)); return *this;}
323 
330  inline Filter& WithFilterExpression(const char* value) { SetFilterExpression(value); return *this;}
331 
332 
336  inline const Aws::String& GetStatus() const{ return m_status; }
337 
341  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
342 
346  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
347 
351  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
352 
356  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
357 
361  inline Filter& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
362 
366  inline Filter& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
367 
371  inline Filter& WithStatus(const char* value) { SetStatus(value); return *this;}
372 
373  private:
374 
375  Aws::String m_name;
376  bool m_nameHasBeenSet;
377 
378  Aws::String m_filterArn;
379  bool m_filterArnHasBeenSet;
380 
381  Aws::Utils::DateTime m_creationDateTime;
382  bool m_creationDateTimeHasBeenSet;
383 
384  Aws::Utils::DateTime m_lastUpdatedDateTime;
385  bool m_lastUpdatedDateTimeHasBeenSet;
386 
387  Aws::String m_datasetGroupArn;
388  bool m_datasetGroupArnHasBeenSet;
389 
390  Aws::String m_failureReason;
391  bool m_failureReasonHasBeenSet;
392 
393  Aws::String m_filterExpression;
394  bool m_filterExpressionHasBeenSet;
395 
396  Aws::String m_status;
397  bool m_statusHasBeenSet;
398  };
399 
400 } // namespace Model
401 } // namespace Personalize
402 } // namespace Aws
Aws::Personalize::Model::Filter::WithDatasetGroupArn
Filter & WithDatasetGroupArn(Aws::String &&value)
Definition: Filter.h:219
Aws::Personalize::Model::Filter::WithLastUpdatedDateTime
Filter & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: Filter.h:178
Aws::Personalize::Model::Filter::GetStatus
const Aws::String & GetStatus() const
Definition: Filter.h:336
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::Filter::WithFilterExpression
Filter & WithFilterExpression(const Aws::String &value)
Definition: Filter.h:314
Aws::Personalize::Model::Filter::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: Filter.h:127
Aws::Personalize::Model::Filter::SetDatasetGroupArn
void SetDatasetGroupArn(const char *value)
Definition: Filter.h:209
Aws::Personalize::Model::Filter::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: Filter.h:163
Aws::Personalize::Model::Filter::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: Filter.h:341
Aws::Personalize::Model::Filter::WithCreationDateTime
Filter & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: Filter.h:152
Aws::Personalize::Model::Filter::WithFilterExpression
Filter & WithFilterExpression(const char *value)
Definition: Filter.h:330
Aws::Personalize::Model::Filter::WithLastUpdatedDateTime
Filter & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: Filter.h:183
Aws::Personalize::Model::Filter::WithCreationDateTime
Filter & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: Filter.h:147
Aws::Personalize::Model::Filter::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: Filter.h:245
Aws::Personalize::Model::Filter::Filter
Filter()
Aws::Personalize::Model::Filter::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: Filter.h:235
Aws::Personalize::Model::Filter::WithFailureReason
Filter & WithFailureReason(const Aws::String &value)
Definition: Filter.h:255
Aws::Personalize::Model::Filter::WithStatus
Filter & WithStatus(Aws::String &&value)
Definition: Filter.h:366
DateTime.h
Aws::Personalize::Model::Filter::FilterArnHasBeenSet
bool FilterArnHasBeenSet() const
Definition: Filter.h:91
Aws::Personalize::Model::Filter::SetStatus
void SetStatus(const char *value)
Definition: Filter.h:356
Aws::Personalize::Model::Filter::Filter
Filter(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::Filter::SetDatasetGroupArn
void SetDatasetGroupArn(Aws::String &&value)
Definition: Filter.h:204
Aws::Personalize::Model::Filter::WithStatus
Filter & WithStatus(const char *value)
Definition: Filter.h:371
Aws::Personalize::Model::Filter::SetName
void SetName(const char *value)
Definition: Filter.h:65
Aws::Personalize::Model::Filter::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: Filter.h:132
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::Filter::SetFailureReason
void SetFailureReason(const char *value)
Definition: Filter.h:250
Aws::Personalize::Model::Filter::SetName
void SetName(const Aws::String &value)
Definition: Filter.h:55
Aws::Personalize::Model::Filter::WithFilterArn
Filter & WithFilterArn(Aws::String &&value)
Definition: Filter.h:116
Aws::Personalize::Model::Filter
Definition: Filter.h:34
Aws::Personalize::Model::Filter::SetFilterExpression
void SetFilterExpression(const Aws::String &value)
Definition: Filter.h:290
Aws::Personalize::Model::Filter::WithName
Filter & WithName(const char *value)
Definition: Filter.h:80
Aws::Personalize::Model::Filter::GetFilterExpression
const Aws::String & GetFilterExpression() const
Definition: Filter.h:274
Aws::Personalize::Model::Filter::WithDatasetGroupArn
Filter & WithDatasetGroupArn(const char *value)
Definition: Filter.h:224
Aws::Personalize::Model::Filter::SetFilterExpression
void SetFilterExpression(Aws::String &&value)
Definition: Filter.h:298
Aws::Personalize::Model::Filter::WithStatus
Filter & WithStatus(const Aws::String &value)
Definition: Filter.h:361
Aws::Personalize::Model::Filter::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: Filter.h:168
Aws::Personalize::Model::Filter::WithFailureReason
Filter & WithFailureReason(const char *value)
Definition: Filter.h:265
Aws::Personalize::Model::Filter::FilterExpressionHasBeenSet
bool FilterExpressionHasBeenSet() const
Definition: Filter.h:282
Aws::Personalize::Model::Filter::WithDatasetGroupArn
Filter & WithDatasetGroupArn(const Aws::String &value)
Definition: Filter.h:214
Aws::Personalize::Model::Filter::operator=
Filter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::Filter::DatasetGroupArnHasBeenSet
bool DatasetGroupArnHasBeenSet() const
Definition: Filter.h:194
Aws::Personalize::Model::Filter::WithFailureReason
Filter & WithFailureReason(Aws::String &&value)
Definition: Filter.h:260
Aws::Personalize::Model::Filter::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: Filter.h:173
Aws::Personalize::Model::Filter::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: Filter.h:158
Aws::Personalize::Model::Filter::SetDatasetGroupArn
void SetDatasetGroupArn(const Aws::String &value)
Definition: Filter.h:199
Aws::Personalize::Model::Filter::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Filter.h:50
Aws::Personalize::Model::Filter::WithFilterArn
Filter & WithFilterArn(const char *value)
Definition: Filter.h:121
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Personalize::Model::Filter::WithFilterExpression
Filter & WithFilterExpression(Aws::String &&value)
Definition: Filter.h:322
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::Filter::SetName
void SetName(Aws::String &&value)
Definition: Filter.h:60
Aws::Personalize::Model::Filter::GetFilterArn
const Aws::String & GetFilterArn() const
Definition: Filter.h:86
Aws::Personalize::Model::Filter::SetFilterArn
void SetFilterArn(const Aws::String &value)
Definition: Filter.h:96
Aws::Personalize::Model::Filter::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: Filter.h:137
Aws::Personalize::Model::Filter::SetFilterArn
void SetFilterArn(Aws::String &&value)
Definition: Filter.h:101
Aws::Personalize::Model::Filter::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: Filter.h:240
Aws::Personalize::Model::Filter::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: Filter.h:230
Aws::Personalize::Model::Filter::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: Filter.h:142
Aws::Personalize::Model::Filter::WithName
Filter & WithName(Aws::String &&value)
Definition: Filter.h:75
Aws::Personalize::Model::Filter::WithName
Filter & WithName(const Aws::String &value)
Definition: Filter.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::Filter::WithFilterArn
Filter & WithFilterArn(const Aws::String &value)
Definition: Filter.h:111
Aws::Personalize::Model::Filter::GetDatasetGroupArn
const Aws::String & GetDatasetGroupArn() const
Definition: Filter.h:189
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::Filter::GetName
const Aws::String & GetName() const
Definition: Filter.h:45
Aws::Personalize::Model::Filter::SetFilterArn
void SetFilterArn(const char *value)
Definition: Filter.h:106
Aws::Personalize::Model::Filter::SetStatus
void SetStatus(Aws::String &&value)
Definition: Filter.h:351
Personalize_EXPORTS.h
Aws::Personalize::Model::Filter::SetFilterExpression
void SetFilterExpression(const char *value)
Definition: Filter.h:306
Aws::Personalize::Model::Filter::SetStatus
void SetStatus(const Aws::String &value)
Definition: Filter.h:346
Aws::Personalize::Model::Filter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const