AWS SDK for C++  1.9.159
AWS SDK for C++
StartContentModerationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Rekognition
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "StartContentModeration"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
43  inline const Video& GetVideo() const{ return m_video; }
44 
49  inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
50 
55  inline void SetVideo(const Video& value) { m_videoHasBeenSet = true; m_video = value; }
56 
61  inline void SetVideo(Video&& value) { m_videoHasBeenSet = true; m_video = std::move(value); }
62 
67  inline StartContentModerationRequest& WithVideo(const Video& value) { SetVideo(value); return *this;}
68 
73  inline StartContentModerationRequest& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
74 
75 
86  inline double GetMinConfidence() const{ return m_minConfidence; }
87 
98  inline bool MinConfidenceHasBeenSet() const { return m_minConfidenceHasBeenSet; }
99 
110  inline void SetMinConfidence(double value) { m_minConfidenceHasBeenSet = true; m_minConfidence = value; }
111 
122  inline StartContentModerationRequest& WithMinConfidence(double value) { SetMinConfidence(value); return *this;}
123 
124 
131  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
132 
139  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
140 
147  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
148 
155  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
156 
163  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
164 
171  inline StartContentModerationRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
172 
179  inline StartContentModerationRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
180 
187  inline StartContentModerationRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
188 
189 
196  inline const NotificationChannel& GetNotificationChannel() const{ return m_notificationChannel; }
197 
204  inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
205 
212  inline void SetNotificationChannel(const NotificationChannel& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = value; }
213 
220  inline void SetNotificationChannel(NotificationChannel&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::move(value); }
221 
228  inline StartContentModerationRequest& WithNotificationChannel(const NotificationChannel& value) { SetNotificationChannel(value); return *this;}
229 
236  inline StartContentModerationRequest& WithNotificationChannel(NotificationChannel&& value) { SetNotificationChannel(std::move(value)); return *this;}
237 
238 
245  inline const Aws::String& GetJobTag() const{ return m_jobTag; }
246 
253  inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
254 
261  inline void SetJobTag(const Aws::String& value) { m_jobTagHasBeenSet = true; m_jobTag = value; }
262 
269  inline void SetJobTag(Aws::String&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::move(value); }
270 
277  inline void SetJobTag(const char* value) { m_jobTagHasBeenSet = true; m_jobTag.assign(value); }
278 
285  inline StartContentModerationRequest& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
286 
293  inline StartContentModerationRequest& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
294 
301  inline StartContentModerationRequest& WithJobTag(const char* value) { SetJobTag(value); return *this;}
302 
303  private:
304 
305  Video m_video;
306  bool m_videoHasBeenSet;
307 
308  double m_minConfidence;
309  bool m_minConfidenceHasBeenSet;
310 
311  Aws::String m_clientRequestToken;
312  bool m_clientRequestTokenHasBeenSet;
313 
314  NotificationChannel m_notificationChannel;
315  bool m_notificationChannelHasBeenSet;
316 
317  Aws::String m_jobTag;
318  bool m_jobTagHasBeenSet;
319  };
320 
321 } // namespace Model
322 } // namespace Rekognition
323 } // namespace Aws
Aws::Rekognition::Model::StartContentModerationRequest::WithNotificationChannel
StartContentModerationRequest & WithNotificationChannel(const NotificationChannel &value)
Definition: StartContentModerationRequest.h:228
Aws::Rekognition::Model::StartContentModerationRequest::SetJobTag
void SetJobTag(const char *value)
Definition: StartContentModerationRequest.h:277
Aws::Rekognition::Model::StartContentModerationRequest::SetVideo
void SetVideo(const Video &value)
Definition: StartContentModerationRequest.h:55
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Rekognition::Model::StartContentModerationRequest::GetVideo
const Video & GetVideo() const
Definition: StartContentModerationRequest.h:43
Aws::Rekognition::Model::StartContentModerationRequest::WithJobTag
StartContentModerationRequest & WithJobTag(const char *value)
Definition: StartContentModerationRequest.h:301
Aws::Rekognition::Model::StartContentModerationRequest::WithVideo
StartContentModerationRequest & WithVideo(Video &&value)
Definition: StartContentModerationRequest.h:73
Aws::Rekognition::Model::StartContentModerationRequest::WithMinConfidence
StartContentModerationRequest & WithMinConfidence(double value)
Definition: StartContentModerationRequest.h:122
Aws::Rekognition::Model::StartContentModerationRequest::MinConfidenceHasBeenSet
bool MinConfidenceHasBeenSet() const
Definition: StartContentModerationRequest.h:98
Aws::Rekognition::Model::StartContentModerationRequest::WithClientRequestToken
StartContentModerationRequest & WithClientRequestToken(const Aws::String &value)
Definition: StartContentModerationRequest.h:171
Aws::Rekognition::Model::StartContentModerationRequest::SetJobTag
void SetJobTag(Aws::String &&value)
Definition: StartContentModerationRequest.h:269
Aws::Rekognition::Model::StartContentModerationRequest::GetMinConfidence
double GetMinConfidence() const
Definition: StartContentModerationRequest.h:86
Aws::Rekognition::Model::StartContentModerationRequest::JobTagHasBeenSet
bool JobTagHasBeenSet() const
Definition: StartContentModerationRequest.h:253
Aws::Rekognition::Model::StartContentModerationRequest::NotificationChannelHasBeenSet
bool NotificationChannelHasBeenSet() const
Definition: StartContentModerationRequest.h:204
Aws::Rekognition::Model::StartContentModerationRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: StartContentModerationRequest.h:131
Aws::Rekognition::Model::StartContentModerationRequest::WithClientRequestToken
StartContentModerationRequest & WithClientRequestToken(const char *value)
Definition: StartContentModerationRequest.h:187
Aws::Rekognition::Model::StartContentModerationRequest::WithVideo
StartContentModerationRequest & WithVideo(const Video &value)
Definition: StartContentModerationRequest.h:67
Aws::Rekognition::Model::StartContentModerationRequest::WithClientRequestToken
StartContentModerationRequest & WithClientRequestToken(Aws::String &&value)
Definition: StartContentModerationRequest.h:179
Aws::Rekognition::Model::NotificationChannel
Definition: NotificationChannel.h:39
Aws::Rekognition::Model::StartContentModerationRequest::WithJobTag
StartContentModerationRequest & WithJobTag(const Aws::String &value)
Definition: StartContentModerationRequest.h:285
Aws::Rekognition::Model::StartContentModerationRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: StartContentModerationRequest.h:155
Aws::Rekognition::Model::StartContentModerationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartContentModerationRequest.h:32
Video.h
Aws::Rekognition::Model::StartContentModerationRequest
Definition: StartContentModerationRequest.h:24
Aws::Rekognition::RekognitionRequest
Definition: RekognitionRequest.h:17
Aws::Rekognition::Model::StartContentModerationRequest::SetJobTag
void SetJobTag(const Aws::String &value)
Definition: StartContentModerationRequest.h:261
AWSString.h
Aws::Rekognition::Model::StartContentModerationRequest::WithNotificationChannel
StartContentModerationRequest & WithNotificationChannel(NotificationChannel &&value)
Definition: StartContentModerationRequest.h:236
Aws::Rekognition::Model::StartContentModerationRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: StartContentModerationRequest.h:147
Aws::Rekognition::Model::StartContentModerationRequest::SetNotificationChannel
void SetNotificationChannel(const NotificationChannel &value)
Definition: StartContentModerationRequest.h:212
Aws::Rekognition::Model::StartContentModerationRequest::SetVideo
void SetVideo(Video &&value)
Definition: StartContentModerationRequest.h:61
Aws::Rekognition::Model::StartContentModerationRequest::SetNotificationChannel
void SetNotificationChannel(NotificationChannel &&value)
Definition: StartContentModerationRequest.h:220
Aws::Rekognition::Model::StartContentModerationRequest::GetNotificationChannel
const NotificationChannel & GetNotificationChannel() const
Definition: StartContentModerationRequest.h:196
Aws::Rekognition::Model::StartContentModerationRequest::SetMinConfidence
void SetMinConfidence(double value)
Definition: StartContentModerationRequest.h:110
AWS_REKOGNITION_API
#define AWS_REKOGNITION_API
Definition: Rekognition_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::Rekognition::Model::StartContentModerationRequest::StartContentModerationRequest
StartContentModerationRequest()
Aws::Rekognition::Model::StartContentModerationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Rekognition::Model::StartContentModerationRequest::GetJobTag
const Aws::String & GetJobTag() const
Definition: StartContentModerationRequest.h:245
NotificationChannel.h
Rekognition_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Rekognition::Model::StartContentModerationRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: StartContentModerationRequest.h:139
Aws::Rekognition::Model::StartContentModerationRequest::WithJobTag
StartContentModerationRequest & WithJobTag(Aws::String &&value)
Definition: StartContentModerationRequest.h:293
Aws::Rekognition::Model::StartContentModerationRequest::VideoHasBeenSet
bool VideoHasBeenSet() const
Definition: StartContentModerationRequest.h:49
Aws::Rekognition::Model::Video
Definition: Video.h:35
Aws::Rekognition::Model::StartContentModerationRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: StartContentModerationRequest.h:163
Aws::Rekognition::Model::StartContentModerationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RekognitionRequest.h