/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace KinesisVideoArchivedMedia { namespace Model { class GetImagesResult { public: AWS_KINESISVIDEOARCHIVEDMEDIA_API GetImagesResult(); AWS_KINESISVIDEOARCHIVEDMEDIA_API GetImagesResult(const Aws::AmazonWebServiceResult& result); AWS_KINESISVIDEOARCHIVEDMEDIA_API GetImagesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The list of images generated from the video stream. If there is no media * available for the given timestamp, the NO_MEDIA error will be * listed in the output. If an error occurs while the image is being generated, the * MEDIA_ERROR will be listed in the output as the cause of the * missing image.

*/ inline const Aws::Vector& GetImages() const{ return m_images; } /** *

The list of images generated from the video stream. If there is no media * available for the given timestamp, the NO_MEDIA error will be * listed in the output. If an error occurs while the image is being generated, the * MEDIA_ERROR will be listed in the output as the cause of the * missing image.

*/ inline void SetImages(const Aws::Vector& value) { m_images = value; } /** *

The list of images generated from the video stream. If there is no media * available for the given timestamp, the NO_MEDIA error will be * listed in the output. If an error occurs while the image is being generated, the * MEDIA_ERROR will be listed in the output as the cause of the * missing image.

*/ inline void SetImages(Aws::Vector&& value) { m_images = std::move(value); } /** *

The list of images generated from the video stream. If there is no media * available for the given timestamp, the NO_MEDIA error will be * listed in the output. If an error occurs while the image is being generated, the * MEDIA_ERROR will be listed in the output as the cause of the * missing image.

*/ inline GetImagesResult& WithImages(const Aws::Vector& value) { SetImages(value); return *this;} /** *

The list of images generated from the video stream. If there is no media * available for the given timestamp, the NO_MEDIA error will be * listed in the output. If an error occurs while the image is being generated, the * MEDIA_ERROR will be listed in the output as the cause of the * missing image.

*/ inline GetImagesResult& WithImages(Aws::Vector&& value) { SetImages(std::move(value)); return *this;} /** *

The list of images generated from the video stream. If there is no media * available for the given timestamp, the NO_MEDIA error will be * listed in the output. If an error occurs while the image is being generated, the * MEDIA_ERROR will be listed in the output as the cause of the * missing image.

*/ inline GetImagesResult& AddImages(const Image& value) { m_images.push_back(value); return *this; } /** *

The list of images generated from the video stream. If there is no media * available for the given timestamp, the NO_MEDIA error will be * listed in the output. If an error occurs while the image is being generated, the * MEDIA_ERROR will be listed in the output as the cause of the * missing image.

*/ inline GetImagesResult& AddImages(Image&& value) { m_images.push_back(std::move(value)); return *this; } /** *

The encrypted token that was used in the request to get more images.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The encrypted token that was used in the request to get more images.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The encrypted token that was used in the request to get more images.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The encrypted token that was used in the request to get more images.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The encrypted token that was used in the request to get more images.

*/ inline GetImagesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The encrypted token that was used in the request to get more images.

*/ inline GetImagesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The encrypted token that was used in the request to get more images.

*/ inline GetImagesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetImagesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetImagesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetImagesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_images; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace KinesisVideoArchivedMedia } // namespace Aws