AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecipeStep.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/databrew/model/RecipeAction.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/databrew/model/ConditionExpression.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GlueDataBrew
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUEDATABREW_API RecipeStep();
38 AWS_GLUEDATABREW_API RecipeStep(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GLUEDATABREW_API RecipeStep& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const RecipeAction& GetAction() const{ return m_action; }
48 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
49 inline void SetAction(const RecipeAction& value) { m_actionHasBeenSet = true; m_action = value; }
50 inline void SetAction(RecipeAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
51 inline RecipeStep& WithAction(const RecipeAction& value) { SetAction(value); return *this;}
52 inline RecipeStep& WithAction(RecipeAction&& value) { SetAction(std::move(value)); return *this;}
54
56
61 inline const Aws::Vector<ConditionExpression>& GetConditionExpressions() const{ return m_conditionExpressions; }
62 inline bool ConditionExpressionsHasBeenSet() const { return m_conditionExpressionsHasBeenSet; }
63 inline void SetConditionExpressions(const Aws::Vector<ConditionExpression>& value) { m_conditionExpressionsHasBeenSet = true; m_conditionExpressions = value; }
64 inline void SetConditionExpressions(Aws::Vector<ConditionExpression>&& value) { m_conditionExpressionsHasBeenSet = true; m_conditionExpressions = std::move(value); }
67 inline RecipeStep& AddConditionExpressions(const ConditionExpression& value) { m_conditionExpressionsHasBeenSet = true; m_conditionExpressions.push_back(value); return *this; }
68 inline RecipeStep& AddConditionExpressions(ConditionExpression&& value) { m_conditionExpressionsHasBeenSet = true; m_conditionExpressions.push_back(std::move(value)); return *this; }
70 private:
71
72 RecipeAction m_action;
73 bool m_actionHasBeenSet = false;
74
75 Aws::Vector<ConditionExpression> m_conditionExpressions;
76 bool m_conditionExpressionsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace GlueDataBrew
81} // namespace Aws
void SetConditionExpressions(Aws::Vector< ConditionExpression > &&value)
Definition RecipeStep.h:64
AWS_GLUEDATABREW_API RecipeStep(Aws::Utils::Json::JsonView jsonValue)
RecipeStep & WithConditionExpressions(Aws::Vector< ConditionExpression > &&value)
Definition RecipeStep.h:66
RecipeStep & WithAction(RecipeAction &&value)
Definition RecipeStep.h:52
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
RecipeStep & WithAction(const RecipeAction &value)
Definition RecipeStep.h:51
const Aws::Vector< ConditionExpression > & GetConditionExpressions() const
Definition RecipeStep.h:61
void SetConditionExpressions(const Aws::Vector< ConditionExpression > &value)
Definition RecipeStep.h:63
RecipeStep & WithConditionExpressions(const Aws::Vector< ConditionExpression > &value)
Definition RecipeStep.h:65
const RecipeAction & GetAction() const
Definition RecipeStep.h:47
RecipeStep & AddConditionExpressions(const ConditionExpression &value)
Definition RecipeStep.h:67
void SetAction(const RecipeAction &value)
Definition RecipeStep.h:49
AWS_GLUEDATABREW_API RecipeStep()
AWS_GLUEDATABREW_API RecipeStep & operator=(Aws::Utils::Json::JsonView jsonValue)
RecipeStep & AddConditionExpressions(ConditionExpression &&value)
Definition RecipeStep.h:68
void SetAction(RecipeAction &&value)
Definition RecipeStep.h:50
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue