/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Rekognition { namespace Model { /** *

Video file stored in an Amazon S3 bucket. Amazon Rekognition video start * operations such as StartLabelDetection use Video to specify * a video for analysis. The supported file formats are .mp4, .mov and * .avi.

See Also:

AWS * API Reference

*/ class Video { public: AWS_REKOGNITION_API Video(); AWS_REKOGNITION_API Video(Aws::Utils::Json::JsonView jsonValue); AWS_REKOGNITION_API Video& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon S3 bucket name and file name for the video.

*/ inline const S3Object& GetS3Object() const{ return m_s3Object; } /** *

The Amazon S3 bucket name and file name for the video.

*/ inline bool S3ObjectHasBeenSet() const { return m_s3ObjectHasBeenSet; } /** *

The Amazon S3 bucket name and file name for the video.

*/ inline void SetS3Object(const S3Object& value) { m_s3ObjectHasBeenSet = true; m_s3Object = value; } /** *

The Amazon S3 bucket name and file name for the video.

*/ inline void SetS3Object(S3Object&& value) { m_s3ObjectHasBeenSet = true; m_s3Object = std::move(value); } /** *

The Amazon S3 bucket name and file name for the video.

*/ inline Video& WithS3Object(const S3Object& value) { SetS3Object(value); return *this;} /** *

The Amazon S3 bucket name and file name for the video.

*/ inline Video& WithS3Object(S3Object&& value) { SetS3Object(std::move(value)); return *this;} private: S3Object m_s3Object; bool m_s3ObjectHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws