AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RecipeAction.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/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 Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API RecipeAction() = default;
40
41
43
46 inline const Aws::String& GetOperation() const { return m_operation; }
47 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
48 template<typename OperationT = Aws::String>
49 void SetOperation(OperationT&& value) { m_operationHasBeenSet = true; m_operation = std::forward<OperationT>(value); }
50 template<typename OperationT = Aws::String>
51 RecipeAction& WithOperation(OperationT&& value) { SetOperation(std::forward<OperationT>(value)); return *this;}
53
55
58 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const { return m_parameters; }
59 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
60 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
61 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
62 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
63 RecipeAction& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
64 template<typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
65 RecipeAction& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
66 m_parametersHasBeenSet = true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value)); return *this;
67 }
69 private:
70
71 Aws::String m_operation;
72 bool m_operationHasBeenSet = false;
73
75 bool m_parametersHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Glue
80} // namespace Aws
AWS_GLUE_API RecipeAction(Aws::Utils::Json::JsonView jsonValue)
RecipeAction & WithOperation(OperationT &&value)
const Aws::String & GetOperation() const
void SetOperation(OperationT &&value)
RecipeAction & WithParameters(ParametersT &&value)
void SetParameters(ParametersT &&value)
RecipeAction & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
AWS_GLUE_API RecipeAction()=default
AWS_GLUE_API RecipeAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() 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