AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartSegmentDetectionRequest.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 <aws/rekognition/model/StartSegmentDetectionFilters.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/rekognition/model/SegmentType.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Rekognition
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_REKOGNITION_API StartSegmentDetectionRequest();
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_REKOGNITION_API Aws::String SerializePayload() const override;
38
39 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
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 StartSegmentDetectionRequest& WithVideo(const Video& value) { SetVideo(value); return *this;}
49 inline StartSegmentDetectionRequest& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
51
53
59 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
60 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
61 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
62 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
63 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
65 inline StartSegmentDetectionRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
66 inline StartSegmentDetectionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
68
70
77 inline const NotificationChannel& GetNotificationChannel() const{ return m_notificationChannel; }
78 inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
79 inline void SetNotificationChannel(const NotificationChannel& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = value; }
80 inline void SetNotificationChannel(NotificationChannel&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::move(value); }
84
86
92 inline const Aws::String& GetJobTag() const{ return m_jobTag; }
93 inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
94 inline void SetJobTag(const Aws::String& value) { m_jobTagHasBeenSet = true; m_jobTag = value; }
95 inline void SetJobTag(Aws::String&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::move(value); }
96 inline void SetJobTag(const char* value) { m_jobTagHasBeenSet = true; m_jobTag.assign(value); }
97 inline StartSegmentDetectionRequest& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
98 inline StartSegmentDetectionRequest& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
99 inline StartSegmentDetectionRequest& WithJobTag(const char* value) { SetJobTag(value); return *this;}
101
103
106 inline const StartSegmentDetectionFilters& GetFilters() const{ return m_filters; }
107 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
108 inline void SetFilters(const StartSegmentDetectionFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
109 inline void SetFilters(StartSegmentDetectionFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
111 inline StartSegmentDetectionRequest& WithFilters(StartSegmentDetectionFilters&& value) { SetFilters(std::move(value)); return *this;}
113
115
119 inline const Aws::Vector<SegmentType>& GetSegmentTypes() const{ return m_segmentTypes; }
120 inline bool SegmentTypesHasBeenSet() const { return m_segmentTypesHasBeenSet; }
121 inline void SetSegmentTypes(const Aws::Vector<SegmentType>& value) { m_segmentTypesHasBeenSet = true; m_segmentTypes = value; }
122 inline void SetSegmentTypes(Aws::Vector<SegmentType>&& value) { m_segmentTypesHasBeenSet = true; m_segmentTypes = std::move(value); }
125 inline StartSegmentDetectionRequest& AddSegmentTypes(const SegmentType& value) { m_segmentTypesHasBeenSet = true; m_segmentTypes.push_back(value); return *this; }
126 inline StartSegmentDetectionRequest& AddSegmentTypes(SegmentType&& value) { m_segmentTypesHasBeenSet = true; m_segmentTypes.push_back(std::move(value)); return *this; }
128 private:
129
130 Video m_video;
131 bool m_videoHasBeenSet = false;
132
133 Aws::String m_clientRequestToken;
134 bool m_clientRequestTokenHasBeenSet = false;
135
136 NotificationChannel m_notificationChannel;
137 bool m_notificationChannelHasBeenSet = false;
138
139 Aws::String m_jobTag;
140 bool m_jobTagHasBeenSet = false;
141
143 bool m_filtersHasBeenSet = false;
144
145 Aws::Vector<SegmentType> m_segmentTypes;
146 bool m_segmentTypesHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace Rekognition
151} // namespace Aws
StartSegmentDetectionRequest & WithClientRequestToken(const char *value)
StartSegmentDetectionRequest & WithSegmentTypes(const Aws::Vector< SegmentType > &value)
void SetSegmentTypes(const Aws::Vector< SegmentType > &value)
void SetFilters(const StartSegmentDetectionFilters &value)
StartSegmentDetectionRequest & WithVideo(const Video &value)
StartSegmentDetectionRequest & AddSegmentTypes(const SegmentType &value)
const StartSegmentDetectionFilters & GetFilters() const
StartSegmentDetectionRequest & WithNotificationChannel(NotificationChannel &&value)
StartSegmentDetectionRequest & WithFilters(const StartSegmentDetectionFilters &value)
StartSegmentDetectionRequest & WithFilters(StartSegmentDetectionFilters &&value)
StartSegmentDetectionRequest & WithClientRequestToken(Aws::String &&value)
StartSegmentDetectionRequest & WithSegmentTypes(Aws::Vector< SegmentType > &&value)
StartSegmentDetectionRequest & WithJobTag(Aws::String &&value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
StartSegmentDetectionRequest & WithNotificationChannel(const NotificationChannel &value)
StartSegmentDetectionRequest & WithClientRequestToken(const Aws::String &value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartSegmentDetectionRequest & WithJobTag(const Aws::String &value)
StartSegmentDetectionRequest & WithJobTag(const char *value)
StartSegmentDetectionRequest & WithVideo(Video &&value)
StartSegmentDetectionRequest & AddSegmentTypes(SegmentType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector