AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateRecipeRequest.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/databrew/GlueDataBrewRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.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>
13#include <utility>
14
15namespace Aws
16{
17namespace GlueDataBrew
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_GLUEDATABREW_API CreateRecipeRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateRecipe"; }
34
35 AWS_GLUEDATABREW_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetDescription() const{ return m_description; }
43 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
44 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
45 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
46 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
47 inline CreateRecipeRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
48 inline CreateRecipeRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
49 inline CreateRecipeRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
51
53
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 inline CreateRecipeRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline CreateRecipeRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline CreateRecipeRequest& WithName(const char* value) { SetName(value); return *this;}
66
68
73 inline const Aws::Vector<RecipeStep>& GetSteps() const{ return m_steps; }
74 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
75 inline void SetSteps(const Aws::Vector<RecipeStep>& value) { m_stepsHasBeenSet = true; m_steps = value; }
76 inline void SetSteps(Aws::Vector<RecipeStep>&& value) { m_stepsHasBeenSet = true; m_steps = std::move(value); }
77 inline CreateRecipeRequest& WithSteps(const Aws::Vector<RecipeStep>& value) { SetSteps(value); return *this;}
78 inline CreateRecipeRequest& WithSteps(Aws::Vector<RecipeStep>&& value) { SetSteps(std::move(value)); return *this;}
79 inline CreateRecipeRequest& AddSteps(const RecipeStep& value) { m_stepsHasBeenSet = true; m_steps.push_back(value); return *this; }
80 inline CreateRecipeRequest& AddSteps(RecipeStep&& value) { m_stepsHasBeenSet = true; m_steps.push_back(std::move(value)); return *this; }
82
84
87 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
88 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
89 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
90 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
91 inline CreateRecipeRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
92 inline CreateRecipeRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
93 inline CreateRecipeRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
94 inline CreateRecipeRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
95 inline CreateRecipeRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
96 inline CreateRecipeRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
97 inline CreateRecipeRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
98 inline CreateRecipeRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
99 inline CreateRecipeRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
101 private:
102
103 Aws::String m_description;
104 bool m_descriptionHasBeenSet = false;
105
106 Aws::String m_name;
107 bool m_nameHasBeenSet = false;
108
110 bool m_stepsHasBeenSet = false;
111
113 bool m_tagsHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace GlueDataBrew
118} // namespace Aws
CreateRecipeRequest & WithName(const Aws::String &value)
CreateRecipeRequest & AddSteps(RecipeStep &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateRecipeRequest & AddSteps(const RecipeStep &value)
CreateRecipeRequest & WithDescription(const Aws::String &value)
CreateRecipeRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateRecipeRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateRecipeRequest & AddTags(const char *key, Aws::String &&value)
CreateRecipeRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateRecipeRequest & AddTags(Aws::String &&key, const char *value)
CreateRecipeRequest & WithSteps(Aws::Vector< RecipeStep > &&value)
CreateRecipeRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetSteps(const Aws::Vector< RecipeStep > &value)
CreateRecipeRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateRecipeRequest & WithDescription(Aws::String &&value)
void SetSteps(Aws::Vector< RecipeStep > &&value)
CreateRecipeRequest & AddTags(const char *key, const char *value)
CreateRecipeRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateRecipeRequest & WithName(const char *value)
CreateRecipeRequest & WithSteps(const Aws::Vector< RecipeStep > &value)
CreateRecipeRequest & WithDescription(const char *value)
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
const Aws::Vector< RecipeStep > & GetSteps() const
CreateRecipeRequest & WithName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
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