AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TextDetectionResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/TextDetection.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Rekognition
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_REKOGNITION_API TextDetectionResult();
37 AWS_REKOGNITION_API TextDetectionResult(Aws::Utils::Json::JsonView jsonValue);
39 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline long long GetTimestamp() const{ return m_timestamp; }
49 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
50 inline void SetTimestamp(long long value) { m_timestampHasBeenSet = true; m_timestamp = value; }
51 inline TextDetectionResult& WithTimestamp(long long value) { SetTimestamp(value); return *this;}
53
55
58 inline const TextDetection& GetTextDetection() const{ return m_textDetection; }
59 inline bool TextDetectionHasBeenSet() const { return m_textDetectionHasBeenSet; }
60 inline void SetTextDetection(const TextDetection& value) { m_textDetectionHasBeenSet = true; m_textDetection = value; }
61 inline void SetTextDetection(TextDetection&& value) { m_textDetectionHasBeenSet = true; m_textDetection = std::move(value); }
62 inline TextDetectionResult& WithTextDetection(const TextDetection& value) { SetTextDetection(value); return *this;}
63 inline TextDetectionResult& WithTextDetection(TextDetection&& value) { SetTextDetection(std::move(value)); return *this;}
65 private:
66
67 long long m_timestamp;
68 bool m_timestampHasBeenSet = false;
69
70 TextDetection m_textDetection;
71 bool m_textDetectionHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Rekognition
76} // namespace Aws
TextDetectionResult & WithTextDetection(const TextDetection &value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
TextDetectionResult & WithTimestamp(long long value)
void SetTextDetection(const TextDetection &value)
AWS_REKOGNITION_API TextDetectionResult & operator=(Aws::Utils::Json::JsonView jsonValue)
TextDetectionResult & WithTextDetection(TextDetection &&value)
AWS_REKOGNITION_API TextDetectionResult(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue