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

The request ID that uniquely identifies this request.

*/ inline const Aws::String& GetRequestId() const{ return m_requestId; } /** *

The request ID that uniquely identifies this request.

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

The request ID that uniquely identifies this request.

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

The request ID that uniquely identifies this request.

*/ inline void SetRequestId(const char* value) { m_requestId.assign(value); } /** *

The request ID that uniquely identifies this request.

*/ inline ListImagesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} /** *

The request ID that uniquely identifies this request.

*/ inline ListImagesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} /** *

The request ID that uniquely identifies this request.

*/ inline ListImagesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *

The list of image semantic versions.

The semantic version has * four nodes: <major>.<minor>.<patch>/<build>. You can * assign values for the first three, and can filter on all of them.

* Filtering: With semantic versioning, you have the flexibility to use * wildcards (x) to specify the most recent versions or nodes when selecting the * base image or components for your recipe. When you use a wildcard in any node, * all nodes to the right of the first wildcard must also be wildcards.

*/ inline const Aws::Vector& GetImageVersionList() const{ return m_imageVersionList; } /** *

The list of image semantic versions.

The semantic version has * four nodes: <major>.<minor>.<patch>/<build>. You can * assign values for the first three, and can filter on all of them.

* Filtering: With semantic versioning, you have the flexibility to use * wildcards (x) to specify the most recent versions or nodes when selecting the * base image or components for your recipe. When you use a wildcard in any node, * all nodes to the right of the first wildcard must also be wildcards.

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

The list of image semantic versions.

The semantic version has * four nodes: <major>.<minor>.<patch>/<build>. You can * assign values for the first three, and can filter on all of them.

* Filtering: With semantic versioning, you have the flexibility to use * wildcards (x) to specify the most recent versions or nodes when selecting the * base image or components for your recipe. When you use a wildcard in any node, * all nodes to the right of the first wildcard must also be wildcards.

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

The list of image semantic versions.

The semantic version has * four nodes: <major>.<minor>.<patch>/<build>. You can * assign values for the first three, and can filter on all of them.

* Filtering: With semantic versioning, you have the flexibility to use * wildcards (x) to specify the most recent versions or nodes when selecting the * base image or components for your recipe. When you use a wildcard in any node, * all nodes to the right of the first wildcard must also be wildcards.

*/ inline ListImagesResult& WithImageVersionList(const Aws::Vector& value) { SetImageVersionList(value); return *this;} /** *

The list of image semantic versions.

The semantic version has * four nodes: <major>.<minor>.<patch>/<build>. You can * assign values for the first three, and can filter on all of them.

* Filtering: With semantic versioning, you have the flexibility to use * wildcards (x) to specify the most recent versions or nodes when selecting the * base image or components for your recipe. When you use a wildcard in any node, * all nodes to the right of the first wildcard must also be wildcards.

*/ inline ListImagesResult& WithImageVersionList(Aws::Vector&& value) { SetImageVersionList(std::move(value)); return *this;} /** *

The list of image semantic versions.

The semantic version has * four nodes: <major>.<minor>.<patch>/<build>. You can * assign values for the first three, and can filter on all of them.

* Filtering: With semantic versioning, you have the flexibility to use * wildcards (x) to specify the most recent versions or nodes when selecting the * base image or components for your recipe. When you use a wildcard in any node, * all nodes to the right of the first wildcard must also be wildcards.

*/ inline ListImagesResult& AddImageVersionList(const ImageVersion& value) { m_imageVersionList.push_back(value); return *this; } /** *

The list of image semantic versions.

The semantic version has * four nodes: <major>.<minor>.<patch>/<build>. You can * assign values for the first three, and can filter on all of them.

* Filtering: With semantic versioning, you have the flexibility to use * wildcards (x) to specify the most recent versions or nodes when selecting the * base image or components for your recipe. When you use a wildcard in any node, * all nodes to the right of the first wildcard must also be wildcards.

*/ inline ListImagesResult& AddImageVersionList(ImageVersion&& value) { m_imageVersionList.push_back(std::move(value)); return *this; } /** *

The next token used for paginated responses. When this field isn't empty, * there are additional elements that the service has'ot included in this request. * Use this token with the next request to retrieve additional objects.

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

The next token used for paginated responses. When this field isn't empty, * there are additional elements that the service has'ot included in this request. * Use this token with the next request to retrieve additional objects.

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

The next token used for paginated responses. When this field isn't empty, * there are additional elements that the service has'ot included in this request. * Use this token with the next request to retrieve additional objects.

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

The next token used for paginated responses. When this field isn't empty, * there are additional elements that the service has'ot included in this request. * Use this token with the next request to retrieve additional objects.

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

The next token used for paginated responses. When this field isn't empty, * there are additional elements that the service has'ot included in this request. * Use this token with the next request to retrieve additional objects.

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

The next token used for paginated responses. When this field isn't empty, * there are additional elements that the service has'ot included in this request. * Use this token with the next request to retrieve additional objects.

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

The next token used for paginated responses. When this field isn't empty, * there are additional elements that the service has'ot included in this request. * Use this token with the next request to retrieve additional objects.

*/ inline ListImagesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_requestId; Aws::Vector m_imageVersionList; Aws::String m_nextToken; }; } // namespace Model } // namespace imagebuilder } // namespace Aws