AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetectTextRequest.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/rekognition/model/Image.h>
10#include <aws/rekognition/model/DetectTextFilters.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Rekognition
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_REKOGNITION_API DetectTextRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DetectText"; }
32
33 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
34
35 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
46 inline const Image& GetImage() const{ return m_image; }
47 inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
48 inline void SetImage(const Image& value) { m_imageHasBeenSet = true; m_image = value; }
49 inline void SetImage(Image&& value) { m_imageHasBeenSet = true; m_image = std::move(value); }
50 inline DetectTextRequest& WithImage(const Image& value) { SetImage(value); return *this;}
51 inline DetectTextRequest& WithImage(Image&& value) { SetImage(std::move(value)); return *this;}
53
55
59 inline const DetectTextFilters& GetFilters() const{ return m_filters; }
60 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
61 inline void SetFilters(const DetectTextFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
62 inline void SetFilters(DetectTextFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
63 inline DetectTextRequest& WithFilters(const DetectTextFilters& value) { SetFilters(value); return *this;}
64 inline DetectTextRequest& WithFilters(DetectTextFilters&& value) { SetFilters(std::move(value)); return *this;}
66 private:
67
68 Image m_image;
69 bool m_imageHasBeenSet = false;
70
71 DetectTextFilters m_filters;
72 bool m_filtersHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Rekognition
77} // namespace Aws
DetectTextRequest & WithImage(Image &&value)
void SetFilters(DetectTextFilters &&value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
const DetectTextFilters & GetFilters() const
void SetFilters(const DetectTextFilters &value)
DetectTextRequest & WithFilters(DetectTextFilters &&value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DetectTextRequest & WithImage(const Image &value)
DetectTextRequest & WithFilters(const DetectTextFilters &value)
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