/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about text detected in a video. Incudes the detected text, the
* time in milliseconds from the start of the video that the text was detected, and
* where it was detected on the screen.See Also:
AWS
* API Reference
The time, in milliseconds from the start of the video, that the text was * detected.
*/ inline long long GetTimestamp() const{ return m_timestamp; } /** *The time, in milliseconds from the start of the video, that the text was * detected.
*/ inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } /** *The time, in milliseconds from the start of the video, that the text was * detected.
*/ inline void SetTimestamp(long long value) { m_timestampHasBeenSet = true; m_timestamp = value; } /** *The time, in milliseconds from the start of the video, that the text was * detected.
*/ inline TextDetectionResult& WithTimestamp(long long value) { SetTimestamp(value); return *this;} /** *Details about text detected in a video.
*/ inline const TextDetection& GetTextDetection() const{ return m_textDetection; } /** *Details about text detected in a video.
*/ inline bool TextDetectionHasBeenSet() const { return m_textDetectionHasBeenSet; } /** *Details about text detected in a video.
*/ inline void SetTextDetection(const TextDetection& value) { m_textDetectionHasBeenSet = true; m_textDetection = value; } /** *Details about text detected in a video.
*/ inline void SetTextDetection(TextDetection&& value) { m_textDetectionHasBeenSet = true; m_textDetection = std::move(value); } /** *Details about text detected in a video.
*/ inline TextDetectionResult& WithTextDetection(const TextDetection& value) { SetTextDetection(value); return *this;} /** *Details about text detected in a video.
*/ inline TextDetectionResult& WithTextDetection(TextDetection&& value) { SetTextDetection(std::move(value)); return *this;} private: long long m_timestamp; bool m_timestampHasBeenSet; TextDetection m_textDetection; bool m_textDetectionHasBeenSet; }; } // namespace Model } // namespace Rekognition } // namespace Aws