AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPersonTrackingResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/VideoJobStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rekognition/model/VideoMetadata.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rekognition/model/Video.h>
13#include <aws/rekognition/model/PersonDetection.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Rekognition
29{
30namespace Model
31{
33 {
34 public:
35 AWS_REKOGNITION_API GetPersonTrackingResult();
38
39
41
44 inline const VideoJobStatus& GetJobStatus() const{ return m_jobStatus; }
45 inline void SetJobStatus(const VideoJobStatus& value) { m_jobStatus = value; }
46 inline void SetJobStatus(VideoJobStatus&& value) { m_jobStatus = std::move(value); }
47 inline GetPersonTrackingResult& WithJobStatus(const VideoJobStatus& value) { SetJobStatus(value); return *this;}
48 inline GetPersonTrackingResult& WithJobStatus(VideoJobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
50
52
56 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
57 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
58 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
59 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
60 inline GetPersonTrackingResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
61 inline GetPersonTrackingResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
62 inline GetPersonTrackingResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
64
66
71 inline const VideoMetadata& GetVideoMetadata() const{ return m_videoMetadata; }
72 inline void SetVideoMetadata(const VideoMetadata& value) { m_videoMetadata = value; }
73 inline void SetVideoMetadata(VideoMetadata&& value) { m_videoMetadata = std::move(value); }
74 inline GetPersonTrackingResult& WithVideoMetadata(const VideoMetadata& value) { SetVideoMetadata(value); return *this;}
75 inline GetPersonTrackingResult& WithVideoMetadata(VideoMetadata&& value) { SetVideoMetadata(std::move(value)); return *this;}
77
79
84 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
86 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
88 inline GetPersonTrackingResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
89 inline GetPersonTrackingResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
90 inline GetPersonTrackingResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
92
94
99 inline const Aws::Vector<PersonDetection>& GetPersons() const{ return m_persons; }
100 inline void SetPersons(const Aws::Vector<PersonDetection>& value) { m_persons = value; }
101 inline void SetPersons(Aws::Vector<PersonDetection>&& value) { m_persons = std::move(value); }
102 inline GetPersonTrackingResult& WithPersons(const Aws::Vector<PersonDetection>& value) { SetPersons(value); return *this;}
103 inline GetPersonTrackingResult& WithPersons(Aws::Vector<PersonDetection>&& value) { SetPersons(std::move(value)); return *this;}
104 inline GetPersonTrackingResult& AddPersons(const PersonDetection& value) { m_persons.push_back(value); return *this; }
105 inline GetPersonTrackingResult& AddPersons(PersonDetection&& value) { m_persons.push_back(std::move(value)); return *this; }
107
109
114 inline const Aws::String& GetJobId() const{ return m_jobId; }
115 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
116 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
117 inline void SetJobId(const char* value) { m_jobId.assign(value); }
118 inline GetPersonTrackingResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
119 inline GetPersonTrackingResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
120 inline GetPersonTrackingResult& WithJobId(const char* value) { SetJobId(value); return *this;}
122
124
125 inline const Video& GetVideo() const{ return m_video; }
126 inline void SetVideo(const Video& value) { m_video = value; }
127 inline void SetVideo(Video&& value) { m_video = std::move(value); }
128 inline GetPersonTrackingResult& WithVideo(const Video& value) { SetVideo(value); return *this;}
129 inline GetPersonTrackingResult& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
131
133
138 inline const Aws::String& GetJobTag() const{ return m_jobTag; }
139 inline void SetJobTag(const Aws::String& value) { m_jobTag = value; }
140 inline void SetJobTag(Aws::String&& value) { m_jobTag = std::move(value); }
141 inline void SetJobTag(const char* value) { m_jobTag.assign(value); }
142 inline GetPersonTrackingResult& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
143 inline GetPersonTrackingResult& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
144 inline GetPersonTrackingResult& WithJobTag(const char* value) { SetJobTag(value); return *this;}
146
148
149 inline const Aws::String& GetRequestId() const{ return m_requestId; }
150 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
151 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
152 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
153 inline GetPersonTrackingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
154 inline GetPersonTrackingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
155 inline GetPersonTrackingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
157 private:
158
159 VideoJobStatus m_jobStatus;
160
161 Aws::String m_statusMessage;
162
163 VideoMetadata m_videoMetadata;
164
165 Aws::String m_nextToken;
166
168
169 Aws::String m_jobId;
170
171 Video m_video;
172
173 Aws::String m_jobTag;
174
175 Aws::String m_requestId;
176 };
177
178} // namespace Model
179} // namespace Rekognition
180} // namespace Aws
AWS_REKOGNITION_API GetPersonTrackingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPersonTrackingResult & WithJobId(const Aws::String &value)
GetPersonTrackingResult & WithRequestId(const Aws::String &value)
GetPersonTrackingResult & WithRequestId(const char *value)
GetPersonTrackingResult & WithRequestId(Aws::String &&value)
GetPersonTrackingResult & WithJobTag(const char *value)
GetPersonTrackingResult & WithJobStatus(const VideoJobStatus &value)
GetPersonTrackingResult & WithJobId(Aws::String &&value)
GetPersonTrackingResult & WithJobId(const char *value)
void SetPersons(Aws::Vector< PersonDetection > &&value)
GetPersonTrackingResult & AddPersons(PersonDetection &&value)
GetPersonTrackingResult & WithVideoMetadata(VideoMetadata &&value)
GetPersonTrackingResult & WithJobStatus(VideoJobStatus &&value)
GetPersonTrackingResult & WithStatusMessage(const char *value)
GetPersonTrackingResult & WithNextToken(const char *value)
const Aws::Vector< PersonDetection > & GetPersons() const
GetPersonTrackingResult & AddPersons(const PersonDetection &value)
AWS_REKOGNITION_API GetPersonTrackingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPersonTrackingResult & WithVideo(const Video &value)
GetPersonTrackingResult & WithNextToken(Aws::String &&value)
void SetPersons(const Aws::Vector< PersonDetection > &value)
GetPersonTrackingResult & WithNextToken(const Aws::String &value)
GetPersonTrackingResult & WithPersons(Aws::Vector< PersonDetection > &&value)
GetPersonTrackingResult & WithPersons(const Aws::Vector< PersonDetection > &value)
GetPersonTrackingResult & WithVideo(Video &&value)
GetPersonTrackingResult & WithJobTag(Aws::String &&value)
GetPersonTrackingResult & WithStatusMessage(Aws::String &&value)
GetPersonTrackingResult & WithVideoMetadata(const VideoMetadata &value)
GetPersonTrackingResult & WithStatusMessage(const Aws::String &value)
GetPersonTrackingResult & WithJobTag(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue