AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Rekognition {
20namespace Model {
21
30 public:
31 AWS_REKOGNITION_API TextDetectionResult() = default;
32 AWS_REKOGNITION_API TextDetectionResult(Aws::Utils::Json::JsonView jsonValue);
34 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline long long GetTimestamp() const { return m_timestamp; }
43 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
44 inline void SetTimestamp(long long value) {
45 m_timestampHasBeenSet = true;
46 m_timestamp = value;
47 }
48 inline TextDetectionResult& WithTimestamp(long long value) {
49 SetTimestamp(value);
50 return *this;
51 }
53
55
58 inline const TextDetection& GetTextDetection() const { return m_textDetection; }
59 inline bool TextDetectionHasBeenSet() const { return m_textDetectionHasBeenSet; }
60 template <typename TextDetectionT = TextDetection>
61 void SetTextDetection(TextDetectionT&& value) {
62 m_textDetectionHasBeenSet = true;
63 m_textDetection = std::forward<TextDetectionT>(value);
64 }
65 template <typename TextDetectionT = TextDetection>
66 TextDetectionResult& WithTextDetection(TextDetectionT&& value) {
67 SetTextDetection(std::forward<TextDetectionT>(value));
68 return *this;
69 }
71 private:
72 long long m_timestamp{0};
73
74 TextDetection m_textDetection;
75 bool m_timestampHasBeenSet = false;
76 bool m_textDetectionHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Rekognition
81} // namespace Aws
AWS_REKOGNITION_API TextDetectionResult()=default
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
TextDetectionResult & WithTextDetection(TextDetectionT &&value)
TextDetectionResult & WithTimestamp(long long value)
AWS_REKOGNITION_API TextDetectionResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API TextDetectionResult(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue