AWS SDK for C++  0.12.9
AWS SDK for C++
WorkflowExecutionSignaledEventAttributes.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>
19 
20 namespace Aws
21 {
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace SWF
30 {
31 namespace Model
32 {
33 
38  {
39  public:
43  Aws::Utils::Json::JsonValue Jsonize() const;
44 
49  inline const Aws::String& GetSignalName() const{ return m_signalName; }
50 
55  inline void SetSignalName(const Aws::String& value) { m_signalNameHasBeenSet = true; m_signalName = value; }
56 
61  inline void SetSignalName(Aws::String&& value) { m_signalNameHasBeenSet = true; m_signalName = value; }
62 
67  inline void SetSignalName(const char* value) { m_signalNameHasBeenSet = true; m_signalName.assign(value); }
68 
73  inline WorkflowExecutionSignaledEventAttributes& WithSignalName(const Aws::String& value) { SetSignalName(value); return *this;}
74 
79  inline WorkflowExecutionSignaledEventAttributes& WithSignalName(Aws::String&& value) { SetSignalName(value); return *this;}
80 
85  inline WorkflowExecutionSignaledEventAttributes& WithSignalName(const char* value) { SetSignalName(value); return *this;}
86 
91  inline const Aws::String& GetInput() const{ return m_input; }
92 
97  inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; }
98 
103  inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = value; }
104 
109  inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); }
110 
115  inline WorkflowExecutionSignaledEventAttributes& WithInput(const Aws::String& value) { SetInput(value); return *this;}
116 
121  inline WorkflowExecutionSignaledEventAttributes& WithInput(Aws::String&& value) { SetInput(value); return *this;}
122 
127  inline WorkflowExecutionSignaledEventAttributes& WithInput(const char* value) { SetInput(value); return *this;}
128 
133  inline const WorkflowExecution& GetExternalWorkflowExecution() const{ return m_externalWorkflowExecution; }
134 
139  inline void SetExternalWorkflowExecution(const WorkflowExecution& value) { m_externalWorkflowExecutionHasBeenSet = true; m_externalWorkflowExecution = value; }
140 
145  inline void SetExternalWorkflowExecution(WorkflowExecution&& value) { m_externalWorkflowExecutionHasBeenSet = true; m_externalWorkflowExecution = value; }
146 
151  inline WorkflowExecutionSignaledEventAttributes& WithExternalWorkflowExecution(const WorkflowExecution& value) { SetExternalWorkflowExecution(value); return *this;}
152 
157  inline WorkflowExecutionSignaledEventAttributes& WithExternalWorkflowExecution(WorkflowExecution&& value) { SetExternalWorkflowExecution(value); return *this;}
158 
167  inline long long GetExternalInitiatedEventId() const{ return m_externalInitiatedEventId; }
168 
177  inline void SetExternalInitiatedEventId(long long value) { m_externalInitiatedEventIdHasBeenSet = true; m_externalInitiatedEventId = value; }
178 
187  inline WorkflowExecutionSignaledEventAttributes& WithExternalInitiatedEventId(long long value) { SetExternalInitiatedEventId(value); return *this;}
188 
189  private:
190  Aws::String m_signalName;
191  bool m_signalNameHasBeenSet;
192  Aws::String m_input;
193  bool m_inputHasBeenSet;
194  WorkflowExecution m_externalWorkflowExecution;
195  bool m_externalWorkflowExecutionHasBeenSet;
196  long long m_externalInitiatedEventId;
197  bool m_externalInitiatedEventIdHasBeenSet;
198  };
199 
200 } // namespace Model
201 } // namespace SWF
202 } // namespace Aws
WorkflowExecutionSignaledEventAttributes & WithInput(Aws::String &&value)
WorkflowExecutionSignaledEventAttributes & WithExternalWorkflowExecution(WorkflowExecution &&value)
WorkflowExecutionSignaledEventAttributes & WithInput(const char *value)
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:34
WorkflowExecutionSignaledEventAttributes & WithSignalName(const char *value)
WorkflowExecutionSignaledEventAttributes & WithSignalName(Aws::String &&value)
WorkflowExecutionSignaledEventAttributes & WithExternalWorkflowExecution(const WorkflowExecution &value)
WorkflowExecutionSignaledEventAttributes & WithInput(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
WorkflowExecutionSignaledEventAttributes & WithExternalInitiatedEventId(long long value)
WorkflowExecutionSignaledEventAttributes & WithSignalName(const Aws::String &value)
JSON (JavaScript Object Notation).