AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartContentModerationRequest.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/rekognition/model/Video.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/rekognition/model/NotificationChannel.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Rekognition
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_REKOGNITION_API StartContentModerationRequest();
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_REKOGNITION_API Aws::String SerializePayload() const override;
35
36 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
44 inline const Video& GetVideo() const{ return m_video; }
45 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
46 inline void SetVideo(const Video& value) { m_videoHasBeenSet = true; m_video = value; }
47 inline void SetVideo(Video&& value) { m_videoHasBeenSet = true; m_video = std::move(value); }
48 inline StartContentModerationRequest& WithVideo(const Video& value) { SetVideo(value); return *this;}
49 inline StartContentModerationRequest& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
51
53
63 inline double GetMinConfidence() const{ return m_minConfidence; }
64 inline bool MinConfidenceHasBeenSet() const { return m_minConfidenceHasBeenSet; }
65 inline void SetMinConfidence(double value) { m_minConfidenceHasBeenSet = true; m_minConfidence = value; }
66 inline StartContentModerationRequest& WithMinConfidence(double value) { SetMinConfidence(value); return *this;}
68
70
76 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
77 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
78 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
79 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
80 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
83 inline StartContentModerationRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
85
87
93 inline const NotificationChannel& GetNotificationChannel() const{ return m_notificationChannel; }
94 inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
95 inline void SetNotificationChannel(const NotificationChannel& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = value; }
96 inline void SetNotificationChannel(NotificationChannel&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::move(value); }
100
102
108 inline const Aws::String& GetJobTag() const{ return m_jobTag; }
109 inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
110 inline void SetJobTag(const Aws::String& value) { m_jobTagHasBeenSet = true; m_jobTag = value; }
111 inline void SetJobTag(Aws::String&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::move(value); }
112 inline void SetJobTag(const char* value) { m_jobTagHasBeenSet = true; m_jobTag.assign(value); }
113 inline StartContentModerationRequest& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
114 inline StartContentModerationRequest& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
115 inline StartContentModerationRequest& WithJobTag(const char* value) { SetJobTag(value); return *this;}
117 private:
118
119 Video m_video;
120 bool m_videoHasBeenSet = false;
121
122 double m_minConfidence;
123 bool m_minConfidenceHasBeenSet = false;
124
125 Aws::String m_clientRequestToken;
126 bool m_clientRequestTokenHasBeenSet = false;
127
128 NotificationChannel m_notificationChannel;
129 bool m_notificationChannelHasBeenSet = false;
130
131 Aws::String m_jobTag;
132 bool m_jobTagHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace Rekognition
137} // namespace Aws
StartContentModerationRequest & WithClientRequestToken(Aws::String &&value)
StartContentModerationRequest & WithVideo(Video &&value)
StartContentModerationRequest & WithJobTag(const char *value)
StartContentModerationRequest & WithMinConfidence(double value)
StartContentModerationRequest & WithNotificationChannel(NotificationChannel &&value)
StartContentModerationRequest & WithClientRequestToken(const char *value)
StartContentModerationRequest & WithClientRequestToken(const Aws::String &value)
StartContentModerationRequest & WithJobTag(Aws::String &&value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartContentModerationRequest & WithNotificationChannel(const NotificationChannel &value)
StartContentModerationRequest & WithJobTag(const Aws::String &value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
StartContentModerationRequest & WithVideo(const Video &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String