AWS SDK for C++  1.9.159
AWS SDK for C++
GetCelebrityRecognitionRequest.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 "GetCelebrityRecognition"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetJobId() const{ return m_jobId; }
43 
48  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
49 
54  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
55 
60  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
61 
66  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
67 
72  inline GetCelebrityRecognitionRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
73 
78  inline GetCelebrityRecognitionRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
79 
84  inline GetCelebrityRecognitionRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
85 
86 
92  inline int GetMaxResults() const{ return m_maxResults; }
93 
99  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
100 
106  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
107 
113  inline GetCelebrityRecognitionRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
114 
115 
122  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
123 
130  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
131 
138  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
139 
146  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
147 
154  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
155 
162  inline GetCelebrityRecognitionRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
163 
170  inline GetCelebrityRecognitionRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
171 
178  inline GetCelebrityRecognitionRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
179 
180 
186  inline const CelebrityRecognitionSortBy& GetSortBy() const{ return m_sortBy; }
187 
193  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
194 
200  inline void SetSortBy(const CelebrityRecognitionSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
201 
207  inline void SetSortBy(CelebrityRecognitionSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
208 
214  inline GetCelebrityRecognitionRequest& WithSortBy(const CelebrityRecognitionSortBy& value) { SetSortBy(value); return *this;}
215 
221  inline GetCelebrityRecognitionRequest& WithSortBy(CelebrityRecognitionSortBy&& value) { SetSortBy(std::move(value)); return *this;}
222 
223  private:
224 
225  Aws::String m_jobId;
226  bool m_jobIdHasBeenSet;
227 
228  int m_maxResults;
229  bool m_maxResultsHasBeenSet;
230 
231  Aws::String m_nextToken;
232  bool m_nextTokenHasBeenSet;
233 
235  bool m_sortByHasBeenSet;
236  };
237 
238 } // namespace Model
239 } // namespace Rekognition
240 } // namespace Aws
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetCelebrityRecognitionRequest.h:122
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetCelebrityRecognitionRequest.h:106
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::WithJobId
GetCelebrityRecognitionRequest & WithJobId(Aws::String &&value)
Definition: GetCelebrityRecognitionRequest.h:78
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetCelebrityRecognitionRequest.h:99
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetCelebrityRecognitionRequest.h:138
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::SetSortBy
void SetSortBy(const CelebrityRecognitionSortBy &value)
Definition: GetCelebrityRecognitionRequest.h:200
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::WithNextToken
GetCelebrityRecognitionRequest & WithNextToken(const Aws::String &value)
Definition: GetCelebrityRecognitionRequest.h:162
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: GetCelebrityRecognitionRequest.h:48
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetCelebrityRecognitionRequest.h:31
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::WithNextToken
GetCelebrityRecognitionRequest & WithNextToken(Aws::String &&value)
Definition: GetCelebrityRecognitionRequest.h:170
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::GetJobId
const Aws::String & GetJobId() const
Definition: GetCelebrityRecognitionRequest.h:42
Aws::Rekognition::Model::GetCelebrityRecognitionRequest
Definition: GetCelebrityRecognitionRequest.h:23
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetCelebrityRecognitionRequest.h:146
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::WithNextToken
GetCelebrityRecognitionRequest & WithNextToken(const char *value)
Definition: GetCelebrityRecognitionRequest.h:178
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::SetJobId
void SetJobId(const char *value)
Definition: GetCelebrityRecognitionRequest.h:66
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::GetCelebrityRecognitionRequest
GetCelebrityRecognitionRequest()
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::WithJobId
GetCelebrityRecognitionRequest & WithJobId(const Aws::String &value)
Definition: GetCelebrityRecognitionRequest.h:72
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::GetSortBy
const CelebrityRecognitionSortBy & GetSortBy() const
Definition: GetCelebrityRecognitionRequest.h:186
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::WithMaxResults
GetCelebrityRecognitionRequest & WithMaxResults(int value)
Definition: GetCelebrityRecognitionRequest.h:113
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetCelebrityRecognitionRequest.h:154
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: GetCelebrityRecognitionRequest.h:54
Aws::Rekognition::RekognitionRequest
Definition: RekognitionRequest.h:17
AWSString.h
CelebrityRecognitionSortBy.h
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetCelebrityRecognitionRequest.h:130
Aws::Rekognition::Model::CelebrityRecognitionSortBy
CelebrityRecognitionSortBy
Definition: CelebrityRecognitionSortBy.h:17
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::WithSortBy
GetCelebrityRecognitionRequest & WithSortBy(CelebrityRecognitionSortBy &&value)
Definition: GetCelebrityRecognitionRequest.h:221
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: GetCelebrityRecognitionRequest.h:60
AWS_REKOGNITION_API
#define AWS_REKOGNITION_API
Definition: Rekognition_EXPORTS.h:28
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::WithSortBy
GetCelebrityRecognitionRequest & WithSortBy(const CelebrityRecognitionSortBy &value)
Definition: GetCelebrityRecognitionRequest.h:214
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Rekognition_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::GetMaxResults
int GetMaxResults() const
Definition: GetCelebrityRecognitionRequest.h:92
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::SetSortBy
void SetSortBy(CelebrityRecognitionSortBy &&value)
Definition: GetCelebrityRecognitionRequest.h:207
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: GetCelebrityRecognitionRequest.h:193
Aws::Rekognition::Model::GetCelebrityRecognitionRequest::WithJobId
GetCelebrityRecognitionRequest & WithJobId(const char *value)
Definition: GetCelebrityRecognitionRequest.h:84
RekognitionRequest.h