AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ResumeWorkflowRunRequest.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/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API ResumeWorkflowRunRequest() = 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 "ResumeWorkflowRun"; }
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 ResumeWorkflowRunRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetRunId() const { return m_runId; }
55 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
56 template<typename RunIdT = Aws::String>
57 void SetRunId(RunIdT&& value) { m_runIdHasBeenSet = true; m_runId = std::forward<RunIdT>(value); }
58 template<typename RunIdT = Aws::String>
59 ResumeWorkflowRunRequest& WithRunId(RunIdT&& value) { SetRunId(std::forward<RunIdT>(value)); return *this;}
61
63
67 inline const Aws::Vector<Aws::String>& GetNodeIds() const { return m_nodeIds; }
68 inline bool NodeIdsHasBeenSet() const { return m_nodeIdsHasBeenSet; }
69 template<typename NodeIdsT = Aws::Vector<Aws::String>>
70 void SetNodeIds(NodeIdsT&& value) { m_nodeIdsHasBeenSet = true; m_nodeIds = std::forward<NodeIdsT>(value); }
71 template<typename NodeIdsT = Aws::Vector<Aws::String>>
72 ResumeWorkflowRunRequest& WithNodeIds(NodeIdsT&& value) { SetNodeIds(std::forward<NodeIdsT>(value)); return *this;}
73 template<typename NodeIdsT = Aws::String>
74 ResumeWorkflowRunRequest& AddNodeIds(NodeIdsT&& value) { m_nodeIdsHasBeenSet = true; m_nodeIds.emplace_back(std::forward<NodeIdsT>(value)); return *this; }
76 private:
77
78 Aws::String m_name;
79 bool m_nameHasBeenSet = false;
80
81 Aws::String m_runId;
82 bool m_runIdHasBeenSet = false;
83
85 bool m_nodeIdsHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Glue
90} // 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