AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVideo(const Video& value) { m_videoHasBeenSet = true; m_video = value; }
45 inline void SetVideo(Video&& value) { m_videoHasBeenSet = true; m_video = std::move(value); }
46 inline StartTextDetectionRequest& WithVideo(const Video& value) { SetVideo(value); return *this;}
47 inline StartTextDetectionRequest& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
49
51
57 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
58 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
59 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
60 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
61 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
63 inline StartTextDetectionRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
64 inline StartTextDetectionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
66
68
69 inline const NotificationChannel& GetNotificationChannel() const{ return m_notificationChannel; }
70 inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
71 inline void SetNotificationChannel(const NotificationChannel& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = value; }
72 inline void SetNotificationChannel(NotificationChannel&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::move(value); }
76
78
83 inline const Aws::String& GetJobTag() const{ return m_jobTag; }
84 inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
85 inline void SetJobTag(const Aws::String& value) { m_jobTagHasBeenSet = true; m_jobTag = value; }
86 inline void SetJobTag(Aws::String&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::move(value); }
87 inline void SetJobTag(const char* value) { m_jobTagHasBeenSet = true; m_jobTag.assign(value); }
88 inline StartTextDetectionRequest& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
89 inline StartTextDetectionRequest& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
90 inline StartTextDetectionRequest& WithJobTag(const char* value) { SetJobTag(value); return *this;}
92
94
98 inline const StartTextDetectionFilters& GetFilters() const{ return m_filters; }
99 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
100 inline void SetFilters(const StartTextDetectionFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
101 inline void SetFilters(StartTextDetectionFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
102 inline StartTextDetectionRequest& WithFilters(const StartTextDetectionFilters& value) { SetFilters(value); return *this;}
103 inline StartTextDetectionRequest& WithFilters(StartTextDetectionFilters&& value) { SetFilters(std::move(value)); return *this;}
105 private:
106
107 Video m_video;
108 bool m_videoHasBeenSet = false;
109
110 Aws::String m_clientRequestToken;
111 bool m_clientRequestTokenHasBeenSet = false;
112
113 NotificationChannel m_notificationChannel;
114 bool m_notificationChannelHasBeenSet = false;
115
116 Aws::String m_jobTag;
117 bool m_jobTagHasBeenSet = false;
118
120 bool m_filtersHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Rekognition
125} // namespace Aws
StartTextDetectionRequest & WithFilters(StartTextDetectionFilters &&value)
StartTextDetectionRequest & WithVideo(const Video &value)
StartTextDetectionRequest & WithJobTag(const char *value)
StartTextDetectionRequest & WithClientRequestToken(const char *value)
void SetNotificationChannel(const NotificationChannel &value)
StartTextDetectionRequest & WithVideo(Video &&value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartTextDetectionRequest & WithJobTag(const Aws::String &value)
StartTextDetectionRequest & WithJobTag(Aws::String &&value)
StartTextDetectionRequest & WithFilters(const StartTextDetectionFilters &value)
void SetFilters(const StartTextDetectionFilters &value)
StartTextDetectionRequest & WithClientRequestToken(Aws::String &&value)
const StartTextDetectionFilters & GetFilters() const
virtual const char * GetServiceRequestName() const override
StartTextDetectionRequest & WithClientRequestToken(const Aws::String &value)
StartTextDetectionRequest & WithNotificationChannel(const NotificationChannel &value)
StartTextDetectionRequest & WithNotificationChannel(NotificationChannel &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String