AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
StartTextDetectionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/rekognition/Rekognition_EXPORTS.h>
10#include <aws/rekognition/model/NotificationChannel.h>
11#include <aws/rekognition/model/StartTextDetectionFilters.h>
12#include <aws/rekognition/model/Video.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Rekognition {
18namespace Model {
19
23 public:
24 AWS_REKOGNITION_API StartTextDetectionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "StartTextDetection"; }
31
32 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
33
34 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
38 inline const Video& GetVideo() const { return m_video; }
39 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
40 template <typename VideoT = Video>
41 void SetVideo(VideoT&& value) {
42 m_videoHasBeenSet = true;
43 m_video = std::forward<VideoT>(value);
44 }
45 template <typename VideoT = Video>
47 SetVideo(std::forward<VideoT>(value));
48 return *this;
49 }
51
53
59 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
60 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
61 template <typename ClientRequestTokenT = Aws::String>
62 void SetClientRequestToken(ClientRequestTokenT&& value) {
63 m_clientRequestTokenHasBeenSet = true;
64 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
65 }
66 template <typename ClientRequestTokenT = Aws::String>
67 StartTextDetectionRequest& WithClientRequestToken(ClientRequestTokenT&& value) {
68 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
69 return *this;
70 }
72
74
75 inline const NotificationChannel& GetNotificationChannel() const { return m_notificationChannel; }
76 inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
77 template <typename NotificationChannelT = NotificationChannel>
78 void SetNotificationChannel(NotificationChannelT&& value) {
79 m_notificationChannelHasBeenSet = true;
80 m_notificationChannel = std::forward<NotificationChannelT>(value);
81 }
82 template <typename NotificationChannelT = NotificationChannel>
83 StartTextDetectionRequest& WithNotificationChannel(NotificationChannelT&& value) {
84 SetNotificationChannel(std::forward<NotificationChannelT>(value));
85 return *this;
86 }
88
90
95 inline const Aws::String& GetJobTag() const { return m_jobTag; }
96 inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
97 template <typename JobTagT = Aws::String>
98 void SetJobTag(JobTagT&& value) {
99 m_jobTagHasBeenSet = true;
100 m_jobTag = std::forward<JobTagT>(value);
101 }
102 template <typename JobTagT = Aws::String>
104 SetJobTag(std::forward<JobTagT>(value));
105 return *this;
106 }
108
110
114 inline const StartTextDetectionFilters& GetFilters() const { return m_filters; }
115 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
116 template <typename FiltersT = StartTextDetectionFilters>
117 void SetFilters(FiltersT&& value) {
118 m_filtersHasBeenSet = true;
119 m_filters = std::forward<FiltersT>(value);
120 }
121 template <typename FiltersT = StartTextDetectionFilters>
123 SetFilters(std::forward<FiltersT>(value));
124 return *this;
125 }
127 private:
128 Video m_video;
129 bool m_videoHasBeenSet = false;
130
131 Aws::String m_clientRequestToken;
132 bool m_clientRequestTokenHasBeenSet = false;
133
134 NotificationChannel m_notificationChannel;
135 bool m_notificationChannelHasBeenSet = false;
136
137 Aws::String m_jobTag;
138 bool m_jobTagHasBeenSet = false;
139
141 bool m_filtersHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace Rekognition
146} // 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