AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PutWorkflowRunPropertiesRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API PutWorkflowRunPropertiesRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "PutWorkflowRunProperties"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template<typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
46 template<typename NameT = Aws::String>
47 PutWorkflowRunPropertiesRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
49
51
55 inline const Aws::String& GetRunId() const { return m_runId; }
56 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
57 template<typename RunIdT = Aws::String>
58 void SetRunId(RunIdT&& value) { m_runIdHasBeenSet = true; m_runId = std::forward<RunIdT>(value); }
59 template<typename RunIdT = Aws::String>
60 PutWorkflowRunPropertiesRequest& WithRunId(RunIdT&& value) { SetRunId(std::forward<RunIdT>(value)); return *this;}
62
64
70 inline const Aws::Map<Aws::String, Aws::String>& GetRunProperties() const { return m_runProperties; }
71 inline bool RunPropertiesHasBeenSet() const { return m_runPropertiesHasBeenSet; }
72 template<typename RunPropertiesT = Aws::Map<Aws::String, Aws::String>>
73 void SetRunProperties(RunPropertiesT&& value) { m_runPropertiesHasBeenSet = true; m_runProperties = std::forward<RunPropertiesT>(value); }
74 template<typename RunPropertiesT = Aws::Map<Aws::String, Aws::String>>
75 PutWorkflowRunPropertiesRequest& WithRunProperties(RunPropertiesT&& value) { SetRunProperties(std::forward<RunPropertiesT>(value)); return *this;}
76 template<typename RunPropertiesKeyT = Aws::String, typename RunPropertiesValueT = Aws::String>
77 PutWorkflowRunPropertiesRequest& AddRunProperties(RunPropertiesKeyT&& key, RunPropertiesValueT&& value) {
78 m_runPropertiesHasBeenSet = true; m_runProperties.emplace(std::forward<RunPropertiesKeyT>(key), std::forward<RunPropertiesValueT>(value)); return *this;
79 }
81 private:
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
86 Aws::String m_runId;
87 bool m_runIdHasBeenSet = false;
88
90 bool m_runPropertiesHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Glue
95} // namespace Aws
PutWorkflowRunPropertiesRequest & WithRunProperties(RunPropertiesT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutWorkflowRunPropertiesRequest & AddRunProperties(RunPropertiesKeyT &&key, RunPropertiesValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetRunProperties() const
PutWorkflowRunPropertiesRequest & WithRunId(RunIdT &&value)
PutWorkflowRunPropertiesRequest & WithName(NameT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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