AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SignalWorkflowExecutionRequest.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/swf/SWFRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SWF
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "SignalWorkflowExecution"; }
31
32 AWS_SWF_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetDomain() const{ return m_domain; }
42 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
43 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
44 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
45 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
46 inline SignalWorkflowExecutionRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
47 inline SignalWorkflowExecutionRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
48 inline SignalWorkflowExecutionRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
50
52
55 inline const Aws::String& GetWorkflowId() const{ return m_workflowId; }
56 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
57 inline void SetWorkflowId(const Aws::String& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; }
58 inline void SetWorkflowId(Aws::String&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::move(value); }
59 inline void SetWorkflowId(const char* value) { m_workflowIdHasBeenSet = true; m_workflowId.assign(value); }
60 inline SignalWorkflowExecutionRequest& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;}
61 inline SignalWorkflowExecutionRequest& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;}
62 inline SignalWorkflowExecutionRequest& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;}
64
66
69 inline const Aws::String& GetRunId() const{ return m_runId; }
70 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
71 inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; }
72 inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); }
73 inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); }
74 inline SignalWorkflowExecutionRequest& WithRunId(const Aws::String& value) { SetRunId(value); return *this;}
75 inline SignalWorkflowExecutionRequest& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;}
76 inline SignalWorkflowExecutionRequest& WithRunId(const char* value) { SetRunId(value); return *this;}
78
80
84 inline const Aws::String& GetSignalName() const{ return m_signalName; }
85 inline bool SignalNameHasBeenSet() const { return m_signalNameHasBeenSet; }
86 inline void SetSignalName(const Aws::String& value) { m_signalNameHasBeenSet = true; m_signalName = value; }
87 inline void SetSignalName(Aws::String&& value) { m_signalNameHasBeenSet = true; m_signalName = std::move(value); }
88 inline void SetSignalName(const char* value) { m_signalNameHasBeenSet = true; m_signalName.assign(value); }
89 inline SignalWorkflowExecutionRequest& WithSignalName(const Aws::String& value) { SetSignalName(value); return *this;}
90 inline SignalWorkflowExecutionRequest& WithSignalName(Aws::String&& value) { SetSignalName(std::move(value)); return *this;}
91 inline SignalWorkflowExecutionRequest& WithSignalName(const char* value) { SetSignalName(value); return *this;}
93
95
99 inline const Aws::String& GetInput() const{ return m_input; }
100 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
101 inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; }
102 inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
103 inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); }
104 inline SignalWorkflowExecutionRequest& WithInput(const Aws::String& value) { SetInput(value); return *this;}
105 inline SignalWorkflowExecutionRequest& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
106 inline SignalWorkflowExecutionRequest& WithInput(const char* value) { SetInput(value); return *this;}
108 private:
109
110 Aws::String m_domain;
111 bool m_domainHasBeenSet = false;
112
113 Aws::String m_workflowId;
114 bool m_workflowIdHasBeenSet = false;
115
116 Aws::String m_runId;
117 bool m_runIdHasBeenSet = false;
118
119 Aws::String m_signalName;
120 bool m_signalNameHasBeenSet = false;
121
122 Aws::String m_input;
123 bool m_inputHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace SWF
128} // namespace Aws
SignalWorkflowExecutionRequest & WithWorkflowId(Aws::String &&value)
SignalWorkflowExecutionRequest & WithSignalName(const Aws::String &value)
SignalWorkflowExecutionRequest & WithInput(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
SignalWorkflowExecutionRequest & WithWorkflowId(const char *value)
AWS_SWF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SignalWorkflowExecutionRequest & WithDomain(const Aws::String &value)
AWS_SWF_API Aws::String SerializePayload() const override
SignalWorkflowExecutionRequest & WithInput(const char *value)
SignalWorkflowExecutionRequest & WithRunId(const Aws::String &value)
SignalWorkflowExecutionRequest & WithInput(Aws::String &&value)
SignalWorkflowExecutionRequest & WithRunId(const char *value)
SignalWorkflowExecutionRequest & WithDomain(const char *value)
SignalWorkflowExecutionRequest & WithDomain(Aws::String &&value)
SignalWorkflowExecutionRequest & WithRunId(Aws::String &&value)
SignalWorkflowExecutionRequest & WithSignalName(Aws::String &&value)
SignalWorkflowExecutionRequest & WithSignalName(const char *value)
SignalWorkflowExecutionRequest & WithWorkflowId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String