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

A token that you can use in a subsequent call to retrieve the next set of * results.

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

A token that you can use in a subsequent call to retrieve the next set of * results.

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

A token that you can use in a subsequent call to retrieve the next set of * results.

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

A token that you can use in a subsequent call to retrieve the next set of * results.

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

A token that you can use in a subsequent call to retrieve the next set of * results.

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

A token that you can use in a subsequent call to retrieve the next set of * results.

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

A token that you can use in a subsequent call to retrieve the next set of * results.

*/ inline ListRecipeVersionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

A list of versions for the specified recipe.

*/ inline const Aws::Vector& GetRecipes() const{ return m_recipes; } /** *

A list of versions for the specified recipe.

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

A list of versions for the specified recipe.

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

A list of versions for the specified recipe.

*/ inline ListRecipeVersionsResult& WithRecipes(const Aws::Vector& value) { SetRecipes(value); return *this;} /** *

A list of versions for the specified recipe.

*/ inline ListRecipeVersionsResult& WithRecipes(Aws::Vector&& value) { SetRecipes(std::move(value)); return *this;} /** *

A list of versions for the specified recipe.

*/ inline ListRecipeVersionsResult& AddRecipes(const Recipe& value) { m_recipes.push_back(value); return *this; } /** *

A list of versions for the specified recipe.

*/ inline ListRecipeVersionsResult& AddRecipes(Recipe&& value) { m_recipes.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 ListRecipeVersionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListRecipeVersionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListRecipeVersionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_recipes; Aws::String m_requestId; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws