/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 BatchDeleteImageResult { public: AWS_ECR_API BatchDeleteImageResult(); AWS_ECR_API BatchDeleteImageResult(const Aws::AmazonWebServiceResult& result); AWS_ECR_API BatchDeleteImageResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The image IDs of the deleted images.

*/ inline const Aws::Vector& GetImageIds() const{ return m_imageIds; } /** *

The image IDs of the deleted images.

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

The image IDs of the deleted images.

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

The image IDs of the deleted images.

*/ inline BatchDeleteImageResult& WithImageIds(const Aws::Vector& value) { SetImageIds(value); return *this;} /** *

The image IDs of the deleted images.

*/ inline BatchDeleteImageResult& WithImageIds(Aws::Vector&& value) { SetImageIds(std::move(value)); return *this;} /** *

The image IDs of the deleted images.

*/ inline BatchDeleteImageResult& AddImageIds(const ImageIdentifier& value) { m_imageIds.push_back(value); return *this; } /** *

The image IDs of the deleted images.

*/ inline BatchDeleteImageResult& AddImageIds(ImageIdentifier&& value) { m_imageIds.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 BatchDeleteImageResult& WithFailures(const Aws::Vector& value) { SetFailures(value); return *this;} /** *

Any failures associated with the call.

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

Any failures associated with the call.

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

Any failures associated with the call.

*/ inline BatchDeleteImageResult& AddFailures(ImageFailure&& value) { m_failures.push_back(std::move(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 BatchDeleteImageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchDeleteImageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchDeleteImageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_imageIds; Aws::Vector m_failures; Aws::String m_requestId; }; } // namespace Model } // namespace ECR } // namespace Aws