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/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Rekognition
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_REKOGNITION_API ListDatasetEntriesRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListDatasetEntries"; }
32
33 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
34
35 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
43 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
44 inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
45 inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
46 inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
47 inline ListDatasetEntriesRequest& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
48 inline ListDatasetEntriesRequest& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
49 inline ListDatasetEntriesRequest& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
51
53
58 inline const Aws::Vector<Aws::String>& GetContainsLabels() const{ return m_containsLabels; }
59 inline bool ContainsLabelsHasBeenSet() const { return m_containsLabelsHasBeenSet; }
60 inline void SetContainsLabels(const Aws::Vector<Aws::String>& value) { m_containsLabelsHasBeenSet = true; m_containsLabels = value; }
61 inline void SetContainsLabels(Aws::Vector<Aws::String>&& value) { m_containsLabelsHasBeenSet = true; m_containsLabels = std::move(value); }
64 inline ListDatasetEntriesRequest& AddContainsLabels(const Aws::String& value) { m_containsLabelsHasBeenSet = true; m_containsLabels.push_back(value); return *this; }
65 inline ListDatasetEntriesRequest& AddContainsLabels(Aws::String&& value) { m_containsLabelsHasBeenSet = true; m_containsLabels.push_back(std::move(value)); return *this; }
66 inline ListDatasetEntriesRequest& AddContainsLabels(const char* value) { m_containsLabelsHasBeenSet = true; m_containsLabels.push_back(value); return *this; }
68
70
77 inline bool GetLabeled() const{ return m_labeled; }
78 inline bool LabeledHasBeenSet() const { return m_labeledHasBeenSet; }
79 inline void SetLabeled(bool value) { m_labeledHasBeenSet = true; m_labeled = value; }
80 inline ListDatasetEntriesRequest& WithLabeled(bool value) { SetLabeled(value); return *this;}
82
84
92 inline const Aws::String& GetSourceRefContains() const{ return m_sourceRefContains; }
93 inline bool SourceRefContainsHasBeenSet() const { return m_sourceRefContainsHasBeenSet; }
94 inline void SetSourceRefContains(const Aws::String& value) { m_sourceRefContainsHasBeenSet = true; m_sourceRefContains = value; }
95 inline void SetSourceRefContains(Aws::String&& value) { m_sourceRefContainsHasBeenSet = true; m_sourceRefContains = std::move(value); }
96 inline void SetSourceRefContains(const char* value) { m_sourceRefContainsHasBeenSet = true; m_sourceRefContains.assign(value); }
98 inline ListDatasetEntriesRequest& WithSourceRefContains(Aws::String&& value) { SetSourceRefContains(std::move(value)); return *this;}
99 inline ListDatasetEntriesRequest& WithSourceRefContains(const char* value) { SetSourceRefContains(value); return *this;}
101
103
107 inline bool GetHasErrors() const{ return m_hasErrors; }
108 inline bool HasErrorsHasBeenSet() const { return m_hasErrorsHasBeenSet; }
109 inline void SetHasErrors(bool value) { m_hasErrorsHasBeenSet = true; m_hasErrors = value; }
110 inline ListDatasetEntriesRequest& WithHasErrors(bool value) { SetHasErrors(value); return *this;}
112
114
120 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
121 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
122 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
123 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
124 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
125 inline ListDatasetEntriesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
126 inline ListDatasetEntriesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
127 inline ListDatasetEntriesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
129
131
136 inline int GetMaxResults() const{ return m_maxResults; }
137 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
138 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
139 inline ListDatasetEntriesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
141 private:
142
143 Aws::String m_datasetArn;
144 bool m_datasetArnHasBeenSet = false;
145
146 Aws::Vector<Aws::String> m_containsLabels;
147 bool m_containsLabelsHasBeenSet = false;
148
149 bool m_labeled;
150 bool m_labeledHasBeenSet = false;
151
152 Aws::String m_sourceRefContains;
153 bool m_sourceRefContainsHasBeenSet = false;
154
155 bool m_hasErrors;
156 bool m_hasErrorsHasBeenSet = false;
157
158 Aws::String m_nextToken;
159 bool m_nextTokenHasBeenSet = false;
160
161 int m_maxResults;
162 bool m_maxResultsHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace Rekognition
167} // namespace Aws
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Aws::String > & GetContainsLabels() const
AWS_REKOGNITION_API Aws::String SerializePayload() const override
ListDatasetEntriesRequest & WithNextToken(Aws::String &&value)
ListDatasetEntriesRequest & WithDatasetArn(const Aws::String &value)
ListDatasetEntriesRequest & WithContainsLabels(Aws::Vector< Aws::String > &&value)
ListDatasetEntriesRequest & WithNextToken(const Aws::String &value)
void SetContainsLabels(Aws::Vector< Aws::String > &&value)
ListDatasetEntriesRequest & AddContainsLabels(const char *value)
void SetContainsLabels(const Aws::Vector< Aws::String > &value)
ListDatasetEntriesRequest & WithSourceRefContains(const char *value)
ListDatasetEntriesRequest & WithContainsLabels(const Aws::Vector< Aws::String > &value)
ListDatasetEntriesRequest & AddContainsLabels(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListDatasetEntriesRequest & WithSourceRefContains(Aws::String &&value)
ListDatasetEntriesRequest & WithDatasetArn(Aws::String &&value)
ListDatasetEntriesRequest & AddContainsLabels(const Aws::String &value)
ListDatasetEntriesRequest & WithHasErrors(bool value)
ListDatasetEntriesRequest & WithLabeled(bool value)
ListDatasetEntriesRequest & WithDatasetArn(const char *value)
ListDatasetEntriesRequest & WithNextToken(const char *value)
ListDatasetEntriesRequest & WithSourceRefContains(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector