AWS SDK for C++  0.14.3
AWS SDK for C++
SignalExternalWorkflowExecutionInitiatedEventAttributes.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/swf/SWF_EXPORTS.h>
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace SWF
29 {
30 namespace Model
31 {
32 
38  {
39  public:
43  Aws::Utils::Json::JsonValue Jsonize() const;
44 
48  inline const Aws::String& GetWorkflowId() const{ return m_workflowId; }
49 
53  inline void SetWorkflowId(const Aws::String& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; }
54 
58  inline void SetWorkflowId(Aws::String&& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; }
59 
63  inline void SetWorkflowId(const char* value) { m_workflowIdHasBeenSet = true; m_workflowId.assign(value); }
64 
68  inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;}
69 
73  inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithWorkflowId(Aws::String&& value) { SetWorkflowId(value); return *this;}
74 
78  inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;}
79 
84  inline const Aws::String& GetRunId() const{ return m_runId; }
85 
90  inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; }
91 
96  inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = value; }
97 
102  inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); }
103 
108  inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithRunId(const Aws::String& value) { SetRunId(value); return *this;}
109 
114  inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithRunId(Aws::String&& value) { SetRunId(value); return *this;}
115 
120  inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithRunId(const char* value) { SetRunId(value); return *this;}
121 
125  inline const Aws::String& GetSignalName() const{ return m_signalName; }
126 
130  inline void SetSignalName(const Aws::String& value) { m_signalNameHasBeenSet = true; m_signalName = value; }
131 
135  inline void SetSignalName(Aws::String&& value) { m_signalNameHasBeenSet = true; m_signalName = value; }
136 
140  inline void SetSignalName(const char* value) { m_signalNameHasBeenSet = true; m_signalName.assign(value); }
141 
145  inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithSignalName(const Aws::String& value) { SetSignalName(value); return *this;}
146 
150  inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithSignalName(Aws::String&& value) { SetSignalName(value); return *this;}
151 
155  inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithSignalName(const char* value) { SetSignalName(value); return *this;}
156 
160  inline const Aws::String& GetInput() const{ return m_input; }
161 
165  inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; }
166 
170  inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = value; }
171 
175  inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); }
176 
180  inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithInput(const Aws::String& value) { SetInput(value); return *this;}
181 
185  inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithInput(Aws::String&& value) { SetInput(value); return *this;}
186 
190  inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithInput(const char* value) { SetInput(value); return *this;}
191 
198  inline long long GetDecisionTaskCompletedEventId() const{ return m_decisionTaskCompletedEventId; }
199 
206  inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
207 
214  inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithDecisionTaskCompletedEventId(long long value) { SetDecisionTaskCompletedEventId(value); return *this;}
215 
220  inline const Aws::String& GetControl() const{ return m_control; }
221 
226  inline void SetControl(const Aws::String& value) { m_controlHasBeenSet = true; m_control = value; }
227 
232  inline void SetControl(Aws::String&& value) { m_controlHasBeenSet = true; m_control = value; }
233 
238  inline void SetControl(const char* value) { m_controlHasBeenSet = true; m_control.assign(value); }
239 
244  inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithControl(const Aws::String& value) { SetControl(value); return *this;}
245 
250  inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithControl(Aws::String&& value) { SetControl(value); return *this;}
251 
256  inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithControl(const char* value) { SetControl(value); return *this;}
257 
258  private:
259  Aws::String m_workflowId;
260  bool m_workflowIdHasBeenSet;
261  Aws::String m_runId;
262  bool m_runIdHasBeenSet;
263  Aws::String m_signalName;
264  bool m_signalNameHasBeenSet;
265  Aws::String m_input;
266  bool m_inputHasBeenSet;
267  long long m_decisionTaskCompletedEventId;
268  bool m_decisionTaskCompletedEventIdHasBeenSet;
269  Aws::String m_control;
270  bool m_controlHasBeenSet;
271  };
272 
273 } // namespace Model
274 } // namespace SWF
275 } // namespace Aws
SignalExternalWorkflowExecutionInitiatedEventAttributes & WithRunId(const char *value)
SignalExternalWorkflowExecutionInitiatedEventAttributes & WithControl(Aws::String &&value)
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:37
SignalExternalWorkflowExecutionInitiatedEventAttributes & WithControl(const char *value)
SignalExternalWorkflowExecutionInitiatedEventAttributes & WithWorkflowId(Aws::String &&value)
SignalExternalWorkflowExecutionInitiatedEventAttributes & WithRunId(Aws::String &&value)
SignalExternalWorkflowExecutionInitiatedEventAttributes & WithInput(const Aws::String &value)
SignalExternalWorkflowExecutionInitiatedEventAttributes & WithInput(const char *value)
SignalExternalWorkflowExecutionInitiatedEventAttributes & WithSignalName(Aws::String &&value)
SignalExternalWorkflowExecutionInitiatedEventAttributes & WithSignalName(const char *value)
SignalExternalWorkflowExecutionInitiatedEventAttributes & WithSignalName(const Aws::String &value)
SignalExternalWorkflowExecutionInitiatedEventAttributes & WithWorkflowId(const Aws::String &value)
SignalExternalWorkflowExecutionInitiatedEventAttributes & WithDecisionTaskCompletedEventId(long long value)
SignalExternalWorkflowExecutionInitiatedEventAttributes & WithWorkflowId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SignalExternalWorkflowExecutionInitiatedEventAttributes & WithRunId(const Aws::String &value)
SignalExternalWorkflowExecutionInitiatedEventAttributes & WithInput(Aws::String &&value)
SignalExternalWorkflowExecutionInitiatedEventAttributes & WithControl(const Aws::String &value)
JSON (JavaScript Object Notation).