This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-ecr/include/aws/ecr/model/BatchGetImageResult.h

125 lines
3.6 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ecr/ECR_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/ecr/model/Image.h>
#include <aws/ecr/model/ImageFailure.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
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<Aws::Utils::Json::JsonValue>& result);
BatchGetImageResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of image objects corresponding to the image references in the
* request.</p>
*/
inline const Aws::Vector<Image>& GetImages() const{ return m_images; }
/**
* <p>A list of image objects corresponding to the image references in the
* request.</p>
*/
inline void SetImages(const Aws::Vector<Image>& value) { m_images = value; }
/**
* <p>A list of image objects corresponding to the image references in the
* request.</p>
*/
inline void SetImages(Aws::Vector<Image>&& value) { m_images = std::move(value); }
/**
* <p>A list of image objects corresponding to the image references in the
* request.</p>
*/
inline BatchGetImageResult& WithImages(const Aws::Vector<Image>& value) { SetImages(value); return *this;}
/**
* <p>A list of image objects corresponding to the image references in the
* request.</p>
*/
inline BatchGetImageResult& WithImages(Aws::Vector<Image>&& value) { SetImages(std::move(value)); return *this;}
/**
* <p>A list of image objects corresponding to the image references in the
* request.</p>
*/
inline BatchGetImageResult& AddImages(const Image& value) { m_images.push_back(value); return *this; }
/**
* <p>A list of image objects corresponding to the image references in the
* request.</p>
*/
inline BatchGetImageResult& AddImages(Image&& value) { m_images.push_back(std::move(value)); return *this; }
/**
* <p>Any failures associated with the call.</p>
*/
inline const Aws::Vector<ImageFailure>& GetFailures() const{ return m_failures; }
/**
* <p>Any failures associated with the call.</p>
*/
inline void SetFailures(const Aws::Vector<ImageFailure>& value) { m_failures = value; }
/**
* <p>Any failures associated with the call.</p>
*/
inline void SetFailures(Aws::Vector<ImageFailure>&& value) { m_failures = std::move(value); }
/**
* <p>Any failures associated with the call.</p>
*/
inline BatchGetImageResult& WithFailures(const Aws::Vector<ImageFailure>& value) { SetFailures(value); return *this;}
/**
* <p>Any failures associated with the call.</p>
*/
inline BatchGetImageResult& WithFailures(Aws::Vector<ImageFailure>&& value) { SetFailures(std::move(value)); return *this;}
/**
* <p>Any failures associated with the call.</p>
*/
inline BatchGetImageResult& AddFailures(const ImageFailure& value) { m_failures.push_back(value); return *this; }
/**
* <p>Any failures associated with the call.</p>
*/
inline BatchGetImageResult& AddFailures(ImageFailure&& value) { m_failures.push_back(std::move(value)); return *this; }
private:
Aws::Vector<Image> m_images;
Aws::Vector<ImageFailure> m_failures;
};
} // namespace Model
} // namespace ECR
} // namespace Aws