AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
GetCelebrityRecognitionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/rekognition/Rekognition_EXPORTS.h>
10#include <aws/rekognition/model/CelebrityRecognitionSortBy.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Rekognition {
16namespace Model {
17
21 public:
22 AWS_REKOGNITION_API GetCelebrityRecognitionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetCelebrityRecognition"; }
29
30 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
31
32 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
39 inline const Aws::String& GetJobId() const { return m_jobId; }
40 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
41 template <typename JobIdT = Aws::String>
42 void SetJobId(JobIdT&& value) {
43 m_jobIdHasBeenSet = true;
44 m_jobId = std::forward<JobIdT>(value);
45 }
46 template <typename JobIdT = Aws::String>
48 SetJobId(std::forward<JobIdT>(value));
49 return *this;
50 }
52
54
59 inline int GetMaxResults() const { return m_maxResults; }
60 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
61 inline void SetMaxResults(int value) {
62 m_maxResultsHasBeenSet = true;
63 m_maxResults = value;
64 }
66 SetMaxResults(value);
67 return *this;
68 }
70
72
78 inline const Aws::String& GetNextToken() const { return m_nextToken; }
79 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
80 template <typename NextTokenT = Aws::String>
81 void SetNextToken(NextTokenT&& value) {
82 m_nextTokenHasBeenSet = true;
83 m_nextToken = std::forward<NextTokenT>(value);
84 }
85 template <typename NextTokenT = Aws::String>
87 SetNextToken(std::forward<NextTokenT>(value));
88 return *this;
89 }
91
93
98 inline CelebrityRecognitionSortBy GetSortBy() const { return m_sortBy; }
99 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
101 m_sortByHasBeenSet = true;
102 m_sortBy = value;
103 }
105 SetSortBy(value);
106 return *this;
107 }
109 private:
110 Aws::String m_jobId;
111 bool m_jobIdHasBeenSet = false;
112
113 int m_maxResults{0};
114 bool m_maxResultsHasBeenSet = false;
115
116 Aws::String m_nextToken;
117 bool m_nextTokenHasBeenSet = false;
118
120 bool m_sortByHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace Rekognition
125} // namespace Aws
GetCelebrityRecognitionRequest & WithJobId(JobIdT &&value)
GetCelebrityRecognitionRequest & WithNextToken(NextTokenT &&value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
GetCelebrityRecognitionRequest & WithSortBy(CelebrityRecognitionSortBy value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_REKOGNITION_API GetCelebrityRecognitionRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String