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/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/RecipeAction.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/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 Glue
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUE_API RecipeStep();
38 AWS_GLUE_API RecipeStep(Aws::Utils::Json::JsonView jsonValue);
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
59 inline const Aws::Vector<ConditionExpression>& GetConditionExpressions() const{ return m_conditionExpressions; }
60 inline bool ConditionExpressionsHasBeenSet() const { return m_conditionExpressionsHasBeenSet; }
61 inline void SetConditionExpressions(const Aws::Vector<ConditionExpression>& value) { m_conditionExpressionsHasBeenSet = true; m_conditionExpressions = value; }
62 inline void SetConditionExpressions(Aws::Vector<ConditionExpression>&& value) { m_conditionExpressionsHasBeenSet = true; m_conditionExpressions = std::move(value); }
65 inline RecipeStep& AddConditionExpressions(const ConditionExpression& value) { m_conditionExpressionsHasBeenSet = true; m_conditionExpressions.push_back(value); return *this; }
66 inline RecipeStep& AddConditionExpressions(ConditionExpression&& value) { m_conditionExpressionsHasBeenSet = true; m_conditionExpressions.push_back(std::move(value)); return *this; }
68 private:
69
70 RecipeAction m_action;
71 bool m_actionHasBeenSet = false;
72
73 Aws::Vector<ConditionExpression> m_conditionExpressions;
74 bool m_conditionExpressionsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Glue
79} // namespace Aws
void SetAction(RecipeAction &&value)
Definition RecipeStep.h:50
AWS_GLUE_API RecipeStep & operator=(Aws::Utils::Json::JsonView jsonValue)
RecipeStep & AddConditionExpressions(const ConditionExpression &value)
Definition RecipeStep.h:65
bool ConditionExpressionsHasBeenSet() const
Definition RecipeStep.h:60
RecipeStep & WithConditionExpressions(Aws::Vector< ConditionExpression > &&value)
Definition RecipeStep.h:64
RecipeStep & WithAction(RecipeAction &&value)
Definition RecipeStep.h:52
AWS_GLUE_API RecipeStep(Aws::Utils::Json::JsonView jsonValue)
void SetConditionExpressions(Aws::Vector< ConditionExpression > &&value)
Definition RecipeStep.h:62
RecipeStep & WithAction(const RecipeAction &value)
Definition RecipeStep.h:51
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const RecipeAction & GetAction() const
Definition RecipeStep.h:47
const Aws::Vector< ConditionExpression > & GetConditionExpressions() const
Definition RecipeStep.h:59
RecipeStep & WithConditionExpressions(const Aws::Vector< ConditionExpression > &value)
Definition RecipeStep.h:63
void SetConditionExpressions(const Aws::Vector< ConditionExpression > &value)
Definition RecipeStep.h:61
void SetAction(const RecipeAction &value)
Definition RecipeStep.h:49
RecipeStep & AddConditionExpressions(ConditionExpression &&value)
Definition RecipeStep.h:66
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue