AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSegmentDetectionResult.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/rekognition/model/Video.h>
12#include <aws/rekognition/model/VideoMetadata.h>
13#include <aws/rekognition/model/AudioMetadata.h>
14#include <aws/rekognition/model/SegmentDetection.h>
15#include <aws/rekognition/model/SegmentTypeInfo.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace Rekognition
31{
32namespace Model
33{
35 {
36 public:
37 AWS_REKOGNITION_API GetSegmentDetectionResult();
40
41
43
46 inline const VideoJobStatus& GetJobStatus() const{ return m_jobStatus; }
47 inline void SetJobStatus(const VideoJobStatus& value) { m_jobStatus = value; }
48 inline void SetJobStatus(VideoJobStatus&& value) { m_jobStatus = std::move(value); }
49 inline GetSegmentDetectionResult& WithJobStatus(const VideoJobStatus& value) { SetJobStatus(value); return *this;}
50 inline GetSegmentDetectionResult& WithJobStatus(VideoJobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
52
54
58 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
59 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
60 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
61 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
62 inline GetSegmentDetectionResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
63 inline GetSegmentDetectionResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
64 inline GetSegmentDetectionResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
66
68
76 inline const Aws::Vector<VideoMetadata>& GetVideoMetadata() const{ return m_videoMetadata; }
77 inline void SetVideoMetadata(const Aws::Vector<VideoMetadata>& value) { m_videoMetadata = value; }
78 inline void SetVideoMetadata(Aws::Vector<VideoMetadata>&& value) { m_videoMetadata = std::move(value); }
81 inline GetSegmentDetectionResult& AddVideoMetadata(const VideoMetadata& value) { m_videoMetadata.push_back(value); return *this; }
82 inline GetSegmentDetectionResult& AddVideoMetadata(VideoMetadata&& value) { m_videoMetadata.push_back(std::move(value)); return *this; }
84
86
94 inline const Aws::Vector<AudioMetadata>& GetAudioMetadata() const{ return m_audioMetadata; }
95 inline void SetAudioMetadata(const Aws::Vector<AudioMetadata>& value) { m_audioMetadata = value; }
96 inline void SetAudioMetadata(Aws::Vector<AudioMetadata>&& value) { m_audioMetadata = std::move(value); }
99 inline GetSegmentDetectionResult& AddAudioMetadata(const AudioMetadata& value) { m_audioMetadata.push_back(value); return *this; }
100 inline GetSegmentDetectionResult& AddAudioMetadata(AudioMetadata&& value) { m_audioMetadata.push_back(std::move(value)); return *this; }
102
104
109 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
110 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
111 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
112 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
113 inline GetSegmentDetectionResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
114 inline GetSegmentDetectionResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 inline GetSegmentDetectionResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
117
119
125 inline const Aws::Vector<SegmentDetection>& GetSegments() const{ return m_segments; }
126 inline void SetSegments(const Aws::Vector<SegmentDetection>& value) { m_segments = value; }
127 inline void SetSegments(Aws::Vector<SegmentDetection>&& value) { m_segments = std::move(value); }
129 inline GetSegmentDetectionResult& WithSegments(Aws::Vector<SegmentDetection>&& value) { SetSegments(std::move(value)); return *this;}
130 inline GetSegmentDetectionResult& AddSegments(const SegmentDetection& value) { m_segments.push_back(value); return *this; }
131 inline GetSegmentDetectionResult& AddSegments(SegmentDetection&& value) { m_segments.push_back(std::move(value)); return *this; }
133
135
139 inline const Aws::Vector<SegmentTypeInfo>& GetSelectedSegmentTypes() const{ return m_selectedSegmentTypes; }
140 inline void SetSelectedSegmentTypes(const Aws::Vector<SegmentTypeInfo>& value) { m_selectedSegmentTypes = value; }
141 inline void SetSelectedSegmentTypes(Aws::Vector<SegmentTypeInfo>&& value) { m_selectedSegmentTypes = std::move(value); }
144 inline GetSegmentDetectionResult& AddSelectedSegmentTypes(const SegmentTypeInfo& value) { m_selectedSegmentTypes.push_back(value); return *this; }
145 inline GetSegmentDetectionResult& AddSelectedSegmentTypes(SegmentTypeInfo&& value) { m_selectedSegmentTypes.push_back(std::move(value)); return *this; }
147
149
154 inline const Aws::String& GetJobId() const{ return m_jobId; }
155 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
156 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
157 inline void SetJobId(const char* value) { m_jobId.assign(value); }
158 inline GetSegmentDetectionResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
159 inline GetSegmentDetectionResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
160 inline GetSegmentDetectionResult& WithJobId(const char* value) { SetJobId(value); return *this;}
162
164
165 inline const Video& GetVideo() const{ return m_video; }
166 inline void SetVideo(const Video& value) { m_video = value; }
167 inline void SetVideo(Video&& value) { m_video = std::move(value); }
168 inline GetSegmentDetectionResult& WithVideo(const Video& value) { SetVideo(value); return *this;}
169 inline GetSegmentDetectionResult& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
171
173
178 inline const Aws::String& GetJobTag() const{ return m_jobTag; }
179 inline void SetJobTag(const Aws::String& value) { m_jobTag = value; }
180 inline void SetJobTag(Aws::String&& value) { m_jobTag = std::move(value); }
181 inline void SetJobTag(const char* value) { m_jobTag.assign(value); }
182 inline GetSegmentDetectionResult& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
183 inline GetSegmentDetectionResult& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
184 inline GetSegmentDetectionResult& WithJobTag(const char* value) { SetJobTag(value); return *this;}
186
188
189 inline const Aws::String& GetRequestId() const{ return m_requestId; }
190 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
191 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
192 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
193 inline GetSegmentDetectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
194 inline GetSegmentDetectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
195 inline GetSegmentDetectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
197 private:
198
199 VideoJobStatus m_jobStatus;
200
201 Aws::String m_statusMessage;
202
203 Aws::Vector<VideoMetadata> m_videoMetadata;
204
205 Aws::Vector<AudioMetadata> m_audioMetadata;
206
207 Aws::String m_nextToken;
208
210
211 Aws::Vector<SegmentTypeInfo> m_selectedSegmentTypes;
212
213 Aws::String m_jobId;
214
215 Video m_video;
216
217 Aws::String m_jobTag;
218
219 Aws::String m_requestId;
220 };
221
222} // namespace Model
223} // namespace Rekognition
224} // namespace Aws
GetSegmentDetectionResult & WithJobTag(const Aws::String &value)
GetSegmentDetectionResult & AddAudioMetadata(const AudioMetadata &value)
GetSegmentDetectionResult & WithJobId(const Aws::String &value)
GetSegmentDetectionResult & WithJobStatus(VideoJobStatus &&value)
GetSegmentDetectionResult & WithSegments(const Aws::Vector< SegmentDetection > &value)
GetSegmentDetectionResult & WithVideo(Video &&value)
GetSegmentDetectionResult & WithSelectedSegmentTypes(const Aws::Vector< SegmentTypeInfo > &value)
GetSegmentDetectionResult & AddAudioMetadata(AudioMetadata &&value)
GetSegmentDetectionResult & WithAudioMetadata(Aws::Vector< AudioMetadata > &&value)
GetSegmentDetectionResult & WithJobTag(const char *value)
GetSegmentDetectionResult & AddSegments(SegmentDetection &&value)
GetSegmentDetectionResult & WithAudioMetadata(const Aws::Vector< AudioMetadata > &value)
GetSegmentDetectionResult & AddSelectedSegmentTypes(const SegmentTypeInfo &value)
GetSegmentDetectionResult & WithJobTag(Aws::String &&value)
const Aws::Vector< AudioMetadata > & GetAudioMetadata() const
GetSegmentDetectionResult & WithJobId(const char *value)
AWS_REKOGNITION_API GetSegmentDetectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< SegmentDetection > & GetSegments() const
GetSegmentDetectionResult & AddSegments(const SegmentDetection &value)
GetSegmentDetectionResult & WithVideoMetadata(const Aws::Vector< VideoMetadata > &value)
void SetVideoMetadata(Aws::Vector< VideoMetadata > &&value)
GetSegmentDetectionResult & WithSegments(Aws::Vector< SegmentDetection > &&value)
AWS_REKOGNITION_API GetSegmentDetectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSegmentDetectionResult & WithJobId(Aws::String &&value)
const Aws::Vector< SegmentTypeInfo > & GetSelectedSegmentTypes() const
GetSegmentDetectionResult & WithSelectedSegmentTypes(Aws::Vector< SegmentTypeInfo > &&value)
void SetSegments(const Aws::Vector< SegmentDetection > &value)
GetSegmentDetectionResult & WithStatusMessage(const char *value)
void SetAudioMetadata(const Aws::Vector< AudioMetadata > &value)
GetSegmentDetectionResult & WithStatusMessage(Aws::String &&value)
GetSegmentDetectionResult & WithNextToken(const Aws::String &value)
GetSegmentDetectionResult & WithRequestId(Aws::String &&value)
void SetVideoMetadata(const Aws::Vector< VideoMetadata > &value)
GetSegmentDetectionResult & WithRequestId(const Aws::String &value)
GetSegmentDetectionResult & AddVideoMetadata(VideoMetadata &&value)
GetSegmentDetectionResult & AddVideoMetadata(const VideoMetadata &value)
const Aws::Vector< VideoMetadata > & GetVideoMetadata() const
void SetSelectedSegmentTypes(const Aws::Vector< SegmentTypeInfo > &value)
GetSegmentDetectionResult & WithRequestId(const char *value)
GetSegmentDetectionResult & WithStatusMessage(const Aws::String &value)
void SetSegments(Aws::Vector< SegmentDetection > &&value)
GetSegmentDetectionResult & WithVideoMetadata(Aws::Vector< VideoMetadata > &&value)
GetSegmentDetectionResult & WithNextToken(Aws::String &&value)
GetSegmentDetectionResult & WithVideo(const Video &value)
GetSegmentDetectionResult & WithNextToken(const char *value)
GetSegmentDetectionResult & AddSelectedSegmentTypes(SegmentTypeInfo &&value)
GetSegmentDetectionResult & WithJobStatus(const VideoJobStatus &value)
void SetAudioMetadata(Aws::Vector< AudioMetadata > &&value)
void SetSelectedSegmentTypes(Aws::Vector< SegmentTypeInfo > &&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