AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RecipeAction.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GlueDataBrew
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_GLUEDATABREW_API RecipeAction() = default;
39 AWS_GLUEDATABREW_API RecipeAction(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GLUEDATABREW_API RecipeAction& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetOperation() const { return m_operation; }
49 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
50 template<typename OperationT = Aws::String>
51 void SetOperation(OperationT&& value) { m_operationHasBeenSet = true; m_operation = std::forward<OperationT>(value); }
52 template<typename OperationT = Aws::String>
53 RecipeAction& WithOperation(OperationT&& value) { SetOperation(std::forward<OperationT>(value)); return *this;}
55
57
60 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const { return m_parameters; }
61 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
62 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
63 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
64 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
65 RecipeAction& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
66 template<typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
67 RecipeAction& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
68 m_parametersHasBeenSet = true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value)); return *this;
69 }
71 private:
72
73 Aws::String m_operation;
74 bool m_operationHasBeenSet = false;
75
77 bool m_parametersHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace GlueDataBrew
82} // namespace Aws
void SetParameters(ParametersT &&value)
RecipeAction & WithParameters(ParametersT &&value)
const Aws::String & GetOperation() const
AWS_GLUEDATABREW_API RecipeAction()=default
AWS_GLUEDATABREW_API RecipeAction(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
RecipeAction & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
void SetOperation(OperationT &&value)
RecipeAction & WithOperation(OperationT &&value)
AWS_GLUEDATABREW_API RecipeAction & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue