AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetContentModerationResult.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/GetContentModerationRequestMetadata.h>
14#include <aws/rekognition/model/ContentModerationDetection.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace Rekognition
30{
31namespace Model
32{
34 {
35 public:
36 AWS_REKOGNITION_API GetContentModerationResult();
39
40
42
45 inline const VideoJobStatus& GetJobStatus() const{ return m_jobStatus; }
46 inline void SetJobStatus(const VideoJobStatus& value) { m_jobStatus = value; }
47 inline void SetJobStatus(VideoJobStatus&& value) { m_jobStatus = std::move(value); }
48 inline GetContentModerationResult& WithJobStatus(const VideoJobStatus& value) { SetJobStatus(value); return *this;}
49 inline GetContentModerationResult& WithJobStatus(VideoJobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
51
53
57 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
58 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
59 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
60 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
61 inline GetContentModerationResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
62 inline GetContentModerationResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
63 inline GetContentModerationResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
65
67
72 inline const VideoMetadata& GetVideoMetadata() const{ return m_videoMetadata; }
73 inline void SetVideoMetadata(const VideoMetadata& value) { m_videoMetadata = value; }
74 inline void SetVideoMetadata(VideoMetadata&& value) { m_videoMetadata = std::move(value); }
75 inline GetContentModerationResult& WithVideoMetadata(const VideoMetadata& value) { SetVideoMetadata(value); return *this;}
76 inline GetContentModerationResult& WithVideoMetadata(VideoMetadata&& value) { SetVideoMetadata(std::move(value)); return *this;}
78
80
84 inline const Aws::Vector<ContentModerationDetection>& GetModerationLabels() const{ return m_moderationLabels; }
85 inline void SetModerationLabels(const Aws::Vector<ContentModerationDetection>& value) { m_moderationLabels = value; }
86 inline void SetModerationLabels(Aws::Vector<ContentModerationDetection>&& value) { m_moderationLabels = std::move(value); }
89 inline GetContentModerationResult& AddModerationLabels(const ContentModerationDetection& value) { m_moderationLabels.push_back(value); return *this; }
90 inline GetContentModerationResult& AddModerationLabels(ContentModerationDetection&& value) { m_moderationLabels.push_back(std::move(value)); return *this; }
92
94
99 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
100 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
101 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
102 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
103 inline GetContentModerationResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
104 inline GetContentModerationResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
105 inline GetContentModerationResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107
109
113 inline const Aws::String& GetModerationModelVersion() const{ return m_moderationModelVersion; }
114 inline void SetModerationModelVersion(const Aws::String& value) { m_moderationModelVersion = value; }
115 inline void SetModerationModelVersion(Aws::String&& value) { m_moderationModelVersion = std::move(value); }
116 inline void SetModerationModelVersion(const char* value) { m_moderationModelVersion.assign(value); }
119 inline GetContentModerationResult& WithModerationModelVersion(const char* value) { SetModerationModelVersion(value); return *this;}
121
123
128 inline const Aws::String& GetJobId() const{ return m_jobId; }
129 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
130 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
131 inline void SetJobId(const char* value) { m_jobId.assign(value); }
132 inline GetContentModerationResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
133 inline GetContentModerationResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
134 inline GetContentModerationResult& WithJobId(const char* value) { SetJobId(value); return *this;}
136
138
139 inline const Video& GetVideo() const{ return m_video; }
140 inline void SetVideo(const Video& value) { m_video = value; }
141 inline void SetVideo(Video&& value) { m_video = std::move(value); }
142 inline GetContentModerationResult& WithVideo(const Video& value) { SetVideo(value); return *this;}
143 inline GetContentModerationResult& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
145
147
152 inline const Aws::String& GetJobTag() const{ return m_jobTag; }
153 inline void SetJobTag(const Aws::String& value) { m_jobTag = value; }
154 inline void SetJobTag(Aws::String&& value) { m_jobTag = std::move(value); }
155 inline void SetJobTag(const char* value) { m_jobTag.assign(value); }
156 inline GetContentModerationResult& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
157 inline GetContentModerationResult& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
158 inline GetContentModerationResult& WithJobTag(const char* value) { SetJobTag(value); return *this;}
160
162
166 inline const GetContentModerationRequestMetadata& GetGetRequestMetadata() const{ return m_getRequestMetadata; }
167 inline void SetGetRequestMetadata(const GetContentModerationRequestMetadata& value) { m_getRequestMetadata = value; }
168 inline void SetGetRequestMetadata(GetContentModerationRequestMetadata&& value) { m_getRequestMetadata = std::move(value); }
172
174
175 inline const Aws::String& GetRequestId() const{ return m_requestId; }
176 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
177 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
178 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
179 inline GetContentModerationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
180 inline GetContentModerationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
181 inline GetContentModerationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
183 private:
184
185 VideoJobStatus m_jobStatus;
186
187 Aws::String m_statusMessage;
188
189 VideoMetadata m_videoMetadata;
190
192
193 Aws::String m_nextToken;
194
195 Aws::String m_moderationModelVersion;
196
197 Aws::String m_jobId;
198
199 Video m_video;
200
201 Aws::String m_jobTag;
202
203 GetContentModerationRequestMetadata m_getRequestMetadata;
204
205 Aws::String m_requestId;
206 };
207
208} // namespace Model
209} // namespace Rekognition
210} // namespace Aws
GetContentModerationResult & WithJobId(const char *value)
void SetGetRequestMetadata(const GetContentModerationRequestMetadata &value)
GetContentModerationResult & WithJobTag(Aws::String &&value)
GetContentModerationResult & WithRequestId(const Aws::String &value)
GetContentModerationResult & AddModerationLabels(ContentModerationDetection &&value)
GetContentModerationResult & WithVideo(const Video &value)
GetContentModerationResult & WithModerationModelVersion(Aws::String &&value)
void SetGetRequestMetadata(GetContentModerationRequestMetadata &&value)
GetContentModerationResult & WithModerationLabels(const Aws::Vector< ContentModerationDetection > &value)
GetContentModerationResult & WithGetRequestMetadata(GetContentModerationRequestMetadata &&value)
GetContentModerationResult & WithJobStatus(VideoJobStatus &&value)
GetContentModerationResult & WithModerationModelVersion(const char *value)
GetContentModerationResult & WithRequestId(const char *value)
GetContentModerationResult & WithModerationLabels(Aws::Vector< ContentModerationDetection > &&value)
GetContentModerationResult & WithJobTag(const char *value)
GetContentModerationResult & WithJobTag(const Aws::String &value)
AWS_REKOGNITION_API GetContentModerationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetContentModerationResult & WithVideoMetadata(const VideoMetadata &value)
GetContentModerationResult & WithNextToken(Aws::String &&value)
GetContentModerationResult & WithJobStatus(const VideoJobStatus &value)
const Aws::Vector< ContentModerationDetection > & GetModerationLabels() const
GetContentModerationResult & WithJobId(Aws::String &&value)
void SetModerationLabels(Aws::Vector< ContentModerationDetection > &&value)
GetContentModerationResult & WithGetRequestMetadata(const GetContentModerationRequestMetadata &value)
GetContentModerationResult & WithStatusMessage(Aws::String &&value)
GetContentModerationResult & AddModerationLabels(const ContentModerationDetection &value)
GetContentModerationResult & WithVideo(Video &&value)
GetContentModerationResult & WithRequestId(Aws::String &&value)
GetContentModerationResult & WithModerationModelVersion(const Aws::String &value)
GetContentModerationResult & WithStatusMessage(const Aws::String &value)
const GetContentModerationRequestMetadata & GetGetRequestMetadata() const
void SetModerationLabels(const Aws::Vector< ContentModerationDetection > &value)
GetContentModerationResult & WithJobId(const Aws::String &value)
AWS_REKOGNITION_API GetContentModerationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetContentModerationResult & WithVideoMetadata(VideoMetadata &&value)
GetContentModerationResult & WithNextToken(const Aws::String &value)
GetContentModerationResult & WithNextToken(const char *value)
GetContentModerationResult & WithStatusMessage(const char *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