AWS SDK for C++  1.9.159
AWS SDK for C++
StartLabelDetectionRequest.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 "StartLabelDetection"; }
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 StartLabelDetectionRequest& WithVideo(const Video& value) { SetVideo(value); return *this;}
68 
73  inline StartLabelDetectionRequest& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
74 
75 
82  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
83 
90  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
91 
98  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
99 
106  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
107 
114  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
115 
122  inline StartLabelDetectionRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
123 
130  inline StartLabelDetectionRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
131 
138  inline StartLabelDetectionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
139 
140 
150  inline double GetMinConfidence() const{ return m_minConfidence; }
151 
161  inline bool MinConfidenceHasBeenSet() const { return m_minConfidenceHasBeenSet; }
162 
172  inline void SetMinConfidence(double value) { m_minConfidenceHasBeenSet = true; m_minConfidence = value; }
173 
183  inline StartLabelDetectionRequest& WithMinConfidence(double value) { SetMinConfidence(value); return *this;}
184 
185 
192  inline const NotificationChannel& GetNotificationChannel() const{ return m_notificationChannel; }
193 
200  inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
201 
208  inline void SetNotificationChannel(const NotificationChannel& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = value; }
209 
216  inline void SetNotificationChannel(NotificationChannel&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::move(value); }
217 
224  inline StartLabelDetectionRequest& WithNotificationChannel(const NotificationChannel& value) { SetNotificationChannel(value); return *this;}
225 
232  inline StartLabelDetectionRequest& WithNotificationChannel(NotificationChannel&& value) { SetNotificationChannel(std::move(value)); return *this;}
233 
234 
241  inline const Aws::String& GetJobTag() const{ return m_jobTag; }
242 
249  inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
250 
257  inline void SetJobTag(const Aws::String& value) { m_jobTagHasBeenSet = true; m_jobTag = value; }
258 
265  inline void SetJobTag(Aws::String&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::move(value); }
266 
273  inline void SetJobTag(const char* value) { m_jobTagHasBeenSet = true; m_jobTag.assign(value); }
274 
281  inline StartLabelDetectionRequest& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
282 
289  inline StartLabelDetectionRequest& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
290 
297  inline StartLabelDetectionRequest& WithJobTag(const char* value) { SetJobTag(value); return *this;}
298 
299  private:
300 
301  Video m_video;
302  bool m_videoHasBeenSet;
303 
304  Aws::String m_clientRequestToken;
305  bool m_clientRequestTokenHasBeenSet;
306 
307  double m_minConfidence;
308  bool m_minConfidenceHasBeenSet;
309 
310  NotificationChannel m_notificationChannel;
311  bool m_notificationChannelHasBeenSet;
312 
313  Aws::String m_jobTag;
314  bool m_jobTagHasBeenSet;
315  };
316 
317 } // namespace Model
318 } // namespace Rekognition
319 } // namespace Aws
Aws::Rekognition::Model::StartLabelDetectionRequest::GetNotificationChannel
const NotificationChannel & GetNotificationChannel() const
Definition: StartLabelDetectionRequest.h:192
Aws::Rekognition::Model::StartLabelDetectionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartLabelDetectionRequest.h:32
Aws::Rekognition::Model::StartLabelDetectionRequest::WithClientRequestToken
StartLabelDetectionRequest & WithClientRequestToken(const Aws::String &value)
Definition: StartLabelDetectionRequest.h:122
Aws::Rekognition::Model::StartLabelDetectionRequest::WithNotificationChannel
StartLabelDetectionRequest & WithNotificationChannel(NotificationChannel &&value)
Definition: StartLabelDetectionRequest.h:232
Aws::Rekognition::Model::StartLabelDetectionRequest::WithJobTag
StartLabelDetectionRequest & WithJobTag(const char *value)
Definition: StartLabelDetectionRequest.h:297
Aws::Rekognition::Model::StartLabelDetectionRequest::SetMinConfidence
void SetMinConfidence(double value)
Definition: StartLabelDetectionRequest.h:172
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Rekognition::Model::StartLabelDetectionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Rekognition::Model::StartLabelDetectionRequest::SetJobTag
void SetJobTag(const Aws::String &value)
Definition: StartLabelDetectionRequest.h:257
Aws::Rekognition::Model::StartLabelDetectionRequest::MinConfidenceHasBeenSet
bool MinConfidenceHasBeenSet() const
Definition: StartLabelDetectionRequest.h:161
Aws::Rekognition::Model::StartLabelDetectionRequest::WithJobTag
StartLabelDetectionRequest & WithJobTag(Aws::String &&value)
Definition: StartLabelDetectionRequest.h:289
Aws::Rekognition::Model::StartLabelDetectionRequest::WithNotificationChannel
StartLabelDetectionRequest & WithNotificationChannel(const NotificationChannel &value)
Definition: StartLabelDetectionRequest.h:224
Aws::Rekognition::Model::StartLabelDetectionRequest::SetVideo
void SetVideo(const Video &value)
Definition: StartLabelDetectionRequest.h:55
Aws::Rekognition::Model::StartLabelDetectionRequest::WithMinConfidence
StartLabelDetectionRequest & WithMinConfidence(double value)
Definition: StartLabelDetectionRequest.h:183
Aws::Rekognition::Model::StartLabelDetectionRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: StartLabelDetectionRequest.h:82
Aws::Rekognition::Model::StartLabelDetectionRequest::WithJobTag
StartLabelDetectionRequest & WithJobTag(const Aws::String &value)
Definition: StartLabelDetectionRequest.h:281
Aws::Rekognition::Model::StartLabelDetectionRequest::GetVideo
const Video & GetVideo() const
Definition: StartLabelDetectionRequest.h:43
Aws::Rekognition::Model::StartLabelDetectionRequest::WithClientRequestToken
StartLabelDetectionRequest & WithClientRequestToken(const char *value)
Definition: StartLabelDetectionRequest.h:138
Aws::Rekognition::Model::StartLabelDetectionRequest::SetNotificationChannel
void SetNotificationChannel(NotificationChannel &&value)
Definition: StartLabelDetectionRequest.h:216
Aws::Rekognition::Model::NotificationChannel
Definition: NotificationChannel.h:39
Aws::Rekognition::Model::StartLabelDetectionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Video.h
Aws::Rekognition::RekognitionRequest
Definition: RekognitionRequest.h:17
Aws::Rekognition::Model::StartLabelDetectionRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: StartLabelDetectionRequest.h:98
Aws::Rekognition::Model::StartLabelDetectionRequest::GetJobTag
const Aws::String & GetJobTag() const
Definition: StartLabelDetectionRequest.h:241
Aws::Rekognition::Model::StartLabelDetectionRequest::SetNotificationChannel
void SetNotificationChannel(const NotificationChannel &value)
Definition: StartLabelDetectionRequest.h:208
Aws::Rekognition::Model::StartLabelDetectionRequest::SetJobTag
void SetJobTag(const char *value)
Definition: StartLabelDetectionRequest.h:273
AWSString.h
Aws::Rekognition::Model::StartLabelDetectionRequest::NotificationChannelHasBeenSet
bool NotificationChannelHasBeenSet() const
Definition: StartLabelDetectionRequest.h:200
Aws::Rekognition::Model::StartLabelDetectionRequest::SetJobTag
void SetJobTag(Aws::String &&value)
Definition: StartLabelDetectionRequest.h:265
Aws::Rekognition::Model::StartLabelDetectionRequest::WithClientRequestToken
StartLabelDetectionRequest & WithClientRequestToken(Aws::String &&value)
Definition: StartLabelDetectionRequest.h:130
Aws::Rekognition::Model::StartLabelDetectionRequest::WithVideo
StartLabelDetectionRequest & WithVideo(Video &&value)
Definition: StartLabelDetectionRequest.h:73
Aws::Rekognition::Model::StartLabelDetectionRequest::WithVideo
StartLabelDetectionRequest & WithVideo(const Video &value)
Definition: StartLabelDetectionRequest.h:67
AWS_REKOGNITION_API
#define AWS_REKOGNITION_API
Definition: Rekognition_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::Rekognition::Model::StartLabelDetectionRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: StartLabelDetectionRequest.h:90
Aws::Rekognition::Model::StartLabelDetectionRequest::GetMinConfidence
double GetMinConfidence() const
Definition: StartLabelDetectionRequest.h:150
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::StartLabelDetectionRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: StartLabelDetectionRequest.h:114
Aws::Rekognition::Model::StartLabelDetectionRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: StartLabelDetectionRequest.h:106
Aws::Rekognition::Model::StartLabelDetectionRequest
Definition: StartLabelDetectionRequest.h:24
Aws::Rekognition::Model::StartLabelDetectionRequest::JobTagHasBeenSet
bool JobTagHasBeenSet() const
Definition: StartLabelDetectionRequest.h:249
Aws::Rekognition::Model::Video
Definition: Video.h:35
Aws::Rekognition::Model::StartLabelDetectionRequest::StartLabelDetectionRequest
StartLabelDetectionRequest()
Aws::Rekognition::Model::StartLabelDetectionRequest::SetVideo
void SetVideo(Video &&value)
Definition: StartLabelDetectionRequest.h:61
Aws::Rekognition::Model::StartLabelDetectionRequest::VideoHasBeenSet
bool VideoHasBeenSet() const
Definition: StartLabelDetectionRequest.h:49
RekognitionRequest.h