/** * 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 ECR { namespace Model { class AWS_ECR_API BatchGetImageResult { public: BatchGetImageResult(); BatchGetImageResult(const Aws::AmazonWebServiceResult& result); BatchGetImageResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of image objects corresponding to the image references in the * request.

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

A list of image objects corresponding to the image references in the * request.

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

A list of image objects corresponding to the image references in the * request.

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

A list of image objects corresponding to the image references in the * request.

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

A list of image objects corresponding to the image references in the * request.

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

A list of image objects corresponding to the image references in the * request.

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

A list of image objects corresponding to the image references in the * request.

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

Any failures associated with the call.

*/ inline const Aws::Vector& GetFailures() const{ return m_failures; } /** *

Any failures associated with the call.

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

Any failures associated with the call.

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

Any failures associated with the call.

*/ inline BatchGetImageResult& WithFailures(const Aws::Vector& value) { SetFailures(value); return *this;} /** *

Any failures associated with the call.

*/ inline BatchGetImageResult& WithFailures(Aws::Vector&& value) { SetFailures(std::move(value)); return *this;} /** *

Any failures associated with the call.

*/ inline BatchGetImageResult& AddFailures(const ImageFailure& value) { m_failures.push_back(value); return *this; } /** *

Any failures associated with the call.

*/ inline BatchGetImageResult& AddFailures(ImageFailure&& value) { m_failures.push_back(std::move(value)); return *this; } private: Aws::Vector m_images; Aws::Vector m_failures; }; } // namespace Model } // namespace ECR } // namespace Aws