AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
45 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
46 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
47 inline ResumeWorkflowRunRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline ResumeWorkflowRunRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline ResumeWorkflowRunRequest& WithName(const char* value) { SetName(value); return *this;}
51
53
56 inline const Aws::String& GetRunId() const{ return m_runId; }
57 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
58 inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; }
59 inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); }
60 inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); }
61 inline ResumeWorkflowRunRequest& WithRunId(const Aws::String& value) { SetRunId(value); return *this;}
62 inline ResumeWorkflowRunRequest& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;}
63 inline ResumeWorkflowRunRequest& WithRunId(const char* value) { SetRunId(value); return *this;}
65
67
71 inline const Aws::Vector<Aws::String>& GetNodeIds() const{ return m_nodeIds; }
72 inline bool NodeIdsHasBeenSet() const { return m_nodeIdsHasBeenSet; }
73 inline void SetNodeIds(const Aws::Vector<Aws::String>& value) { m_nodeIdsHasBeenSet = true; m_nodeIds = value; }
74 inline void SetNodeIds(Aws::Vector<Aws::String>&& value) { m_nodeIdsHasBeenSet = true; m_nodeIds = std::move(value); }
75 inline ResumeWorkflowRunRequest& WithNodeIds(const Aws::Vector<Aws::String>& value) { SetNodeIds(value); return *this;}
76 inline ResumeWorkflowRunRequest& WithNodeIds(Aws::Vector<Aws::String>&& value) { SetNodeIds(std::move(value)); return *this;}
77 inline ResumeWorkflowRunRequest& AddNodeIds(const Aws::String& value) { m_nodeIdsHasBeenSet = true; m_nodeIds.push_back(value); return *this; }
78 inline ResumeWorkflowRunRequest& AddNodeIds(Aws::String&& value) { m_nodeIdsHasBeenSet = true; m_nodeIds.push_back(std::move(value)); return *this; }
79 inline ResumeWorkflowRunRequest& AddNodeIds(const char* value) { m_nodeIdsHasBeenSet = true; m_nodeIds.push_back(value); return *this; }
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_nodeIdsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Glue
95} // namespace Aws
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ResumeWorkflowRunRequest & WithName(const Aws::String &value)
ResumeWorkflowRunRequest & WithName(Aws::String &&value)
ResumeWorkflowRunRequest & WithNodeIds(Aws::Vector< Aws::String > &&value)
ResumeWorkflowRunRequest & AddNodeIds(const Aws::String &value)
AWS_GLUE_API Aws::String SerializePayload() const override
void SetNodeIds(Aws::Vector< Aws::String > &&value)
ResumeWorkflowRunRequest & AddNodeIds(Aws::String &&value)
const Aws::Vector< Aws::String > & GetNodeIds() const
ResumeWorkflowRunRequest & WithRunId(const char *value)
void SetNodeIds(const Aws::Vector< Aws::String > &value)
ResumeWorkflowRunRequest & WithRunId(const Aws::String &value)
ResumeWorkflowRunRequest & AddNodeIds(const char *value)
ResumeWorkflowRunRequest & WithName(const char *value)
virtual const char * GetServiceRequestName() const override
ResumeWorkflowRunRequest & WithNodeIds(const Aws::Vector< Aws::String > &value)
ResumeWorkflowRunRequest & WithRunId(Aws::String &&value)
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