/** * 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 DescribeImagesResult { public: DescribeImagesResult(); DescribeImagesResult(const Aws::AmazonWebServiceResult& result); DescribeImagesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of ImageDetail objects that contain data about the image.

*/ inline const Aws::Vector& GetImageDetails() const{ return m_imageDetails; } /** *

A list of ImageDetail objects that contain data about the image.

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

A list of ImageDetail objects that contain data about the image.

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

A list of ImageDetail objects that contain data about the image.

*/ inline DescribeImagesResult& WithImageDetails(const Aws::Vector& value) { SetImageDetails(value); return *this;} /** *

A list of ImageDetail objects that contain data about the image.

*/ inline DescribeImagesResult& WithImageDetails(Aws::Vector&& value) { SetImageDetails(std::move(value)); return *this;} /** *

A list of ImageDetail objects that contain data about the image.

*/ inline DescribeImagesResult& AddImageDetails(const ImageDetail& value) { m_imageDetails.push_back(value); return *this; } /** *

A list of ImageDetail objects that contain data about the image.

*/ inline DescribeImagesResult& AddImageDetails(ImageDetail&& value) { m_imageDetails.push_back(std::move(value)); return *this; } /** *

The nextToken value to include in a future * DescribeImages request. When the results of a * DescribeImages request exceed maxResults, this value * can be used to retrieve the next page of results. This value is * null when there are no more results to return.

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

The nextToken value to include in a future * DescribeImages request. When the results of a * DescribeImages request exceed maxResults, this value * can be used to retrieve the next page of results. This value is * null when there are no more results to return.

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

The nextToken value to include in a future * DescribeImages request. When the results of a * DescribeImages request exceed maxResults, this value * can be used to retrieve the next page of results. This value is * null when there are no more results to return.

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

The nextToken value to include in a future * DescribeImages request. When the results of a * DescribeImages request exceed maxResults, this value * can be used to retrieve the next page of results. This value is * null when there are no more results to return.

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

The nextToken value to include in a future * DescribeImages request. When the results of a * DescribeImages request exceed maxResults, this value * can be used to retrieve the next page of results. This value is * null when there are no more results to return.

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

The nextToken value to include in a future * DescribeImages request. When the results of a * DescribeImages request exceed maxResults, this value * can be used to retrieve the next page of results. This value is * null when there are no more results to return.

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

The nextToken value to include in a future * DescribeImages request. When the results of a * DescribeImages request exceed maxResults, this value * can be used to retrieve the next page of results. This value is * null when there are no more results to return.

*/ inline DescribeImagesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_imageDetails; Aws::String m_nextToken; }; } // namespace Model } // namespace ECR } // namespace Aws