AWS SDK for C++  1.9.108
AWS SDK for C++
ListDatasetEntriesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace LookoutforVision
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "ListDatasetEntries"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
45  inline const Aws::String& GetProjectName() const{ return m_projectName; }
46 
50  inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
51 
55  inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
56 
60  inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
61 
65  inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
66 
70  inline ListDatasetEntriesRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
71 
75  inline ListDatasetEntriesRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
76 
80  inline ListDatasetEntriesRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
81 
82 
88  inline const Aws::String& GetDatasetType() const{ return m_datasetType; }
89 
95  inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
96 
102  inline void SetDatasetType(const Aws::String& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; }
103 
109  inline void SetDatasetType(Aws::String&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); }
110 
116  inline void SetDatasetType(const char* value) { m_datasetTypeHasBeenSet = true; m_datasetType.assign(value); }
117 
123  inline ListDatasetEntriesRequest& WithDatasetType(const Aws::String& value) { SetDatasetType(value); return *this;}
124 
130  inline ListDatasetEntriesRequest& WithDatasetType(Aws::String&& value) { SetDatasetType(std::move(value)); return *this;}
131 
137  inline ListDatasetEntriesRequest& WithDatasetType(const char* value) { SetDatasetType(value); return *this;}
138 
139 
145  inline bool GetLabeled() const{ return m_labeled; }
146 
152  inline bool LabeledHasBeenSet() const { return m_labeledHasBeenSet; }
153 
159  inline void SetLabeled(bool value) { m_labeledHasBeenSet = true; m_labeled = value; }
160 
166  inline ListDatasetEntriesRequest& WithLabeled(bool value) { SetLabeled(value); return *this;}
167 
168 
174  inline const Aws::String& GetAnomalyClass() const{ return m_anomalyClass; }
175 
181  inline bool AnomalyClassHasBeenSet() const { return m_anomalyClassHasBeenSet; }
182 
188  inline void SetAnomalyClass(const Aws::String& value) { m_anomalyClassHasBeenSet = true; m_anomalyClass = value; }
189 
195  inline void SetAnomalyClass(Aws::String&& value) { m_anomalyClassHasBeenSet = true; m_anomalyClass = std::move(value); }
196 
202  inline void SetAnomalyClass(const char* value) { m_anomalyClassHasBeenSet = true; m_anomalyClass.assign(value); }
203 
209  inline ListDatasetEntriesRequest& WithAnomalyClass(const Aws::String& value) { SetAnomalyClass(value); return *this;}
210 
216  inline ListDatasetEntriesRequest& WithAnomalyClass(Aws::String&& value) { SetAnomalyClass(std::move(value)); return *this;}
217 
223  inline ListDatasetEntriesRequest& WithAnomalyClass(const char* value) { SetAnomalyClass(value); return *this;}
224 
225 
230  inline const Aws::Utils::DateTime& GetBeforeCreationDate() const{ return m_beforeCreationDate; }
231 
236  inline bool BeforeCreationDateHasBeenSet() const { return m_beforeCreationDateHasBeenSet; }
237 
242  inline void SetBeforeCreationDate(const Aws::Utils::DateTime& value) { m_beforeCreationDateHasBeenSet = true; m_beforeCreationDate = value; }
243 
248  inline void SetBeforeCreationDate(Aws::Utils::DateTime&& value) { m_beforeCreationDateHasBeenSet = true; m_beforeCreationDate = std::move(value); }
249 
254  inline ListDatasetEntriesRequest& WithBeforeCreationDate(const Aws::Utils::DateTime& value) { SetBeforeCreationDate(value); return *this;}
255 
260  inline ListDatasetEntriesRequest& WithBeforeCreationDate(Aws::Utils::DateTime&& value) { SetBeforeCreationDate(std::move(value)); return *this;}
261 
262 
267  inline const Aws::Utils::DateTime& GetAfterCreationDate() const{ return m_afterCreationDate; }
268 
273  inline bool AfterCreationDateHasBeenSet() const { return m_afterCreationDateHasBeenSet; }
274 
279  inline void SetAfterCreationDate(const Aws::Utils::DateTime& value) { m_afterCreationDateHasBeenSet = true; m_afterCreationDate = value; }
280 
285  inline void SetAfterCreationDate(Aws::Utils::DateTime&& value) { m_afterCreationDateHasBeenSet = true; m_afterCreationDate = std::move(value); }
286 
291  inline ListDatasetEntriesRequest& WithAfterCreationDate(const Aws::Utils::DateTime& value) { SetAfterCreationDate(value); return *this;}
292 
297  inline ListDatasetEntriesRequest& WithAfterCreationDate(Aws::Utils::DateTime&& value) { SetAfterCreationDate(std::move(value)); return *this;}
298 
299 
306  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
307 
314  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
315 
322  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
323 
330  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
331 
338  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
339 
346  inline ListDatasetEntriesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
347 
354  inline ListDatasetEntriesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
355 
362  inline ListDatasetEntriesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
363 
364 
370  inline int GetMaxResults() const{ return m_maxResults; }
371 
377  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
378 
384  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
385 
391  inline ListDatasetEntriesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
392 
393 
399  inline const Aws::String& GetSourceRefContains() const{ return m_sourceRefContains; }
400 
406  inline bool SourceRefContainsHasBeenSet() const { return m_sourceRefContainsHasBeenSet; }
407 
413  inline void SetSourceRefContains(const Aws::String& value) { m_sourceRefContainsHasBeenSet = true; m_sourceRefContains = value; }
414 
420  inline void SetSourceRefContains(Aws::String&& value) { m_sourceRefContainsHasBeenSet = true; m_sourceRefContains = std::move(value); }
421 
427  inline void SetSourceRefContains(const char* value) { m_sourceRefContainsHasBeenSet = true; m_sourceRefContains.assign(value); }
428 
434  inline ListDatasetEntriesRequest& WithSourceRefContains(const Aws::String& value) { SetSourceRefContains(value); return *this;}
435 
441  inline ListDatasetEntriesRequest& WithSourceRefContains(Aws::String&& value) { SetSourceRefContains(std::move(value)); return *this;}
442 
448  inline ListDatasetEntriesRequest& WithSourceRefContains(const char* value) { SetSourceRefContains(value); return *this;}
449 
450  private:
451 
452  Aws::String m_projectName;
453  bool m_projectNameHasBeenSet;
454 
455  Aws::String m_datasetType;
456  bool m_datasetTypeHasBeenSet;
457 
458  bool m_labeled;
459  bool m_labeledHasBeenSet;
460 
461  Aws::String m_anomalyClass;
462  bool m_anomalyClassHasBeenSet;
463 
464  Aws::Utils::DateTime m_beforeCreationDate;
465  bool m_beforeCreationDateHasBeenSet;
466 
467  Aws::Utils::DateTime m_afterCreationDate;
468  bool m_afterCreationDateHasBeenSet;
469 
470  Aws::String m_nextToken;
471  bool m_nextTokenHasBeenSet;
472 
473  int m_maxResults;
474  bool m_maxResultsHasBeenSet;
475 
476  Aws::String m_sourceRefContains;
477  bool m_sourceRefContainsHasBeenSet;
478  };
479 
480 } // namespace Model
481 } // namespace LookoutforVision
482 } // namespace Aws
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithNextToken
ListDatasetEntriesRequest & WithNextToken(const char *value)
Definition: ListDatasetEntriesRequest.h:362
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SourceRefContainsHasBeenSet
bool SourceRefContainsHasBeenSet() const
Definition: ListDatasetEntriesRequest.h:406
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithSourceRefContains
ListDatasetEntriesRequest & WithSourceRefContains(const Aws::String &value)
Definition: ListDatasetEntriesRequest.h:434
Aws::Http::URI
Definition: URI.h:32
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::GetLabeled
bool GetLabeled() const
Definition: ListDatasetEntriesRequest.h:145
LookoutforVisionRequest.h
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDatasetEntriesRequest.h:314
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetBeforeCreationDate
void SetBeforeCreationDate(Aws::Utils::DateTime &&value)
Definition: ListDatasetEntriesRequest.h:248
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetAnomalyClass
void SetAnomalyClass(const Aws::String &value)
Definition: ListDatasetEntriesRequest.h:188
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithAnomalyClass
ListDatasetEntriesRequest & WithAnomalyClass(Aws::String &&value)
Definition: ListDatasetEntriesRequest.h:216
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetProjectName
void SetProjectName(Aws::String &&value)
Definition: ListDatasetEntriesRequest.h:60
DateTime.h
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::DatasetTypeHasBeenSet
bool DatasetTypeHasBeenSet() const
Definition: ListDatasetEntriesRequest.h:95
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::GetAfterCreationDate
const Aws::Utils::DateTime & GetAfterCreationDate() const
Definition: ListDatasetEntriesRequest.h:267
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::AfterCreationDateHasBeenSet
bool AfterCreationDateHasBeenSet() const
Definition: ListDatasetEntriesRequest.h:273
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListDatasetEntriesRequest.h:377
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithDatasetType
ListDatasetEntriesRequest & WithDatasetType(const char *value)
Definition: ListDatasetEntriesRequest.h:137
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithSourceRefContains
ListDatasetEntriesRequest & WithSourceRefContains(const char *value)
Definition: ListDatasetEntriesRequest.h:448
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDatasetEntriesRequest.h:330
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithAfterCreationDate
ListDatasetEntriesRequest & WithAfterCreationDate(const Aws::Utils::DateTime &value)
Definition: ListDatasetEntriesRequest.h:291
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithProjectName
ListDatasetEntriesRequest & WithProjectName(const Aws::String &value)
Definition: ListDatasetEntriesRequest.h:70
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetAfterCreationDate
void SetAfterCreationDate(const Aws::Utils::DateTime &value)
Definition: ListDatasetEntriesRequest.h:279
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::GetProjectName
const Aws::String & GetProjectName() const
Definition: ListDatasetEntriesRequest.h:45
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetAnomalyClass
void SetAnomalyClass(const char *value)
Definition: ListDatasetEntriesRequest.h:202
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDatasetEntriesRequest.h:322
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithAnomalyClass
ListDatasetEntriesRequest & WithAnomalyClass(const char *value)
Definition: ListDatasetEntriesRequest.h:223
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetAfterCreationDate
void SetAfterCreationDate(Aws::Utils::DateTime &&value)
Definition: ListDatasetEntriesRequest.h:285
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithAfterCreationDate
ListDatasetEntriesRequest & WithAfterCreationDate(Aws::Utils::DateTime &&value)
Definition: ListDatasetEntriesRequest.h:297
Aws::LookoutforVision::Model::ListDatasetEntriesRequest
Definition: ListDatasetEntriesRequest.h:27
Aws::LookoutforVision::LookoutforVisionRequest
Definition: LookoutforVisionRequest.h:18
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListDatasetEntriesRequest.h:370
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetDatasetType
void SetDatasetType(const char *value)
Definition: ListDatasetEntriesRequest.h:116
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithSourceRefContains
ListDatasetEntriesRequest & WithSourceRefContains(Aws::String &&value)
Definition: ListDatasetEntriesRequest.h:441
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::GetBeforeCreationDate
const Aws::Utils::DateTime & GetBeforeCreationDate() const
Definition: ListDatasetEntriesRequest.h:230
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithProjectName
ListDatasetEntriesRequest & WithProjectName(const char *value)
Definition: ListDatasetEntriesRequest.h:80
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetDatasetType
void SetDatasetType(Aws::String &&value)
Definition: ListDatasetEntriesRequest.h:109
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDatasetEntriesRequest.h:338
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListDatasetEntriesRequest.h:384
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithBeforeCreationDate
ListDatasetEntriesRequest & WithBeforeCreationDate(Aws::Utils::DateTime &&value)
Definition: ListDatasetEntriesRequest.h:260
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithLabeled
ListDatasetEntriesRequest & WithLabeled(bool value)
Definition: ListDatasetEntriesRequest.h:166
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::GetDatasetType
const Aws::String & GetDatasetType() const
Definition: ListDatasetEntriesRequest.h:88
AWSString.h
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::LabeledHasBeenSet
bool LabeledHasBeenSet() const
Definition: ListDatasetEntriesRequest.h:152
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetSourceRefContains
void SetSourceRefContains(const char *value)
Definition: ListDatasetEntriesRequest.h:427
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithNextToken
ListDatasetEntriesRequest & WithNextToken(Aws::String &&value)
Definition: ListDatasetEntriesRequest.h:354
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetAnomalyClass
void SetAnomalyClass(Aws::String &&value)
Definition: ListDatasetEntriesRequest.h:195
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetProjectName
void SetProjectName(const char *value)
Definition: ListDatasetEntriesRequest.h:65
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDatasetEntriesRequest.h:35
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetDatasetType
void SetDatasetType(const Aws::String &value)
Definition: ListDatasetEntriesRequest.h:102
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithDatasetType
ListDatasetEntriesRequest & WithDatasetType(const Aws::String &value)
Definition: ListDatasetEntriesRequest.h:123
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDatasetEntriesRequest.h:306
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::ListDatasetEntriesRequest
ListDatasetEntriesRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithProjectName
ListDatasetEntriesRequest & WithProjectName(Aws::String &&value)
Definition: ListDatasetEntriesRequest.h:75
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithAnomalyClass
ListDatasetEntriesRequest & WithAnomalyClass(const Aws::String &value)
Definition: ListDatasetEntriesRequest.h:209
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::GetSourceRefContains
const Aws::String & GetSourceRefContains() const
Definition: ListDatasetEntriesRequest.h:399
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetLabeled
void SetLabeled(bool value)
Definition: ListDatasetEntriesRequest.h:159
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetSourceRefContains
void SetSourceRefContains(const Aws::String &value)
Definition: ListDatasetEntriesRequest.h:413
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::AnomalyClassHasBeenSet
bool AnomalyClassHasBeenSet() const
Definition: ListDatasetEntriesRequest.h:181
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithNextToken
ListDatasetEntriesRequest & WithNextToken(const Aws::String &value)
Definition: ListDatasetEntriesRequest.h:346
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::ProjectNameHasBeenSet
bool ProjectNameHasBeenSet() const
Definition: ListDatasetEntriesRequest.h:50
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::BeforeCreationDateHasBeenSet
bool BeforeCreationDateHasBeenSet() const
Definition: ListDatasetEntriesRequest.h:236
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetSourceRefContains
void SetSourceRefContains(Aws::String &&value)
Definition: ListDatasetEntriesRequest.h:420
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithDatasetType
ListDatasetEntriesRequest & WithDatasetType(Aws::String &&value)
Definition: ListDatasetEntriesRequest.h:130
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::GetAnomalyClass
const Aws::String & GetAnomalyClass() const
Definition: ListDatasetEntriesRequest.h:174
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithBeforeCreationDate
ListDatasetEntriesRequest & WithBeforeCreationDate(const Aws::Utils::DateTime &value)
Definition: ListDatasetEntriesRequest.h:254
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetBeforeCreationDate
void SetBeforeCreationDate(const Aws::Utils::DateTime &value)
Definition: ListDatasetEntriesRequest.h:242
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::SetProjectName
void SetProjectName(const Aws::String &value)
Definition: ListDatasetEntriesRequest.h:55
Aws::LookoutforVision::Model::ListDatasetEntriesRequest::WithMaxResults
ListDatasetEntriesRequest & WithMaxResults(int value)
Definition: ListDatasetEntriesRequest.h:391