AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ResumeWorkflowRunRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.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 ResumeWorkflowRunRequest() = 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 "ResumeWorkflowRun"; }
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
56 inline const Aws::String& GetRunId() const { return m_runId; }
57 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
58 template <typename RunIdT = Aws::String>
59 void SetRunId(RunIdT&& value) {
60 m_runIdHasBeenSet = true;
61 m_runId = std::forward<RunIdT>(value);
62 }
63 template <typename RunIdT = Aws::String>
65 SetRunId(std::forward<RunIdT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::Vector<Aws::String>& GetNodeIds() const { return m_nodeIds; }
76 inline bool NodeIdsHasBeenSet() const { return m_nodeIdsHasBeenSet; }
77 template <typename NodeIdsT = Aws::Vector<Aws::String>>
78 void SetNodeIds(NodeIdsT&& value) {
79 m_nodeIdsHasBeenSet = true;
80 m_nodeIds = std::forward<NodeIdsT>(value);
81 }
82 template <typename NodeIdsT = Aws::Vector<Aws::String>>
84 SetNodeIds(std::forward<NodeIdsT>(value));
85 return *this;
86 }
87 template <typename NodeIdsT = Aws::String>
89 m_nodeIdsHasBeenSet = true;
90 m_nodeIds.emplace_back(std::forward<NodeIdsT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_name;
96
97 Aws::String m_runId;
98
100 bool m_nameHasBeenSet = false;
101 bool m_runIdHasBeenSet = false;
102 bool m_nodeIdsHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace Glue
107} // namespace Aws
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GLUE_API Aws::String SerializePayload() const override
ResumeWorkflowRunRequest & WithName(NameT &&value)
AWS_GLUE_API ResumeWorkflowRunRequest()=default
const Aws::Vector< Aws::String > & GetNodeIds() const
ResumeWorkflowRunRequest & WithRunId(RunIdT &&value)
ResumeWorkflowRunRequest & WithNodeIds(NodeIdsT &&value)
ResumeWorkflowRunRequest & AddNodeIds(NodeIdsT &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector