AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
RecipeAction.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API RecipeAction() = default;
35
37
40 inline const Aws::String& GetOperation() const { return m_operation; }
41 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
42 template <typename OperationT = Aws::String>
43 void SetOperation(OperationT&& value) {
44 m_operationHasBeenSet = true;
45 m_operation = std::forward<OperationT>(value);
46 }
47 template <typename OperationT = Aws::String>
48 RecipeAction& WithOperation(OperationT&& value) {
49 SetOperation(std::forward<OperationT>(value));
50 return *this;
51 }
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) {
62 m_parametersHasBeenSet = true;
63 m_parameters = std::forward<ParametersT>(value);
64 }
65 template <typename ParametersT = Aws::Map<Aws::String, Aws::String>>
66 RecipeAction& WithParameters(ParametersT&& value) {
67 SetParameters(std::forward<ParametersT>(value));
68 return *this;
69 }
70 template <typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
71 RecipeAction& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
72 m_parametersHasBeenSet = true;
73 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_operation;
79
81 bool m_operationHasBeenSet = false;
82 bool m_parametersHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace Glue
87} // 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