AWS SDK for C++

AWS SDK for C++ Version 1.11.690

Loading...
Searching...
No Matches
StartWorkflowRunRequest.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/GlueRequest.h>
10#include <aws/glue/Glue_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API StartWorkflowRunRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "StartWorkflowRun"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
59 inline const Aws::Map<Aws::String, Aws::String>& GetRunProperties() const { return m_runProperties; }
60 inline bool RunPropertiesHasBeenSet() const { return m_runPropertiesHasBeenSet; }
61 template <typename RunPropertiesT = Aws::Map<Aws::String, Aws::String>>
62 void SetRunProperties(RunPropertiesT&& value) {
63 m_runPropertiesHasBeenSet = true;
64 m_runProperties = std::forward<RunPropertiesT>(value);
65 }
66 template <typename RunPropertiesT = Aws::Map<Aws::String, Aws::String>>
67 StartWorkflowRunRequest& WithRunProperties(RunPropertiesT&& value) {
68 SetRunProperties(std::forward<RunPropertiesT>(value));
69 return *this;
70 }
71 template <typename RunPropertiesKeyT = Aws::String, typename RunPropertiesValueT = Aws::String>
72 StartWorkflowRunRequest& AddRunProperties(RunPropertiesKeyT&& key, RunPropertiesValueT&& value) {
73 m_runPropertiesHasBeenSet = true;
74 m_runProperties.emplace(std::forward<RunPropertiesKeyT>(key), std::forward<RunPropertiesValueT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_name;
80 bool m_nameHasBeenSet = false;
81
83 bool m_runPropertiesHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace Glue
88} // namespace Aws
StartWorkflowRunRequest & WithName(NameT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GLUE_API StartWorkflowRunRequest()=default
StartWorkflowRunRequest & AddRunProperties(RunPropertiesKeyT &&key, RunPropertiesValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetRunProperties() const
StartWorkflowRunRequest & WithRunProperties(RunPropertiesT &&value)
virtual const char * GetServiceRequestName() const override
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