AWS SDK for C++  1.9.159
AWS SDK for C++
StartSegmentDetectionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace Rekognition
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "StartSegmentDetection"; }
36 
37  Aws::String SerializePayload() const override;
38 
40 
41 
42 
43  inline const Video& GetVideo() const{ return m_video; }
44 
45 
46  inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
47 
48 
49  inline void SetVideo(const Video& value) { m_videoHasBeenSet = true; m_video = value; }
50 
51 
52  inline void SetVideo(Video&& value) { m_videoHasBeenSet = true; m_video = std::move(value); }
53 
54 
55  inline StartSegmentDetectionRequest& WithVideo(const Video& value) { SetVideo(value); return *this;}
56 
57 
58  inline StartSegmentDetectionRequest& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
59 
60 
67  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
68 
75  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
76 
83  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
84 
91  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
92 
99  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
100 
107  inline StartSegmentDetectionRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
108 
115  inline StartSegmentDetectionRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
116 
123  inline StartSegmentDetectionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
124 
125 
133  inline const NotificationChannel& GetNotificationChannel() const{ return m_notificationChannel; }
134 
142  inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
143 
151  inline void SetNotificationChannel(const NotificationChannel& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = value; }
152 
160  inline void SetNotificationChannel(NotificationChannel&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::move(value); }
161 
169  inline StartSegmentDetectionRequest& WithNotificationChannel(const NotificationChannel& value) { SetNotificationChannel(value); return *this;}
170 
178  inline StartSegmentDetectionRequest& WithNotificationChannel(NotificationChannel&& value) { SetNotificationChannel(std::move(value)); return *this;}
179 
180 
187  inline const Aws::String& GetJobTag() const{ return m_jobTag; }
188 
195  inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
196 
203  inline void SetJobTag(const Aws::String& value) { m_jobTagHasBeenSet = true; m_jobTag = value; }
204 
211  inline void SetJobTag(Aws::String&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::move(value); }
212 
219  inline void SetJobTag(const char* value) { m_jobTagHasBeenSet = true; m_jobTag.assign(value); }
220 
227  inline StartSegmentDetectionRequest& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
228 
235  inline StartSegmentDetectionRequest& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
236 
243  inline StartSegmentDetectionRequest& WithJobTag(const char* value) { SetJobTag(value); return *this;}
244 
245 
249  inline const StartSegmentDetectionFilters& GetFilters() const{ return m_filters; }
250 
254  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
255 
259  inline void SetFilters(const StartSegmentDetectionFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
260 
264  inline void SetFilters(StartSegmentDetectionFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
265 
269  inline StartSegmentDetectionRequest& WithFilters(const StartSegmentDetectionFilters& value) { SetFilters(value); return *this;}
270 
274  inline StartSegmentDetectionRequest& WithFilters(StartSegmentDetectionFilters&& value) { SetFilters(std::move(value)); return *this;}
275 
276 
281  inline const Aws::Vector<SegmentType>& GetSegmentTypes() const{ return m_segmentTypes; }
282 
287  inline bool SegmentTypesHasBeenSet() const { return m_segmentTypesHasBeenSet; }
288 
293  inline void SetSegmentTypes(const Aws::Vector<SegmentType>& value) { m_segmentTypesHasBeenSet = true; m_segmentTypes = value; }
294 
299  inline void SetSegmentTypes(Aws::Vector<SegmentType>&& value) { m_segmentTypesHasBeenSet = true; m_segmentTypes = std::move(value); }
300 
305  inline StartSegmentDetectionRequest& WithSegmentTypes(const Aws::Vector<SegmentType>& value) { SetSegmentTypes(value); return *this;}
306 
311  inline StartSegmentDetectionRequest& WithSegmentTypes(Aws::Vector<SegmentType>&& value) { SetSegmentTypes(std::move(value)); return *this;}
312 
317  inline StartSegmentDetectionRequest& AddSegmentTypes(const SegmentType& value) { m_segmentTypesHasBeenSet = true; m_segmentTypes.push_back(value); return *this; }
318 
323  inline StartSegmentDetectionRequest& AddSegmentTypes(SegmentType&& value) { m_segmentTypesHasBeenSet = true; m_segmentTypes.push_back(std::move(value)); return *this; }
324 
325  private:
326 
327  Video m_video;
328  bool m_videoHasBeenSet;
329 
330  Aws::String m_clientRequestToken;
331  bool m_clientRequestTokenHasBeenSet;
332 
333  NotificationChannel m_notificationChannel;
334  bool m_notificationChannelHasBeenSet;
335 
336  Aws::String m_jobTag;
337  bool m_jobTagHasBeenSet;
338 
340  bool m_filtersHasBeenSet;
341 
342  Aws::Vector<SegmentType> m_segmentTypes;
343  bool m_segmentTypesHasBeenSet;
344  };
345 
346 } // namespace Model
347 } // namespace Rekognition
348 } // namespace Aws
SegmentType.h
Aws::Rekognition::Model::StartSegmentDetectionRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: StartSegmentDetectionRequest.h:67
Aws::Rekognition::Model::StartSegmentDetectionRequest::WithClientRequestToken
StartSegmentDetectionRequest & WithClientRequestToken(const char *value)
Definition: StartSegmentDetectionRequest.h:123
Aws::Rekognition::Model::StartSegmentDetectionRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: StartSegmentDetectionRequest.h:75
Aws::Rekognition::Model::StartSegmentDetectionRequest::SetVideo
void SetVideo(Video &&value)
Definition: StartSegmentDetectionRequest.h:52
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Rekognition::Model::StartSegmentDetectionRequest::GetJobTag
const Aws::String & GetJobTag() const
Definition: StartSegmentDetectionRequest.h:187
Aws::Rekognition::Model::StartSegmentDetectionRequest::JobTagHasBeenSet
bool JobTagHasBeenSet() const
Definition: StartSegmentDetectionRequest.h:195
Aws::Rekognition::Model::StartSegmentDetectionRequest::WithJobTag
StartSegmentDetectionRequest & WithJobTag(Aws::String &&value)
Definition: StartSegmentDetectionRequest.h:235
Aws::Rekognition::Model::StartSegmentDetectionRequest::SetFilters
void SetFilters(StartSegmentDetectionFilters &&value)
Definition: StartSegmentDetectionRequest.h:264
Aws::Rekognition::Model::StartSegmentDetectionRequest::WithVideo
StartSegmentDetectionRequest & WithVideo(Video &&value)
Definition: StartSegmentDetectionRequest.h:58
Aws::Rekognition::Model::StartSegmentDetectionFilters
Definition: StartSegmentDetectionFilters.h:34
Aws::Rekognition::Model::StartSegmentDetectionRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: StartSegmentDetectionRequest.h:99
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Rekognition::Model::StartSegmentDetectionRequest::SetFilters
void SetFilters(const StartSegmentDetectionFilters &value)
Definition: StartSegmentDetectionRequest.h:259
Aws::Rekognition::Model::StartSegmentDetectionRequest::WithSegmentTypes
StartSegmentDetectionRequest & WithSegmentTypes(Aws::Vector< SegmentType > &&value)
Definition: StartSegmentDetectionRequest.h:311
AWSVector.h
Aws::Rekognition::Model::StartSegmentDetectionRequest::VideoHasBeenSet
bool VideoHasBeenSet() const
Definition: StartSegmentDetectionRequest.h:46
Aws::Rekognition::Model::StartSegmentDetectionRequest::WithNotificationChannel
StartSegmentDetectionRequest & WithNotificationChannel(NotificationChannel &&value)
Definition: StartSegmentDetectionRequest.h:178
StartSegmentDetectionFilters.h
Aws::Rekognition::Model::StartSegmentDetectionRequest::SetNotificationChannel
void SetNotificationChannel(NotificationChannel &&value)
Definition: StartSegmentDetectionRequest.h:160
Aws::Rekognition::Model::StartSegmentDetectionRequest::WithClientRequestToken
StartSegmentDetectionRequest & WithClientRequestToken(const Aws::String &value)
Definition: StartSegmentDetectionRequest.h:107
Aws::Rekognition::Model::SegmentType
SegmentType
Definition: SegmentType.h:17
Aws::Rekognition::Model::StartSegmentDetectionRequest::SetJobTag
void SetJobTag(const Aws::String &value)
Definition: StartSegmentDetectionRequest.h:203
Aws::Rekognition::Model::StartSegmentDetectionRequest::GetSegmentTypes
const Aws::Vector< SegmentType > & GetSegmentTypes() const
Definition: StartSegmentDetectionRequest.h:281
Aws::Rekognition::Model::StartSegmentDetectionRequest::NotificationChannelHasBeenSet
bool NotificationChannelHasBeenSet() const
Definition: StartSegmentDetectionRequest.h:142
Aws::Rekognition::Model::StartSegmentDetectionRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: StartSegmentDetectionRequest.h:254
Aws::Rekognition::Model::NotificationChannel
Definition: NotificationChannel.h:39
Aws::Rekognition::Model::StartSegmentDetectionRequest::WithFilters
StartSegmentDetectionRequest & WithFilters(const StartSegmentDetectionFilters &value)
Definition: StartSegmentDetectionRequest.h:269
Video.h
Aws::Rekognition::Model::StartSegmentDetectionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Rekognition::RekognitionRequest
Definition: RekognitionRequest.h:17
Aws::Rekognition::Model::StartSegmentDetectionRequest::AddSegmentTypes
StartSegmentDetectionRequest & AddSegmentTypes(SegmentType &&value)
Definition: StartSegmentDetectionRequest.h:323
Aws::Rekognition::Model::StartSegmentDetectionRequest::GetFilters
const StartSegmentDetectionFilters & GetFilters() const
Definition: StartSegmentDetectionRequest.h:249
Aws::Rekognition::Model::StartSegmentDetectionRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: StartSegmentDetectionRequest.h:91
Aws::Rekognition::Model::StartSegmentDetectionRequest::WithJobTag
StartSegmentDetectionRequest & WithJobTag(const Aws::String &value)
Definition: StartSegmentDetectionRequest.h:227
AWSString.h
Aws::Rekognition::Model::StartSegmentDetectionRequest::WithJobTag
StartSegmentDetectionRequest & WithJobTag(const char *value)
Definition: StartSegmentDetectionRequest.h:243
Aws::Rekognition::Model::StartSegmentDetectionRequest::SetNotificationChannel
void SetNotificationChannel(const NotificationChannel &value)
Definition: StartSegmentDetectionRequest.h:151
Aws::Rekognition::Model::StartSegmentDetectionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartSegmentDetectionRequest.h:35
Aws::Rekognition::Model::StartSegmentDetectionRequest::WithNotificationChannel
StartSegmentDetectionRequest & WithNotificationChannel(const NotificationChannel &value)
Definition: StartSegmentDetectionRequest.h:169
Aws::Rekognition::Model::StartSegmentDetectionRequest::GetNotificationChannel
const NotificationChannel & GetNotificationChannel() const
Definition: StartSegmentDetectionRequest.h:133
Aws::Rekognition::Model::StartSegmentDetectionRequest::WithClientRequestToken
StartSegmentDetectionRequest & WithClientRequestToken(Aws::String &&value)
Definition: StartSegmentDetectionRequest.h:115
Aws::Rekognition::Model::StartSegmentDetectionRequest::SetSegmentTypes
void SetSegmentTypes(Aws::Vector< SegmentType > &&value)
Definition: StartSegmentDetectionRequest.h:299
Aws::Rekognition::Model::StartSegmentDetectionRequest::WithSegmentTypes
StartSegmentDetectionRequest & WithSegmentTypes(const Aws::Vector< SegmentType > &value)
Definition: StartSegmentDetectionRequest.h:305
Aws::Rekognition::Model::StartSegmentDetectionRequest::WithFilters
StartSegmentDetectionRequest & WithFilters(StartSegmentDetectionFilters &&value)
Definition: StartSegmentDetectionRequest.h:274
Aws::Rekognition::Model::StartSegmentDetectionRequest::GetVideo
const Video & GetVideo() const
Definition: StartSegmentDetectionRequest.h:43
AWS_REKOGNITION_API
#define AWS_REKOGNITION_API
Definition: Rekognition_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::Rekognition::Model::StartSegmentDetectionRequest::SetJobTag
void SetJobTag(const char *value)
Definition: StartSegmentDetectionRequest.h:219
Aws::Rekognition::Model::StartSegmentDetectionRequest
Definition: StartSegmentDetectionRequest.h:27
NotificationChannel.h
Aws::Rekognition::Model::StartSegmentDetectionRequest::SetVideo
void SetVideo(const Video &value)
Definition: StartSegmentDetectionRequest.h:49
Rekognition_EXPORTS.h
Aws::Rekognition::Model::StartSegmentDetectionRequest::StartSegmentDetectionRequest
StartSegmentDetectionRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Rekognition::Model::StartSegmentDetectionRequest::AddSegmentTypes
StartSegmentDetectionRequest & AddSegmentTypes(const SegmentType &value)
Definition: StartSegmentDetectionRequest.h:317
Aws::Rekognition::Model::StartSegmentDetectionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Rekognition::Model::Video
Definition: Video.h:35
Aws::Rekognition::Model::StartSegmentDetectionRequest::SegmentTypesHasBeenSet
bool SegmentTypesHasBeenSet() const
Definition: StartSegmentDetectionRequest.h:287
Aws::Rekognition::Model::StartSegmentDetectionRequest::SetSegmentTypes
void SetSegmentTypes(const Aws::Vector< SegmentType > &value)
Definition: StartSegmentDetectionRequest.h:293
Aws::Rekognition::Model::StartSegmentDetectionRequest::WithVideo
StartSegmentDetectionRequest & WithVideo(const Video &value)
Definition: StartSegmentDetectionRequest.h:55
Aws::Rekognition::Model::StartSegmentDetectionRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: StartSegmentDetectionRequest.h:83
Aws::Rekognition::Model::StartSegmentDetectionRequest::SetJobTag
void SetJobTag(Aws::String &&value)
Definition: StartSegmentDetectionRequest.h:211
RekognitionRequest.h