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

The identifier (user name) of the user who created the recipe.

*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *

The identifier (user name) of the user who created the recipe.

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

The identifier (user name) of the user who created the recipe.

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

The identifier (user name) of the user who created the recipe.

*/ inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } /** *

The identifier (user name) of the user who created the recipe.

*/ inline DescribeRecipeResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *

The identifier (user name) of the user who created the recipe.

*/ inline DescribeRecipeResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

The identifier (user name) of the user who created the recipe.

*/ inline DescribeRecipeResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *

The date and time that the recipe was created.

*/ inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; } /** *

The date and time that the recipe was created.

*/ inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDate = value; } /** *

The date and time that the recipe was created.

*/ inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDate = std::move(value); } /** *

The date and time that the recipe was created.

*/ inline DescribeRecipeResult& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;} /** *

The date and time that the recipe was created.

*/ inline DescribeRecipeResult& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;} /** *

The identifier (user name) of the user who last modified the recipe.

*/ inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; } /** *

The identifier (user name) of the user who last modified the recipe.

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

The identifier (user name) of the user who last modified the recipe.

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

The identifier (user name) of the user who last modified the recipe.

*/ inline void SetLastModifiedBy(const char* value) { m_lastModifiedBy.assign(value); } /** *

The identifier (user name) of the user who last modified the recipe.

*/ inline DescribeRecipeResult& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;} /** *

The identifier (user name) of the user who last modified the recipe.

*/ inline DescribeRecipeResult& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;} /** *

The identifier (user name) of the user who last modified the recipe.

*/ inline DescribeRecipeResult& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;} /** *

The date and time that the recipe was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; } /** *

The date and time that the recipe was last modified.

*/ inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; } /** *

The date and time that the recipe was last modified.

*/ inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); } /** *

The date and time that the recipe was last modified.

*/ inline DescribeRecipeResult& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;} /** *

The date and time that the recipe was last modified.

*/ inline DescribeRecipeResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;} /** *

The name of the project associated with this recipe.

*/ inline const Aws::String& GetProjectName() const{ return m_projectName; } /** *

The name of the project associated with this recipe.

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

The name of the project associated with this recipe.

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

The name of the project associated with this recipe.

*/ inline void SetProjectName(const char* value) { m_projectName.assign(value); } /** *

The name of the project associated with this recipe.

*/ inline DescribeRecipeResult& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;} /** *

The name of the project associated with this recipe.

*/ inline DescribeRecipeResult& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;} /** *

The name of the project associated with this recipe.

*/ inline DescribeRecipeResult& WithProjectName(const char* value) { SetProjectName(value); return *this;} /** *

The identifier (user name) of the user who last published the recipe.

*/ inline const Aws::String& GetPublishedBy() const{ return m_publishedBy; } /** *

The identifier (user name) of the user who last published the recipe.

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

The identifier (user name) of the user who last published the recipe.

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

The identifier (user name) of the user who last published the recipe.

*/ inline void SetPublishedBy(const char* value) { m_publishedBy.assign(value); } /** *

The identifier (user name) of the user who last published the recipe.

*/ inline DescribeRecipeResult& WithPublishedBy(const Aws::String& value) { SetPublishedBy(value); return *this;} /** *

The identifier (user name) of the user who last published the recipe.

*/ inline DescribeRecipeResult& WithPublishedBy(Aws::String&& value) { SetPublishedBy(std::move(value)); return *this;} /** *

The identifier (user name) of the user who last published the recipe.

*/ inline DescribeRecipeResult& WithPublishedBy(const char* value) { SetPublishedBy(value); return *this;} /** *

The date and time when the recipe was last published.

*/ inline const Aws::Utils::DateTime& GetPublishedDate() const{ return m_publishedDate; } /** *

The date and time when the recipe was last published.

*/ inline void SetPublishedDate(const Aws::Utils::DateTime& value) { m_publishedDate = value; } /** *

The date and time when the recipe was last published.

*/ inline void SetPublishedDate(Aws::Utils::DateTime&& value) { m_publishedDate = std::move(value); } /** *

The date and time when the recipe was last published.

*/ inline DescribeRecipeResult& WithPublishedDate(const Aws::Utils::DateTime& value) { SetPublishedDate(value); return *this;} /** *

The date and time when the recipe was last published.

*/ inline DescribeRecipeResult& WithPublishedDate(Aws::Utils::DateTime&& value) { SetPublishedDate(std::move(value)); return *this;} /** *

The description of the recipe.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the recipe.

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

The description of the recipe.

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

The description of the recipe.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The description of the recipe.

*/ inline DescribeRecipeResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the recipe.

*/ inline DescribeRecipeResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the recipe.

*/ inline DescribeRecipeResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The name of the recipe.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the recipe.

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

The name of the recipe.

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

The name of the recipe.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the recipe.

*/ inline DescribeRecipeResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the recipe.

*/ inline DescribeRecipeResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the recipe.

*/ inline DescribeRecipeResult& WithName(const char* value) { SetName(value); return *this;} /** *

One or more steps to be performed by the recipe. Each step consists of an * action, and the conditions under which the action should succeed.

*/ inline const Aws::Vector& GetSteps() const{ return m_steps; } /** *

One or more steps to be performed by the recipe. Each step consists of an * action, and the conditions under which the action should succeed.

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

One or more steps to be performed by the recipe. Each step consists of an * action, and the conditions under which the action should succeed.

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

One or more steps to be performed by the recipe. Each step consists of an * action, and the conditions under which the action should succeed.

*/ inline DescribeRecipeResult& WithSteps(const Aws::Vector& value) { SetSteps(value); return *this;} /** *

One or more steps to be performed by the recipe. Each step consists of an * action, and the conditions under which the action should succeed.

*/ inline DescribeRecipeResult& WithSteps(Aws::Vector&& value) { SetSteps(std::move(value)); return *this;} /** *

One or more steps to be performed by the recipe. Each step consists of an * action, and the conditions under which the action should succeed.

*/ inline DescribeRecipeResult& AddSteps(const RecipeStep& value) { m_steps.push_back(value); return *this; } /** *

One or more steps to be performed by the recipe. Each step consists of an * action, and the conditions under which the action should succeed.

*/ inline DescribeRecipeResult& AddSteps(RecipeStep&& value) { m_steps.push_back(std::move(value)); return *this; } /** *

Metadata tags associated with this project.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Metadata tags associated with this project.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

Metadata tags associated with this project.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

Metadata tags associated with this project.

*/ inline DescribeRecipeResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Metadata tags associated with this project.

*/ inline DescribeRecipeResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Metadata tags associated with this project.

*/ inline DescribeRecipeResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

Metadata tags associated with this project.

*/ inline DescribeRecipeResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Metadata tags associated with this project.

*/ inline DescribeRecipeResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Metadata tags associated with this project.

*/ inline DescribeRecipeResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Metadata tags associated with this project.

*/ inline DescribeRecipeResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Metadata tags associated with this project.

*/ inline DescribeRecipeResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Metadata tags associated with this project.

*/ inline DescribeRecipeResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

The ARN of the recipe.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

The ARN of the recipe.

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

The ARN of the recipe.

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

The ARN of the recipe.

*/ inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); } /** *

The ARN of the recipe.

*/ inline DescribeRecipeResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

The ARN of the recipe.

*/ inline DescribeRecipeResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

The ARN of the recipe.

*/ inline DescribeRecipeResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *

The recipe version identifier.

*/ inline const Aws::String& GetRecipeVersion() const{ return m_recipeVersion; } /** *

The recipe version identifier.

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

The recipe version identifier.

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

The recipe version identifier.

*/ inline void SetRecipeVersion(const char* value) { m_recipeVersion.assign(value); } /** *

The recipe version identifier.

*/ inline DescribeRecipeResult& WithRecipeVersion(const Aws::String& value) { SetRecipeVersion(value); return *this;} /** *

The recipe version identifier.

*/ inline DescribeRecipeResult& WithRecipeVersion(Aws::String&& value) { SetRecipeVersion(std::move(value)); return *this;} /** *

The recipe version identifier.

*/ inline DescribeRecipeResult& WithRecipeVersion(const char* value) { SetRecipeVersion(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 DescribeRecipeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeRecipeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeRecipeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_createdBy; Aws::Utils::DateTime m_createDate; Aws::String m_lastModifiedBy; Aws::Utils::DateTime m_lastModifiedDate; Aws::String m_projectName; Aws::String m_publishedBy; Aws::Utils::DateTime m_publishedDate; Aws::String m_description; Aws::String m_name; Aws::Vector m_steps; Aws::Map m_tags; Aws::String m_resourceArn; Aws::String m_recipeVersion; Aws::String m_requestId; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws