AWS SDK for C++  0.12.9
AWS SDK for C++
TimerStartedEventAttributes.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 
37  {
38  public:
41  TimerStartedEventAttributes& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
42  Aws::Utils::Json::JsonValue Jsonize() const;
43 
47  inline const Aws::String& GetTimerId() const{ return m_timerId; }
48 
52  inline void SetTimerId(const Aws::String& value) { m_timerIdHasBeenSet = true; m_timerId = value; }
53 
57  inline void SetTimerId(Aws::String&& value) { m_timerIdHasBeenSet = true; m_timerId = value; }
58 
62  inline void SetTimerId(const char* value) { m_timerIdHasBeenSet = true; m_timerId.assign(value); }
63 
67  inline TimerStartedEventAttributes& WithTimerId(const Aws::String& value) { SetTimerId(value); return *this;}
68 
72  inline TimerStartedEventAttributes& WithTimerId(Aws::String&& value) { SetTimerId(value); return *this;}
73 
77  inline TimerStartedEventAttributes& WithTimerId(const char* value) { SetTimerId(value); return *this;}
78 
83  inline const Aws::String& GetControl() const{ return m_control; }
84 
89  inline void SetControl(const Aws::String& value) { m_controlHasBeenSet = true; m_control = value; }
90 
95  inline void SetControl(Aws::String&& value) { m_controlHasBeenSet = true; m_control = value; }
96 
101  inline void SetControl(const char* value) { m_controlHasBeenSet = true; m_control.assign(value); }
102 
107  inline TimerStartedEventAttributes& WithControl(const Aws::String& value) { SetControl(value); return *this;}
108 
113  inline TimerStartedEventAttributes& WithControl(Aws::String&& value) { SetControl(value); return *this;}
114 
119  inline TimerStartedEventAttributes& WithControl(const char* value) { SetControl(value); return *this;}
120 
125  inline const Aws::String& GetStartToFireTimeout() const{ return m_startToFireTimeout; }
126 
131  inline void SetStartToFireTimeout(const Aws::String& value) { m_startToFireTimeoutHasBeenSet = true; m_startToFireTimeout = value; }
132 
137  inline void SetStartToFireTimeout(Aws::String&& value) { m_startToFireTimeoutHasBeenSet = true; m_startToFireTimeout = value; }
138 
143  inline void SetStartToFireTimeout(const char* value) { m_startToFireTimeoutHasBeenSet = true; m_startToFireTimeout.assign(value); }
144 
149  inline TimerStartedEventAttributes& WithStartToFireTimeout(const Aws::String& value) { SetStartToFireTimeout(value); return *this;}
150 
155  inline TimerStartedEventAttributes& WithStartToFireTimeout(Aws::String&& value) { SetStartToFireTimeout(value); return *this;}
156 
161  inline TimerStartedEventAttributes& WithStartToFireTimeout(const char* value) { SetStartToFireTimeout(value); return *this;}
162 
169  inline long long GetDecisionTaskCompletedEventId() const{ return m_decisionTaskCompletedEventId; }
170 
177  inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
178 
185  inline TimerStartedEventAttributes& WithDecisionTaskCompletedEventId(long long value) { SetDecisionTaskCompletedEventId(value); return *this;}
186 
187  private:
188  Aws::String m_timerId;
189  bool m_timerIdHasBeenSet;
190  Aws::String m_control;
191  bool m_controlHasBeenSet;
192  Aws::String m_startToFireTimeout;
193  bool m_startToFireTimeoutHasBeenSet;
194  long long m_decisionTaskCompletedEventId;
195  bool m_decisionTaskCompletedEventIdHasBeenSet;
196  };
197 
198 } // namespace Model
199 } // namespace SWF
200 } // namespace Aws
TimerStartedEventAttributes & WithTimerId(const char *value)
TimerStartedEventAttributes & WithControl(const Aws::String &value)
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:34
TimerStartedEventAttributes & WithDecisionTaskCompletedEventId(long long value)
TimerStartedEventAttributes & WithTimerId(const Aws::String &value)
TimerStartedEventAttributes & WithControl(Aws::String &&value)
TimerStartedEventAttributes & WithStartToFireTimeout(Aws::String &&value)
TimerStartedEventAttributes & WithControl(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
TimerStartedEventAttributes & WithTimerId(Aws::String &&value)
TimerStartedEventAttributes & WithStartToFireTimeout(const Aws::String &value)
JSON (JavaScript Object Notation).
TimerStartedEventAttributes & WithStartToFireTimeout(const char *value)