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

The list of available versions with Kubernetes version compatibility and * other properties.

*/ inline const Aws::Vector& GetAddons() const{ return m_addons; } /** *

The list of available versions with Kubernetes version compatibility and * other properties.

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

The list of available versions with Kubernetes version compatibility and * other properties.

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

The list of available versions with Kubernetes version compatibility and * other properties.

*/ inline DescribeAddonVersionsResult& WithAddons(const Aws::Vector& value) { SetAddons(value); return *this;} /** *

The list of available versions with Kubernetes version compatibility and * other properties.

*/ inline DescribeAddonVersionsResult& WithAddons(Aws::Vector&& value) { SetAddons(std::move(value)); return *this;} /** *

The list of available versions with Kubernetes version compatibility and * other properties.

*/ inline DescribeAddonVersionsResult& AddAddons(const AddonInfo& value) { m_addons.push_back(value); return *this; } /** *

The list of available versions with Kubernetes version compatibility and * other properties.

*/ inline DescribeAddonVersionsResult& AddAddons(AddonInfo&& value) { m_addons.push_back(std::move(value)); return *this; } /** *

The nextToken value returned from a previous paginated * DescribeAddonVersionsResponse where maxResults was * used and the results exceeded the value of that parameter. Pagination continues * from the end of the previous results that returned the nextToken * value.

This token should be treated as an opaque identifier that * is used only to retrieve the next items in a list and not for other programmatic * purposes.

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

The nextToken value returned from a previous paginated * DescribeAddonVersionsResponse where maxResults was * used and the results exceeded the value of that parameter. Pagination continues * from the end of the previous results that returned the nextToken * value.

This token should be treated as an opaque identifier that * is used only to retrieve the next items in a list and not for other programmatic * purposes.

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

The nextToken value returned from a previous paginated * DescribeAddonVersionsResponse where maxResults was * used and the results exceeded the value of that parameter. Pagination continues * from the end of the previous results that returned the nextToken * value.

This token should be treated as an opaque identifier that * is used only to retrieve the next items in a list and not for other programmatic * purposes.

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

The nextToken value returned from a previous paginated * DescribeAddonVersionsResponse where maxResults was * used and the results exceeded the value of that parameter. Pagination continues * from the end of the previous results that returned the nextToken * value.

This token should be treated as an opaque identifier that * is used only to retrieve the next items in a list and not for other programmatic * purposes.

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

The nextToken value returned from a previous paginated * DescribeAddonVersionsResponse where maxResults was * used and the results exceeded the value of that parameter. Pagination continues * from the end of the previous results that returned the nextToken * value.

This token should be treated as an opaque identifier that * is used only to retrieve the next items in a list and not for other programmatic * purposes.

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

The nextToken value returned from a previous paginated * DescribeAddonVersionsResponse where maxResults was * used and the results exceeded the value of that parameter. Pagination continues * from the end of the previous results that returned the nextToken * value.

This token should be treated as an opaque identifier that * is used only to retrieve the next items in a list and not for other programmatic * purposes.

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

The nextToken value returned from a previous paginated * DescribeAddonVersionsResponse where maxResults was * used and the results exceeded the value of that parameter. Pagination continues * from the end of the previous results that returned the nextToken * value.

This token should be treated as an opaque identifier that * is used only to retrieve the next items in a list and not for other programmatic * purposes.

*/ inline DescribeAddonVersionsResult& WithNextToken(const char* value) { SetNextToken(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 DescribeAddonVersionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeAddonVersionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeAddonVersionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_addons; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace EKS } // namespace Aws