AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPersonTrackingRequest.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/PersonTrackingSortBy.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Rekognition
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_REKOGNITION_API GetPersonTrackingRequest();
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 "GetPersonTracking"; }
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 GetPersonTrackingRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
49 inline GetPersonTrackingRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
50 inline GetPersonTrackingRequest& 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 GetPersonTrackingRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
64
66
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
76 inline GetPersonTrackingRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline GetPersonTrackingRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline GetPersonTrackingRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80
82
89 inline const PersonTrackingSortBy& GetSortBy() const{ return m_sortBy; }
90 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
91 inline void SetSortBy(const PersonTrackingSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
92 inline void SetSortBy(PersonTrackingSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
93 inline GetPersonTrackingRequest& WithSortBy(const PersonTrackingSortBy& value) { SetSortBy(value); return *this;}
94 inline GetPersonTrackingRequest& WithSortBy(PersonTrackingSortBy&& value) { SetSortBy(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_jobId;
99 bool m_jobIdHasBeenSet = false;
100
101 int m_maxResults;
102 bool m_maxResultsHasBeenSet = false;
103
104 Aws::String m_nextToken;
105 bool m_nextTokenHasBeenSet = false;
106
107 PersonTrackingSortBy m_sortBy;
108 bool m_sortByHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Rekognition
113} // namespace Aws
GetPersonTrackingRequest & WithNextToken(const Aws::String &value)
GetPersonTrackingRequest & WithJobId(Aws::String &&value)
GetPersonTrackingRequest & WithSortBy(PersonTrackingSortBy &&value)
GetPersonTrackingRequest & WithNextToken(Aws::String &&value)
GetPersonTrackingRequest & WithNextToken(const char *value)
GetPersonTrackingRequest & WithJobId(const char *value)
GetPersonTrackingRequest & WithJobId(const Aws::String &value)
void SetSortBy(const PersonTrackingSortBy &value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetPersonTrackingRequest & WithSortBy(const PersonTrackingSortBy &value)
GetPersonTrackingRequest & WithMaxResults(int value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String