AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename DescriptionT = Aws::String>
44 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
45 template<typename DescriptionT = Aws::String>
46 UpdateRecipeRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 template<typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
57 template<typename NameT = Aws::String>
58 UpdateRecipeRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
60
62
66 inline const Aws::Vector<RecipeStep>& GetSteps() const { return m_steps; }
67 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
68 template<typename StepsT = Aws::Vector<RecipeStep>>
69 void SetSteps(StepsT&& value) { m_stepsHasBeenSet = true; m_steps = std::forward<StepsT>(value); }
70 template<typename StepsT = Aws::Vector<RecipeStep>>
71 UpdateRecipeRequest& WithSteps(StepsT&& value) { SetSteps(std::forward<StepsT>(value)); return *this;}
72 template<typename StepsT = RecipeStep>
73 UpdateRecipeRequest& AddSteps(StepsT&& value) { m_stepsHasBeenSet = true; m_steps.emplace_back(std::forward<StepsT>(value)); return *this; }
75 private:
76
77 Aws::String m_description;
78 bool m_descriptionHasBeenSet = false;
79
80 Aws::String m_name;
81 bool m_nameHasBeenSet = false;
82
84 bool m_stepsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace GlueDataBrew
89} // namespace Aws
AWS_GLUEDATABREW_API UpdateRecipeRequest()=default
UpdateRecipeRequest & WithSteps(StepsT &&value)
const Aws::Vector< RecipeStep > & GetSteps() const
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
UpdateRecipeRequest & AddSteps(StepsT &&value)
virtual const char * GetServiceRequestName() const override
UpdateRecipeRequest & WithName(NameT &&value)
UpdateRecipeRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector