AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename DatasetArnT = Aws::String>
45 void SetDatasetArn(DatasetArnT&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::forward<DatasetArnT>(value); }
46 template<typename DatasetArnT = Aws::String>
47 ListDatasetEntriesRequest& WithDatasetArn(DatasetArnT&& value) { SetDatasetArn(std::forward<DatasetArnT>(value)); return *this;}
49
51
56 inline const Aws::Vector<Aws::String>& GetContainsLabels() const { return m_containsLabels; }
57 inline bool ContainsLabelsHasBeenSet() const { return m_containsLabelsHasBeenSet; }
58 template<typename ContainsLabelsT = Aws::Vector<Aws::String>>
59 void SetContainsLabels(ContainsLabelsT&& value) { m_containsLabelsHasBeenSet = true; m_containsLabels = std::forward<ContainsLabelsT>(value); }
60 template<typename ContainsLabelsT = Aws::Vector<Aws::String>>
61 ListDatasetEntriesRequest& WithContainsLabels(ContainsLabelsT&& value) { SetContainsLabels(std::forward<ContainsLabelsT>(value)); return *this;}
62 template<typename ContainsLabelsT = Aws::String>
63 ListDatasetEntriesRequest& AddContainsLabels(ContainsLabelsT&& value) { m_containsLabelsHasBeenSet = true; m_containsLabels.emplace_back(std::forward<ContainsLabelsT>(value)); return *this; }
65
67
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
89 inline const Aws::String& GetSourceRefContains() const { return m_sourceRefContains; }
90 inline bool SourceRefContainsHasBeenSet() const { return m_sourceRefContainsHasBeenSet; }
91 template<typename SourceRefContainsT = Aws::String>
92 void SetSourceRefContains(SourceRefContainsT&& value) { m_sourceRefContainsHasBeenSet = true; m_sourceRefContains = std::forward<SourceRefContainsT>(value); }
93 template<typename SourceRefContainsT = Aws::String>
94 ListDatasetEntriesRequest& WithSourceRefContains(SourceRefContainsT&& value) { SetSourceRefContains(std::forward<SourceRefContainsT>(value)); return *this;}
96
98
102 inline bool GetHasErrors() const { return m_hasErrors; }
103 inline bool HasErrorsHasBeenSet() const { return m_hasErrorsHasBeenSet; }
104 inline void SetHasErrors(bool value) { m_hasErrorsHasBeenSet = true; m_hasErrors = value; }
105 inline ListDatasetEntriesRequest& WithHasErrors(bool value) { SetHasErrors(value); return *this;}
107
109
115 inline const Aws::String& GetNextToken() const { return m_nextToken; }
116 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
117 template<typename NextTokenT = Aws::String>
118 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
119 template<typename NextTokenT = Aws::String>
120 ListDatasetEntriesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
122
124
129 inline int GetMaxResults() const { return m_maxResults; }
130 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
131 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
132 inline ListDatasetEntriesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
134 private:
135
136 Aws::String m_datasetArn;
137 bool m_datasetArnHasBeenSet = false;
138
139 Aws::Vector<Aws::String> m_containsLabels;
140 bool m_containsLabelsHasBeenSet = false;
141
142 bool m_labeled{false};
143 bool m_labeledHasBeenSet = false;
144
145 Aws::String m_sourceRefContains;
146 bool m_sourceRefContainsHasBeenSet = false;
147
148 bool m_hasErrors{false};
149 bool m_hasErrorsHasBeenSet = false;
150
151 Aws::String m_nextToken;
152 bool m_nextTokenHasBeenSet = false;
153
154 int m_maxResults{0};
155 bool m_maxResultsHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace Rekognition
160} // namespace Aws
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListDatasetEntriesRequest & AddContainsLabels(ContainsLabelsT &&value)
const Aws::Vector< Aws::String > & GetContainsLabels() const
AWS_REKOGNITION_API Aws::String SerializePayload() const override
ListDatasetEntriesRequest & WithSourceRefContains(SourceRefContainsT &&value)
ListDatasetEntriesRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
AWS_REKOGNITION_API ListDatasetEntriesRequest()=default
ListDatasetEntriesRequest & WithDatasetArn(DatasetArnT &&value)
ListDatasetEntriesRequest & WithHasErrors(bool value)
ListDatasetEntriesRequest & WithContainsLabels(ContainsLabelsT &&value)
ListDatasetEntriesRequest & WithLabeled(bool 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