AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Recipe.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/model/RecipeReference.h>
11#include <aws/glue/model/RecipeStep.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Glue
25{
26namespace Model
27{
28
35 class Recipe
36 {
37 public:
38 AWS_GLUE_API Recipe();
39 AWS_GLUE_API Recipe(Aws::Utils::Json::JsonView jsonValue);
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline Recipe& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline Recipe& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline Recipe& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
63 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
64 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
65 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
66 inline Recipe& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
67 inline Recipe& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
68 inline Recipe& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
69 inline Recipe& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
70 inline Recipe& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
72
74
77 inline const RecipeReference& GetRecipeReference() const{ return m_recipeReference; }
78 inline bool RecipeReferenceHasBeenSet() const { return m_recipeReferenceHasBeenSet; }
79 inline void SetRecipeReference(const RecipeReference& value) { m_recipeReferenceHasBeenSet = true; m_recipeReference = value; }
80 inline void SetRecipeReference(RecipeReference&& value) { m_recipeReferenceHasBeenSet = true; m_recipeReference = std::move(value); }
81 inline Recipe& WithRecipeReference(const RecipeReference& value) { SetRecipeReference(value); return *this;}
82 inline Recipe& WithRecipeReference(RecipeReference&& value) { SetRecipeReference(std::move(value)); return *this;}
84
86
89 inline const Aws::Vector<RecipeStep>& GetRecipeSteps() const{ return m_recipeSteps; }
90 inline bool RecipeStepsHasBeenSet() const { return m_recipeStepsHasBeenSet; }
91 inline void SetRecipeSteps(const Aws::Vector<RecipeStep>& value) { m_recipeStepsHasBeenSet = true; m_recipeSteps = value; }
92 inline void SetRecipeSteps(Aws::Vector<RecipeStep>&& value) { m_recipeStepsHasBeenSet = true; m_recipeSteps = std::move(value); }
93 inline Recipe& WithRecipeSteps(const Aws::Vector<RecipeStep>& value) { SetRecipeSteps(value); return *this;}
94 inline Recipe& WithRecipeSteps(Aws::Vector<RecipeStep>&& value) { SetRecipeSteps(std::move(value)); return *this;}
95 inline Recipe& AddRecipeSteps(const RecipeStep& value) { m_recipeStepsHasBeenSet = true; m_recipeSteps.push_back(value); return *this; }
96 inline Recipe& AddRecipeSteps(RecipeStep&& value) { m_recipeStepsHasBeenSet = true; m_recipeSteps.push_back(std::move(value)); return *this; }
98 private:
99
100 Aws::String m_name;
101 bool m_nameHasBeenSet = false;
102
104 bool m_inputsHasBeenSet = false;
105
106 RecipeReference m_recipeReference;
107 bool m_recipeReferenceHasBeenSet = false;
108
109 Aws::Vector<RecipeStep> m_recipeSteps;
110 bool m_recipeStepsHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Glue
115} // namespace Aws
bool RecipeStepsHasBeenSet() const
Definition Recipe.h:90
void SetRecipeReference(RecipeReference &&value)
Definition Recipe.h:80
Recipe & WithName(const char *value)
Definition Recipe.h:55
bool NameHasBeenSet() const
Definition Recipe.h:49
void SetRecipeReference(const RecipeReference &value)
Definition Recipe.h:79
const Aws::String & GetName() const
Definition Recipe.h:48
Recipe & WithName(const Aws::String &value)
Definition Recipe.h:53
const Aws::Vector< Aws::String > & GetInputs() const
Definition Recipe.h:62
void SetName(const Aws::String &value)
Definition Recipe.h:50
Recipe & AddRecipeSteps(RecipeStep &&value)
Definition Recipe.h:96
Recipe & WithRecipeSteps(const Aws::Vector< RecipeStep > &value)
Definition Recipe.h:93
Recipe & AddInputs(const char *value)
Definition Recipe.h:70
bool RecipeReferenceHasBeenSet() const
Definition Recipe.h:78
Recipe & AddInputs(Aws::String &&value)
Definition Recipe.h:69
void SetRecipeSteps(Aws::Vector< RecipeStep > &&value)
Definition Recipe.h:92
Recipe & WithInputs(Aws::Vector< Aws::String > &&value)
Definition Recipe.h:67
void SetRecipeSteps(const Aws::Vector< RecipeStep > &value)
Definition Recipe.h:91
AWS_GLUE_API Recipe & operator=(Aws::Utils::Json::JsonView jsonValue)
Recipe & WithInputs(const Aws::Vector< Aws::String > &value)
Definition Recipe.h:66
void SetInputs(const Aws::Vector< Aws::String > &value)
Definition Recipe.h:64
const Aws::Vector< RecipeStep > & GetRecipeSteps() const
Definition Recipe.h:89
Recipe & WithName(Aws::String &&value)
Definition Recipe.h:54
Recipe & AddInputs(const Aws::String &value)
Definition Recipe.h:68
void SetInputs(Aws::Vector< Aws::String > &&value)
Definition Recipe.h:65
AWS_GLUE_API Recipe(Aws::Utils::Json::JsonView jsonValue)
Recipe & WithRecipeReference(const RecipeReference &value)
Definition Recipe.h:81
const RecipeReference & GetRecipeReference() const
Definition Recipe.h:77
void SetName(Aws::String &&value)
Definition Recipe.h:51
void SetName(const char *value)
Definition Recipe.h:52
Recipe & AddRecipeSteps(const RecipeStep &value)
Definition Recipe.h:95
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
Recipe & WithRecipeSteps(Aws::Vector< RecipeStep > &&value)
Definition Recipe.h:94
bool InputsHasBeenSet() const
Definition Recipe.h:63
Recipe & WithRecipeReference(RecipeReference &&value)
Definition Recipe.h:82
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue