7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/databrew/model/RecipeStep.h>
39 AWS_GLUEDATABREW_API
Recipe() =
default;
51 template<
typename CreatedByT = Aws::String>
52 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
53 template<
typename CreatedByT = Aws::String>
63 template<
typename CreateDateT = Aws::Utils::DateTime>
64 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet =
true; m_createDate = std::forward<CreateDateT>(value); }
65 template<
typename CreateDateT = Aws::Utils::DateTime>
75 template<
typename LastModifiedByT = Aws::String>
76 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
77 template<
typename LastModifiedByT = Aws::String>
87 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
88 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
89 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
99 template<
typename ProjectNameT = Aws::String>
100 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet =
true; m_projectName = std::forward<ProjectNameT>(value); }
101 template<
typename ProjectNameT = Aws::String>
111 template<
typename PublishedByT = Aws::String>
112 void SetPublishedBy(PublishedByT&& value) { m_publishedByHasBeenSet =
true; m_publishedBy = std::forward<PublishedByT>(value); }
113 template<
typename PublishedByT = Aws::String>
123 template<
typename PublishedDateT = Aws::Utils::DateTime>
124 void SetPublishedDate(PublishedDateT&& value) { m_publishedDateHasBeenSet =
true; m_publishedDate = std::forward<PublishedDateT>(value); }
125 template<
typename PublishedDateT = Aws::Utils::DateTime>
135 template<
typename DescriptionT = Aws::String>
136 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
137 template<
typename DescriptionT = Aws::String>
147 template<
typename NameT = Aws::String>
148 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
149 template<
typename NameT = Aws::String>
159 template<
typename ResourceArnT = Aws::String>
160 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
161 template<
typename ResourceArnT = Aws::String>
171 template<
typename StepsT = Aws::Vector<RecipeStep>>
172 void SetSteps(StepsT&& value) { m_stepsHasBeenSet =
true; m_steps = std::forward<StepsT>(value); }
173 template<
typename StepsT = Aws::Vector<RecipeStep>>
175 template<
typename StepsT = RecipeStep>
176 Recipe&
AddSteps(StepsT&& value) { m_stepsHasBeenSet =
true; m_steps.emplace_back(std::forward<StepsT>(value));
return *
this; }
185 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
186 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
187 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
189 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
191 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
208 template<
typename RecipeVersionT = Aws::String>
209 void SetRecipeVersion(RecipeVersionT&& value) { m_recipeVersionHasBeenSet =
true; m_recipeVersion = std::forward<RecipeVersionT>(value); }
210 template<
typename RecipeVersionT = Aws::String>
216 bool m_createdByHasBeenSet =
false;
219 bool m_createDateHasBeenSet =
false;
222 bool m_lastModifiedByHasBeenSet =
false;
225 bool m_lastModifiedDateHasBeenSet =
false;
228 bool m_projectNameHasBeenSet =
false;
231 bool m_publishedByHasBeenSet =
false;
234 bool m_publishedDateHasBeenSet =
false;
237 bool m_descriptionHasBeenSet =
false;
240 bool m_nameHasBeenSet =
false;
243 bool m_resourceArnHasBeenSet =
false;
246 bool m_stepsHasBeenSet =
false;
249 bool m_tagsHasBeenSet =
false;
252 bool m_recipeVersionHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_GLUEDATABREW_API Recipe & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LastModifiedByHasBeenSet() const
const Aws::Vector< RecipeStep > & GetSteps() const
bool TagsHasBeenSet() const
const Aws::String & GetLastModifiedBy() const
void SetLastModifiedDate(LastModifiedDateT &&value)
Recipe & WithLastModifiedBy(LastModifiedByT &&value)
bool PublishedByHasBeenSet() const
void SetProjectName(ProjectNameT &&value)
const Aws::String & GetCreatedBy() const
const Aws::String & GetName() const
bool ResourceArnHasBeenSet() const
Recipe & WithDescription(DescriptionT &&value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetPublishedDate() const
const Aws::String & GetPublishedBy() const
bool PublishedDateHasBeenSet() const
void SetTags(TagsT &&value)
bool DescriptionHasBeenSet() const
bool CreatedByHasBeenSet() const
bool NameHasBeenSet() const
bool RecipeVersionHasBeenSet() const
Recipe & WithProjectName(ProjectNameT &&value)
Recipe & AddTags(TagsKeyT &&key, TagsValueT &&value)
Recipe & WithCreateDate(CreateDateT &&value)
Recipe & WithPublishedBy(PublishedByT &&value)
void SetCreateDate(CreateDateT &&value)
bool LastModifiedDateHasBeenSet() const
void SetPublishedDate(PublishedDateT &&value)
Recipe & WithCreatedBy(CreatedByT &&value)
Recipe & WithLastModifiedDate(LastModifiedDateT &&value)
const Aws::String & GetDescription() const
Recipe & WithName(NameT &&value)
Recipe & WithTags(TagsT &&value)
void SetResourceArn(ResourceArnT &&value)
void SetSteps(StepsT &&value)
void SetCreatedBy(CreatedByT &&value)
const Aws::String & GetProjectName() const
const Aws::Utils::DateTime & GetLastModifiedDate() const
AWS_GLUEDATABREW_API Recipe()=default
Recipe & WithResourceArn(ResourceArnT &&value)
const Aws::String & GetResourceArn() const
AWS_GLUEDATABREW_API Recipe(Aws::Utils::Json::JsonView jsonValue)
bool CreateDateHasBeenSet() const
Recipe & WithRecipeVersion(RecipeVersionT &&value)
bool ProjectNameHasBeenSet() const
bool StepsHasBeenSet() const
Recipe & WithSteps(StepsT &&value)
Recipe & WithPublishedDate(PublishedDateT &&value)
Recipe & AddSteps(StepsT &&value)
void SetRecipeVersion(RecipeVersionT &&value)
const Aws::Utils::DateTime & GetCreateDate() const
void SetLastModifiedBy(LastModifiedByT &&value)
const Aws::String & GetRecipeVersion() const
void SetPublishedBy(PublishedByT &&value)
void SetDescription(DescriptionT &&value)
void SetName(NameT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue