AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename ProjectNameT = Aws::String>
49 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
50 template<typename ProjectNameT = Aws::String>
51 ListDatasetEntriesRequest& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
53
55
60 inline const Aws::String& GetDatasetType() const { return m_datasetType; }
61 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
62 template<typename DatasetTypeT = Aws::String>
63 void SetDatasetType(DatasetTypeT&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::forward<DatasetTypeT>(value); }
64 template<typename DatasetTypeT = Aws::String>
65 ListDatasetEntriesRequest& WithDatasetType(DatasetTypeT&& value) { SetDatasetType(std::forward<DatasetTypeT>(value)); return *this;}
67
69
74 inline bool GetLabeled() const { return m_labeled; }
75 inline bool LabeledHasBeenSet() const { return m_labeledHasBeenSet; }
76 inline void SetLabeled(bool value) { m_labeledHasBeenSet = true; m_labeled = value; }
77 inline ListDatasetEntriesRequest& WithLabeled(bool value) { SetLabeled(value); return *this;}
79
81
86 inline const Aws::String& GetAnomalyClass() const { return m_anomalyClass; }
87 inline bool AnomalyClassHasBeenSet() const { return m_anomalyClassHasBeenSet; }
88 template<typename AnomalyClassT = Aws::String>
89 void SetAnomalyClass(AnomalyClassT&& value) { m_anomalyClassHasBeenSet = true; m_anomalyClass = std::forward<AnomalyClassT>(value); }
90 template<typename AnomalyClassT = Aws::String>
91 ListDatasetEntriesRequest& WithAnomalyClass(AnomalyClassT&& value) { SetAnomalyClass(std::forward<AnomalyClassT>(value)); return *this;}
93
95
99 inline const Aws::Utils::DateTime& GetBeforeCreationDate() const { return m_beforeCreationDate; }
100 inline bool BeforeCreationDateHasBeenSet() const { return m_beforeCreationDateHasBeenSet; }
101 template<typename BeforeCreationDateT = Aws::Utils::DateTime>
102 void SetBeforeCreationDate(BeforeCreationDateT&& value) { m_beforeCreationDateHasBeenSet = true; m_beforeCreationDate = std::forward<BeforeCreationDateT>(value); }
103 template<typename BeforeCreationDateT = Aws::Utils::DateTime>
104 ListDatasetEntriesRequest& WithBeforeCreationDate(BeforeCreationDateT&& value) { SetBeforeCreationDate(std::forward<BeforeCreationDateT>(value)); return *this;}
106
108
112 inline const Aws::Utils::DateTime& GetAfterCreationDate() const { return m_afterCreationDate; }
113 inline bool AfterCreationDateHasBeenSet() const { return m_afterCreationDateHasBeenSet; }
114 template<typename AfterCreationDateT = Aws::Utils::DateTime>
115 void SetAfterCreationDate(AfterCreationDateT&& value) { m_afterCreationDateHasBeenSet = true; m_afterCreationDate = std::forward<AfterCreationDateT>(value); }
116 template<typename AfterCreationDateT = Aws::Utils::DateTime>
117 ListDatasetEntriesRequest& WithAfterCreationDate(AfterCreationDateT&& value) { SetAfterCreationDate(std::forward<AfterCreationDateT>(value)); return *this;}
119
121
127 inline const Aws::String& GetNextToken() const { return m_nextToken; }
128 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
129 template<typename NextTokenT = Aws::String>
130 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
131 template<typename NextTokenT = Aws::String>
132 ListDatasetEntriesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
134
136
141 inline int GetMaxResults() const { return m_maxResults; }
142 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
143 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
144 inline ListDatasetEntriesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
146
148
153 inline const Aws::String& GetSourceRefContains() const { return m_sourceRefContains; }
154 inline bool SourceRefContainsHasBeenSet() const { return m_sourceRefContainsHasBeenSet; }
155 template<typename SourceRefContainsT = Aws::String>
156 void SetSourceRefContains(SourceRefContainsT&& value) { m_sourceRefContainsHasBeenSet = true; m_sourceRefContains = std::forward<SourceRefContainsT>(value); }
157 template<typename SourceRefContainsT = Aws::String>
158 ListDatasetEntriesRequest& WithSourceRefContains(SourceRefContainsT&& value) { SetSourceRefContains(std::forward<SourceRefContainsT>(value)); return *this;}
160 private:
161
162 Aws::String m_projectName;
163 bool m_projectNameHasBeenSet = false;
164
165 Aws::String m_datasetType;
166 bool m_datasetTypeHasBeenSet = false;
167
168 bool m_labeled{false};
169 bool m_labeledHasBeenSet = false;
170
171 Aws::String m_anomalyClass;
172 bool m_anomalyClassHasBeenSet = false;
173
174 Aws::Utils::DateTime m_beforeCreationDate{};
175 bool m_beforeCreationDateHasBeenSet = false;
176
177 Aws::Utils::DateTime m_afterCreationDate{};
178 bool m_afterCreationDateHasBeenSet = false;
179
180 Aws::String m_nextToken;
181 bool m_nextTokenHasBeenSet = false;
182
183 int m_maxResults{0};
184 bool m_maxResultsHasBeenSet = false;
185
186 Aws::String m_sourceRefContains;
187 bool m_sourceRefContainsHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace LookoutforVision
192} // namespace Aws
ListDatasetEntriesRequest & WithAfterCreationDate(AfterCreationDateT &&value)
AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override
AWS_LOOKOUTFORVISION_API ListDatasetEntriesRequest()=default
ListDatasetEntriesRequest & WithNextToken(NextTokenT &&value)
AWS_LOOKOUTFORVISION_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListDatasetEntriesRequest & WithSourceRefContains(SourceRefContainsT &&value)
ListDatasetEntriesRequest & WithBeforeCreationDate(BeforeCreationDateT &&value)
ListDatasetEntriesRequest & WithAnomalyClass(AnomalyClassT &&value)
ListDatasetEntriesRequest & WithProjectName(ProjectNameT &&value)
ListDatasetEntriesRequest & WithDatasetType(DatasetTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String