AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFaceSearchRequest.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/rekognition/model/FaceSearchSortBy.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Rekognition
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_REKOGNITION_API GetFaceSearchRequest();
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 "GetFaceSearch"; }
32
33 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
34
35 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetJobId() const{ return m_jobId; }
44 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
45 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
46 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
47 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
48 inline GetFaceSearchRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
49 inline GetFaceSearchRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
50 inline GetFaceSearchRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
52
54
59 inline int GetMaxResults() const{ return m_maxResults; }
60 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
61 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
62 inline GetFaceSearchRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
64
66
72 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
73 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
74 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
75 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
76 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
77 inline GetFaceSearchRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
78 inline GetFaceSearchRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
79 inline GetFaceSearchRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
81
83
88 inline const FaceSearchSortBy& GetSortBy() const{ return m_sortBy; }
89 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
90 inline void SetSortBy(const FaceSearchSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
91 inline void SetSortBy(FaceSearchSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
92 inline GetFaceSearchRequest& WithSortBy(const FaceSearchSortBy& value) { SetSortBy(value); return *this;}
93 inline GetFaceSearchRequest& WithSortBy(FaceSearchSortBy&& value) { SetSortBy(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_jobId;
98 bool m_jobIdHasBeenSet = false;
99
100 int m_maxResults;
101 bool m_maxResultsHasBeenSet = false;
102
103 Aws::String m_nextToken;
104 bool m_nextTokenHasBeenSet = false;
105
106 FaceSearchSortBy m_sortBy;
107 bool m_sortByHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Rekognition
112} // namespace Aws
GetFaceSearchRequest & WithNextToken(Aws::String &&value)
GetFaceSearchRequest & WithJobId(const char *value)
GetFaceSearchRequest & WithNextToken(const char *value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
GetFaceSearchRequest & WithMaxResults(int value)
GetFaceSearchRequest & WithSortBy(const FaceSearchSortBy &value)
GetFaceSearchRequest & WithSortBy(FaceSearchSortBy &&value)
void SetSortBy(const FaceSearchSortBy &value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetFaceSearchRequest & WithJobId(Aws::String &&value)
GetFaceSearchRequest & WithJobId(const Aws::String &value)
GetFaceSearchRequest & WithNextToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String