AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartTextDetectionRequest.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/StartTextDetectionFilters.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Rekognition
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_REKOGNITION_API StartTextDetectionRequest() = default;
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_REKOGNITION_API Aws::String SerializePayload() const override;
36
37 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
42 inline const Video& GetVideo() const { return m_video; }
43 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
44 template<typename VideoT = Video>
45 void SetVideo(VideoT&& value) { m_videoHasBeenSet = true; m_video = std::forward<VideoT>(value); }
46 template<typename VideoT = Video>
47 StartTextDetectionRequest& WithVideo(VideoT&& value) { SetVideo(std::forward<VideoT>(value)); return *this;}
49
51
57 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
58 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
59 template<typename ClientRequestTokenT = Aws::String>
60 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
61 template<typename ClientRequestTokenT = Aws::String>
62 StartTextDetectionRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
64
66
67 inline const NotificationChannel& GetNotificationChannel() const { return m_notificationChannel; }
68 inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
69 template<typename NotificationChannelT = NotificationChannel>
70 void SetNotificationChannel(NotificationChannelT&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::forward<NotificationChannelT>(value); }
71 template<typename NotificationChannelT = NotificationChannel>
72 StartTextDetectionRequest& WithNotificationChannel(NotificationChannelT&& value) { SetNotificationChannel(std::forward<NotificationChannelT>(value)); return *this;}
74
76
81 inline const Aws::String& GetJobTag() const { return m_jobTag; }
82 inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
83 template<typename JobTagT = Aws::String>
84 void SetJobTag(JobTagT&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::forward<JobTagT>(value); }
85 template<typename JobTagT = Aws::String>
86 StartTextDetectionRequest& WithJobTag(JobTagT&& value) { SetJobTag(std::forward<JobTagT>(value)); return *this;}
88
90
94 inline const StartTextDetectionFilters& GetFilters() const { return m_filters; }
95 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
96 template<typename FiltersT = StartTextDetectionFilters>
97 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
98 template<typename FiltersT = StartTextDetectionFilters>
99 StartTextDetectionRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
101 private:
102
103 Video m_video;
104 bool m_videoHasBeenSet = false;
105
106 Aws::String m_clientRequestToken;
107 bool m_clientRequestTokenHasBeenSet = false;
108
109 NotificationChannel m_notificationChannel;
110 bool m_notificationChannelHasBeenSet = false;
111
112 Aws::String m_jobTag;
113 bool m_jobTagHasBeenSet = false;
114
116 bool m_filtersHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Rekognition
121} // namespace Aws
StartTextDetectionRequest & WithJobTag(JobTagT &&value)
StartTextDetectionRequest & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
StartTextDetectionRequest & WithFilters(FiltersT &&value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartTextDetectionRequest & WithNotificationChannel(NotificationChannelT &&value)
AWS_REKOGNITION_API StartTextDetectionRequest()=default
StartTextDetectionRequest & WithVideo(VideoT &&value)
const StartTextDetectionFilters & GetFilters() const
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String