AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDatasetEntriesRequest.h
1
6#pragma once
7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/lookoutvision/LookoutforVisionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace LookoutforVision
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_LOOKOUTFORVISION_API ListDatasetEntriesRequest();
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_LOOKOUTFORVISION_API Aws::String SerializePayload() const override;
38
39 AWS_LOOKOUTFORVISION_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetProjectName() const{ return m_projectName; }
47 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
48 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
49 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
50 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
51 inline ListDatasetEntriesRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
52 inline ListDatasetEntriesRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
53 inline ListDatasetEntriesRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
55
57
62 inline const Aws::String& GetDatasetType() const{ return m_datasetType; }
63 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
64 inline void SetDatasetType(const Aws::String& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; }
65 inline void SetDatasetType(Aws::String&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); }
66 inline void SetDatasetType(const char* value) { m_datasetTypeHasBeenSet = true; m_datasetType.assign(value); }
67 inline ListDatasetEntriesRequest& WithDatasetType(const Aws::String& value) { SetDatasetType(value); return *this;}
68 inline ListDatasetEntriesRequest& WithDatasetType(Aws::String&& value) { SetDatasetType(std::move(value)); return *this;}
69 inline ListDatasetEntriesRequest& WithDatasetType(const char* value) { SetDatasetType(value); return *this;}
71
73
78 inline bool GetLabeled() const{ return m_labeled; }
79 inline bool LabeledHasBeenSet() const { return m_labeledHasBeenSet; }
80 inline void SetLabeled(bool value) { m_labeledHasBeenSet = true; m_labeled = value; }
81 inline ListDatasetEntriesRequest& WithLabeled(bool value) { SetLabeled(value); return *this;}
83
85
90 inline const Aws::String& GetAnomalyClass() const{ return m_anomalyClass; }
91 inline bool AnomalyClassHasBeenSet() const { return m_anomalyClassHasBeenSet; }
92 inline void SetAnomalyClass(const Aws::String& value) { m_anomalyClassHasBeenSet = true; m_anomalyClass = value; }
93 inline void SetAnomalyClass(Aws::String&& value) { m_anomalyClassHasBeenSet = true; m_anomalyClass = std::move(value); }
94 inline void SetAnomalyClass(const char* value) { m_anomalyClassHasBeenSet = true; m_anomalyClass.assign(value); }
95 inline ListDatasetEntriesRequest& WithAnomalyClass(const Aws::String& value) { SetAnomalyClass(value); return *this;}
96 inline ListDatasetEntriesRequest& WithAnomalyClass(Aws::String&& value) { SetAnomalyClass(std::move(value)); return *this;}
97 inline ListDatasetEntriesRequest& WithAnomalyClass(const char* value) { SetAnomalyClass(value); return *this;}
99
101
105 inline const Aws::Utils::DateTime& GetBeforeCreationDate() const{ return m_beforeCreationDate; }
106 inline bool BeforeCreationDateHasBeenSet() const { return m_beforeCreationDateHasBeenSet; }
107 inline void SetBeforeCreationDate(const Aws::Utils::DateTime& value) { m_beforeCreationDateHasBeenSet = true; m_beforeCreationDate = value; }
108 inline void SetBeforeCreationDate(Aws::Utils::DateTime&& value) { m_beforeCreationDateHasBeenSet = true; m_beforeCreationDate = std::move(value); }
112
114
118 inline const Aws::Utils::DateTime& GetAfterCreationDate() const{ return m_afterCreationDate; }
119 inline bool AfterCreationDateHasBeenSet() const { return m_afterCreationDateHasBeenSet; }
120 inline void SetAfterCreationDate(const Aws::Utils::DateTime& value) { m_afterCreationDateHasBeenSet = true; m_afterCreationDate = value; }
121 inline void SetAfterCreationDate(Aws::Utils::DateTime&& value) { m_afterCreationDateHasBeenSet = true; m_afterCreationDate = std::move(value); }
125
127
133 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
134 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
135 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
136 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
137 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
138 inline ListDatasetEntriesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
139 inline ListDatasetEntriesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
140 inline ListDatasetEntriesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
142
144
149 inline int GetMaxResults() const{ return m_maxResults; }
150 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
151 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
152 inline ListDatasetEntriesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
154
156
161 inline const Aws::String& GetSourceRefContains() const{ return m_sourceRefContains; }
162 inline bool SourceRefContainsHasBeenSet() const { return m_sourceRefContainsHasBeenSet; }
163 inline void SetSourceRefContains(const Aws::String& value) { m_sourceRefContainsHasBeenSet = true; m_sourceRefContains = value; }
164 inline void SetSourceRefContains(Aws::String&& value) { m_sourceRefContainsHasBeenSet = true; m_sourceRefContains = std::move(value); }
165 inline void SetSourceRefContains(const char* value) { m_sourceRefContainsHasBeenSet = true; m_sourceRefContains.assign(value); }
167 inline ListDatasetEntriesRequest& WithSourceRefContains(Aws::String&& value) { SetSourceRefContains(std::move(value)); return *this;}
168 inline ListDatasetEntriesRequest& WithSourceRefContains(const char* value) { SetSourceRefContains(value); return *this;}
170 private:
171
172 Aws::String m_projectName;
173 bool m_projectNameHasBeenSet = false;
174
175 Aws::String m_datasetType;
176 bool m_datasetTypeHasBeenSet = false;
177
178 bool m_labeled;
179 bool m_labeledHasBeenSet = false;
180
181 Aws::String m_anomalyClass;
182 bool m_anomalyClassHasBeenSet = false;
183
184 Aws::Utils::DateTime m_beforeCreationDate;
185 bool m_beforeCreationDateHasBeenSet = false;
186
187 Aws::Utils::DateTime m_afterCreationDate;
188 bool m_afterCreationDateHasBeenSet = false;
189
190 Aws::String m_nextToken;
191 bool m_nextTokenHasBeenSet = false;
192
193 int m_maxResults;
194 bool m_maxResultsHasBeenSet = false;
195
196 Aws::String m_sourceRefContains;
197 bool m_sourceRefContainsHasBeenSet = false;
198 };
199
200} // namespace Model
201} // namespace LookoutforVision
202} // namespace Aws
ListDatasetEntriesRequest & WithBeforeCreationDate(const Aws::Utils::DateTime &value)
ListDatasetEntriesRequest & WithAnomalyClass(Aws::String &&value)
ListDatasetEntriesRequest & WithNextToken(Aws::String &&value)
ListDatasetEntriesRequest & WithSourceRefContains(const char *value)
AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override
ListDatasetEntriesRequest & WithSourceRefContains(const Aws::String &value)
ListDatasetEntriesRequest & WithProjectName(const Aws::String &value)
ListDatasetEntriesRequest & WithAfterCreationDate(Aws::Utils::DateTime &&value)
ListDatasetEntriesRequest & WithSourceRefContains(Aws::String &&value)
AWS_LOOKOUTFORVISION_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListDatasetEntriesRequest & WithAnomalyClass(const Aws::String &value)
ListDatasetEntriesRequest & WithNextToken(const Aws::String &value)
ListDatasetEntriesRequest & WithProjectName(Aws::String &&value)
ListDatasetEntriesRequest & WithDatasetType(Aws::String &&value)
ListDatasetEntriesRequest & WithAfterCreationDate(const Aws::Utils::DateTime &value)
ListDatasetEntriesRequest & WithNextToken(const char *value)
ListDatasetEntriesRequest & WithAnomalyClass(const char *value)
ListDatasetEntriesRequest & WithProjectName(const char *value)
ListDatasetEntriesRequest & WithBeforeCreationDate(Aws::Utils::DateTime &&value)
ListDatasetEntriesRequest & WithDatasetType(const Aws::String &value)
ListDatasetEntriesRequest & WithDatasetType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String