AWS SDK for C++  1.9.159
AWS SDK for C++
StartTextDetectionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Rekognition
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "StartTextDetection"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
40 
41  inline const Video& GetVideo() const{ return m_video; }
42 
43 
44  inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
45 
46 
47  inline void SetVideo(const Video& value) { m_videoHasBeenSet = true; m_video = value; }
48 
49 
50  inline void SetVideo(Video&& value) { m_videoHasBeenSet = true; m_video = std::move(value); }
51 
52 
53  inline StartTextDetectionRequest& WithVideo(const Video& value) { SetVideo(value); return *this;}
54 
55 
56  inline StartTextDetectionRequest& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
57 
58 
65  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
66 
73  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
74 
81  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
82 
89  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
90 
97  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
98 
105  inline StartTextDetectionRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
106 
113  inline StartTextDetectionRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
114 
121  inline StartTextDetectionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
122 
123 
124 
125  inline const NotificationChannel& GetNotificationChannel() const{ return m_notificationChannel; }
126 
127 
128  inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
129 
130 
131  inline void SetNotificationChannel(const NotificationChannel& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = value; }
132 
133 
134  inline void SetNotificationChannel(NotificationChannel&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::move(value); }
135 
136 
137  inline StartTextDetectionRequest& WithNotificationChannel(const NotificationChannel& value) { SetNotificationChannel(value); return *this;}
138 
139 
140  inline StartTextDetectionRequest& WithNotificationChannel(NotificationChannel&& value) { SetNotificationChannel(std::move(value)); return *this;}
141 
142 
148  inline const Aws::String& GetJobTag() const{ return m_jobTag; }
149 
155  inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
156 
162  inline void SetJobTag(const Aws::String& value) { m_jobTagHasBeenSet = true; m_jobTag = value; }
163 
169  inline void SetJobTag(Aws::String&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::move(value); }
170 
176  inline void SetJobTag(const char* value) { m_jobTagHasBeenSet = true; m_jobTag.assign(value); }
177 
183  inline StartTextDetectionRequest& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
184 
190  inline StartTextDetectionRequest& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
191 
197  inline StartTextDetectionRequest& WithJobTag(const char* value) { SetJobTag(value); return *this;}
198 
199 
204  inline const StartTextDetectionFilters& GetFilters() const{ return m_filters; }
205 
210  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
211 
216  inline void SetFilters(const StartTextDetectionFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
217 
222  inline void SetFilters(StartTextDetectionFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
223 
228  inline StartTextDetectionRequest& WithFilters(const StartTextDetectionFilters& value) { SetFilters(value); return *this;}
229 
234  inline StartTextDetectionRequest& WithFilters(StartTextDetectionFilters&& value) { SetFilters(std::move(value)); return *this;}
235 
236  private:
237 
238  Video m_video;
239  bool m_videoHasBeenSet;
240 
241  Aws::String m_clientRequestToken;
242  bool m_clientRequestTokenHasBeenSet;
243 
244  NotificationChannel m_notificationChannel;
245  bool m_notificationChannelHasBeenSet;
246 
247  Aws::String m_jobTag;
248  bool m_jobTagHasBeenSet;
249 
250  StartTextDetectionFilters m_filters;
251  bool m_filtersHasBeenSet;
252  };
253 
254 } // namespace Model
255 } // namespace Rekognition
256 } // namespace Aws
Aws::Rekognition::Model::StartTextDetectionRequest::WithVideo
StartTextDetectionRequest & WithVideo(const Video &value)
Definition: StartTextDetectionRequest.h:53
Aws::Rekognition::Model::StartTextDetectionRequest::WithJobTag
StartTextDetectionRequest & WithJobTag(const char *value)
Definition: StartTextDetectionRequest.h:197
Aws::Rekognition::Model::StartTextDetectionRequest::WithFilters
StartTextDetectionRequest & WithFilters(const StartTextDetectionFilters &value)
Definition: StartTextDetectionRequest.h:228
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Rekognition::Model::StartTextDetectionRequest::SetVideo
void SetVideo(Video &&value)
Definition: StartTextDetectionRequest.h:50
Aws::Rekognition::Model::StartTextDetectionRequest::WithFilters
StartTextDetectionRequest & WithFilters(StartTextDetectionFilters &&value)
Definition: StartTextDetectionRequest.h:234
Aws::Rekognition::Model::StartTextDetectionRequest::GetFilters
const StartTextDetectionFilters & GetFilters() const
Definition: StartTextDetectionRequest.h:204
Aws::Rekognition::Model::StartTextDetectionRequest
Definition: StartTextDetectionRequest.h:25
Aws::Rekognition::Model::StartTextDetectionRequest::WithNotificationChannel
StartTextDetectionRequest & WithNotificationChannel(const NotificationChannel &value)
Definition: StartTextDetectionRequest.h:137
Aws::Rekognition::Model::StartTextDetectionRequest::WithNotificationChannel
StartTextDetectionRequest & WithNotificationChannel(NotificationChannel &&value)
Definition: StartTextDetectionRequest.h:140
Aws::Rekognition::Model::StartTextDetectionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Rekognition::Model::StartTextDetectionRequest::GetVideo
const Video & GetVideo() const
Definition: StartTextDetectionRequest.h:41
Aws::Rekognition::Model::StartTextDetectionRequest::SetVideo
void SetVideo(const Video &value)
Definition: StartTextDetectionRequest.h:47
Aws::Rekognition::Model::StartTextDetectionRequest::SetFilters
void SetFilters(StartTextDetectionFilters &&value)
Definition: StartTextDetectionRequest.h:222
Aws::Rekognition::Model::StartTextDetectionRequest::SetJobTag
void SetJobTag(Aws::String &&value)
Definition: StartTextDetectionRequest.h:169
Aws::Rekognition::Model::StartTextDetectionRequest::SetFilters
void SetFilters(const StartTextDetectionFilters &value)
Definition: StartTextDetectionRequest.h:216
StartTextDetectionFilters.h
Aws::Rekognition::Model::StartTextDetectionRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: StartTextDetectionRequest.h:65
Aws::Rekognition::Model::StartTextDetectionRequest::WithClientRequestToken
StartTextDetectionRequest & WithClientRequestToken(Aws::String &&value)
Definition: StartTextDetectionRequest.h:113
Aws::Rekognition::Model::StartTextDetectionRequest::GetJobTag
const Aws::String & GetJobTag() const
Definition: StartTextDetectionRequest.h:148
Aws::Rekognition::Model::StartTextDetectionRequest::SetNotificationChannel
void SetNotificationChannel(NotificationChannel &&value)
Definition: StartTextDetectionRequest.h:134
Aws::Rekognition::Model::StartTextDetectionRequest::VideoHasBeenSet
bool VideoHasBeenSet() const
Definition: StartTextDetectionRequest.h:44
Aws::Rekognition::Model::NotificationChannel
Definition: NotificationChannel.h:39
Video.h
Aws::Rekognition::Model::StartTextDetectionRequest::GetNotificationChannel
const NotificationChannel & GetNotificationChannel() const
Definition: StartTextDetectionRequest.h:125
Aws::Rekognition::RekognitionRequest
Definition: RekognitionRequest.h:17
Aws::Rekognition::Model::StartTextDetectionRequest::NotificationChannelHasBeenSet
bool NotificationChannelHasBeenSet() const
Definition: StartTextDetectionRequest.h:128
Aws::Rekognition::Model::StartTextDetectionRequest::SetNotificationChannel
void SetNotificationChannel(const NotificationChannel &value)
Definition: StartTextDetectionRequest.h:131
AWSString.h
Aws::Rekognition::Model::StartTextDetectionRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: StartTextDetectionRequest.h:89
Aws::Rekognition::Model::StartTextDetectionRequest::SetJobTag
void SetJobTag(const char *value)
Definition: StartTextDetectionRequest.h:176
Aws::Rekognition::Model::StartTextDetectionRequest::WithClientRequestToken
StartTextDetectionRequest & WithClientRequestToken(const Aws::String &value)
Definition: StartTextDetectionRequest.h:105
Aws::Rekognition::Model::StartTextDetectionFilters
Definition: StartTextDetectionFilters.h:37
Aws::Rekognition::Model::StartTextDetectionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartTextDetectionRequest.h:33
AWS_REKOGNITION_API
#define AWS_REKOGNITION_API
Definition: Rekognition_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::Rekognition::Model::StartTextDetectionRequest::WithJobTag
StartTextDetectionRequest & WithJobTag(Aws::String &&value)
Definition: StartTextDetectionRequest.h:190
Aws::Rekognition::Model::StartTextDetectionRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: StartTextDetectionRequest.h:97
NotificationChannel.h
Aws::Rekognition::Model::StartTextDetectionRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: StartTextDetectionRequest.h:81
Rekognition_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Rekognition::Model::StartTextDetectionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Rekognition::Model::StartTextDetectionRequest::WithVideo
StartTextDetectionRequest & WithVideo(Video &&value)
Definition: StartTextDetectionRequest.h:56
Aws::Rekognition::Model::StartTextDetectionRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: StartTextDetectionRequest.h:73
Aws::Rekognition::Model::Video
Definition: Video.h:35
Aws::Rekognition::Model::StartTextDetectionRequest::WithClientRequestToken
StartTextDetectionRequest & WithClientRequestToken(const char *value)
Definition: StartTextDetectionRequest.h:121
Aws::Rekognition::Model::StartTextDetectionRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: StartTextDetectionRequest.h:210
Aws::Rekognition::Model::StartTextDetectionRequest::SetJobTag
void SetJobTag(const Aws::String &value)
Definition: StartTextDetectionRequest.h:162
Aws::Rekognition::Model::StartTextDetectionRequest::JobTagHasBeenSet
bool JobTagHasBeenSet() const
Definition: StartTextDetectionRequest.h:155
Aws::Rekognition::Model::StartTextDetectionRequest::StartTextDetectionRequest
StartTextDetectionRequest()
Aws::Rekognition::Model::StartTextDetectionRequest::WithJobTag
StartTextDetectionRequest & WithJobTag(const Aws::String &value)
Definition: StartTextDetectionRequest.h:183
RekognitionRequest.h