AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRecipeRequest.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/databrew/model/RecipeStep.h>
12#include <utility>
13
14namespace Aws
15{
16namespace GlueDataBrew
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GLUEDATABREW_API UpdateRecipeRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateRecipe"; }
33
34 AWS_GLUEDATABREW_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetDescription() const{ return m_description; }
42 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
43 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
44 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
45 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
46 inline UpdateRecipeRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
47 inline UpdateRecipeRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
48 inline UpdateRecipeRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
50
52
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
60 inline UpdateRecipeRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
61 inline UpdateRecipeRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
62 inline UpdateRecipeRequest& WithName(const char* value) { SetName(value); return *this;}
64
66
70 inline const Aws::Vector<RecipeStep>& GetSteps() const{ return m_steps; }
71 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
72 inline void SetSteps(const Aws::Vector<RecipeStep>& value) { m_stepsHasBeenSet = true; m_steps = value; }
73 inline void SetSteps(Aws::Vector<RecipeStep>&& value) { m_stepsHasBeenSet = true; m_steps = std::move(value); }
74 inline UpdateRecipeRequest& WithSteps(const Aws::Vector<RecipeStep>& value) { SetSteps(value); return *this;}
75 inline UpdateRecipeRequest& WithSteps(Aws::Vector<RecipeStep>&& value) { SetSteps(std::move(value)); return *this;}
76 inline UpdateRecipeRequest& AddSteps(const RecipeStep& value) { m_stepsHasBeenSet = true; m_steps.push_back(value); return *this; }
77 inline UpdateRecipeRequest& AddSteps(RecipeStep&& value) { m_stepsHasBeenSet = true; m_steps.push_back(std::move(value)); return *this; }
79 private:
80
81 Aws::String m_description;
82 bool m_descriptionHasBeenSet = false;
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86
88 bool m_stepsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace GlueDataBrew
93} // namespace Aws
UpdateRecipeRequest & WithDescription(Aws::String &&value)
UpdateRecipeRequest & AddSteps(const RecipeStep &value)
UpdateRecipeRequest & WithDescription(const Aws::String &value)
void SetSteps(Aws::Vector< RecipeStep > &&value)
UpdateRecipeRequest & WithSteps(const Aws::Vector< RecipeStep > &value)
const Aws::Vector< RecipeStep > & GetSteps() const
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
UpdateRecipeRequest & WithName(const Aws::String &value)
UpdateRecipeRequest & WithName(const char *value)
UpdateRecipeRequest & WithSteps(Aws::Vector< RecipeStep > &&value)
UpdateRecipeRequest & AddSteps(RecipeStep &&value)
UpdateRecipeRequest & WithDescription(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateRecipeRequest & WithName(Aws::String &&value)
void SetSteps(const Aws::Vector< RecipeStep > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector