AWS SDK for C++  1.9.40
AWS SDK for C++
GetLabelDetectionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Rekognition
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "GetLabelDetection"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const Aws::String& GetJobId() const{ return m_jobId; }
44 
50  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
51 
57  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
58 
64  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
65 
71  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
72 
78  inline GetLabelDetectionRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
79 
85  inline GetLabelDetectionRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
86 
92  inline GetLabelDetectionRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
93 
94 
100  inline int GetMaxResults() const{ return m_maxResults; }
101 
107  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
108 
114  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
115 
121  inline GetLabelDetectionRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
122 
123 
129  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
130 
136  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
137 
143  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
144 
150  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
151 
157  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
158 
164  inline GetLabelDetectionRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
165 
171  inline GetLabelDetectionRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
172 
178  inline GetLabelDetectionRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
179 
180 
188  inline const LabelDetectionSortBy& GetSortBy() const{ return m_sortBy; }
189 
197  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
198 
206  inline void SetSortBy(const LabelDetectionSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
207 
215  inline void SetSortBy(LabelDetectionSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
216 
224  inline GetLabelDetectionRequest& WithSortBy(const LabelDetectionSortBy& value) { SetSortBy(value); return *this;}
225 
233  inline GetLabelDetectionRequest& WithSortBy(LabelDetectionSortBy&& value) { SetSortBy(std::move(value)); return *this;}
234 
235  private:
236 
237  Aws::String m_jobId;
238  bool m_jobIdHasBeenSet;
239 
240  int m_maxResults;
241  bool m_maxResultsHasBeenSet;
242 
243  Aws::String m_nextToken;
244  bool m_nextTokenHasBeenSet;
245 
246  LabelDetectionSortBy m_sortBy;
247  bool m_sortByHasBeenSet;
248  };
249 
250 } // namespace Model
251 } // namespace Rekognition
252 } // namespace Aws
Aws::Rekognition::Model::GetLabelDetectionRequest::GetJobId
const Aws::String & GetJobId() const
Definition: GetLabelDetectionRequest.h:43
Aws::Rekognition::Model::LabelDetectionSortBy
LabelDetectionSortBy
Definition: LabelDetectionSortBy.h:17
Aws::Rekognition::Model::GetLabelDetectionRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetLabelDetectionRequest.h:143
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Rekognition::Model::GetLabelDetectionRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetLabelDetectionRequest.h:129
Aws::Rekognition::Model::GetLabelDetectionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Rekognition::Model::GetLabelDetectionRequest::SetJobId
void SetJobId(const char *value)
Definition: GetLabelDetectionRequest.h:71
Aws::Rekognition::Model::GetLabelDetectionRequest::GetLabelDetectionRequest
GetLabelDetectionRequest()
LabelDetectionSortBy.h
Aws::Rekognition::Model::GetLabelDetectionRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: GetLabelDetectionRequest.h:64
Aws::Rekognition::Model::GetLabelDetectionRequest
Definition: GetLabelDetectionRequest.h:23
Aws::Rekognition::Model::GetLabelDetectionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetLabelDetectionRequest.h:31
Aws::Rekognition::Model::GetLabelDetectionRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetLabelDetectionRequest.h:107
Aws::Rekognition::Model::GetLabelDetectionRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetLabelDetectionRequest.h:150
Aws::Rekognition::Model::GetLabelDetectionRequest::GetMaxResults
int GetMaxResults() const
Definition: GetLabelDetectionRequest.h:100
Aws::Rekognition::Model::GetLabelDetectionRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: GetLabelDetectionRequest.h:57
Aws::Rekognition::Model::GetLabelDetectionRequest::WithSortBy
GetLabelDetectionRequest & WithSortBy(LabelDetectionSortBy &&value)
Definition: GetLabelDetectionRequest.h:233
Aws::Rekognition::Model::GetLabelDetectionRequest::WithMaxResults
GetLabelDetectionRequest & WithMaxResults(int value)
Definition: GetLabelDetectionRequest.h:121
Aws::Rekognition::Model::GetLabelDetectionRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetLabelDetectionRequest.h:157
Aws::Rekognition::Model::GetLabelDetectionRequest::GetSortBy
const LabelDetectionSortBy & GetSortBy() const
Definition: GetLabelDetectionRequest.h:188
Aws::Rekognition::RekognitionRequest
Definition: RekognitionRequest.h:17
Aws::Rekognition::Model::GetLabelDetectionRequest::WithJobId
GetLabelDetectionRequest & WithJobId(Aws::String &&value)
Definition: GetLabelDetectionRequest.h:85
Aws::Rekognition::Model::GetLabelDetectionRequest::WithSortBy
GetLabelDetectionRequest & WithSortBy(const LabelDetectionSortBy &value)
Definition: GetLabelDetectionRequest.h:224
Aws::Rekognition::Model::GetLabelDetectionRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::Rekognition::Model::GetLabelDetectionRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: GetLabelDetectionRequest.h:197
Aws::Rekognition::Model::GetLabelDetectionRequest::WithJobId
GetLabelDetectionRequest & WithJobId(const Aws::String &value)
Definition: GetLabelDetectionRequest.h:78
Aws::Rekognition::Model::GetLabelDetectionRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetLabelDetectionRequest.h:136
Aws::Rekognition::Model::GetLabelDetectionRequest::SetSortBy
void SetSortBy(LabelDetectionSortBy &&value)
Definition: GetLabelDetectionRequest.h:215
Aws::Rekognition::Model::GetLabelDetectionRequest::WithNextToken
GetLabelDetectionRequest & WithNextToken(const Aws::String &value)
Definition: GetLabelDetectionRequest.h:164
Aws::Rekognition::Model::GetLabelDetectionRequest::WithJobId
GetLabelDetectionRequest & WithJobId(const char *value)
Definition: GetLabelDetectionRequest.h:92
Aws::Rekognition::Model::GetLabelDetectionRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: GetLabelDetectionRequest.h:50
AWS_REKOGNITION_API
#define AWS_REKOGNITION_API
Definition: Rekognition_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::Rekognition::Model::GetLabelDetectionRequest::WithNextToken
GetLabelDetectionRequest & WithNextToken(const char *value)
Definition: GetLabelDetectionRequest.h:178
Aws::Rekognition::Model::GetLabelDetectionRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetLabelDetectionRequest.h:114
Rekognition_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Rekognition::Model::GetLabelDetectionRequest::SetSortBy
void SetSortBy(const LabelDetectionSortBy &value)
Definition: GetLabelDetectionRequest.h:206
RekognitionRequest.h
Aws::Rekognition::Model::GetLabelDetectionRequest::WithNextToken
GetLabelDetectionRequest & WithNextToken(Aws::String &&value)
Definition: GetLabelDetectionRequest.h:171