AWS SDK for C++  0.12.9
AWS SDK for C++
ActivityTaskStartedEventAttributes.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:
42  Aws::Utils::Json::JsonValue Jsonize() const;
43 
48  inline const Aws::String& GetIdentity() const{ return m_identity; }
49 
54  inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
55 
60  inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = value; }
61 
66  inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
67 
72  inline ActivityTaskStartedEventAttributes& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
73 
78  inline ActivityTaskStartedEventAttributes& WithIdentity(Aws::String&& value) { SetIdentity(value); return *this;}
79 
84  inline ActivityTaskStartedEventAttributes& WithIdentity(const char* value) { SetIdentity(value); return *this;}
85 
91  inline long long GetScheduledEventId() const{ return m_scheduledEventId; }
92 
98  inline void SetScheduledEventId(long long value) { m_scheduledEventIdHasBeenSet = true; m_scheduledEventId = value; }
99 
105  inline ActivityTaskStartedEventAttributes& WithScheduledEventId(long long value) { SetScheduledEventId(value); return *this;}
106 
107  private:
108  Aws::String m_identity;
109  bool m_identityHasBeenSet;
110  long long m_scheduledEventId;
111  bool m_scheduledEventIdHasBeenSet;
112  };
113 
114 } // namespace Model
115 } // namespace SWF
116 } // namespace Aws
ActivityTaskStartedEventAttributes & WithScheduledEventId(long long value)
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:34
ActivityTaskStartedEventAttributes & WithIdentity(Aws::String &&value)
ActivityTaskStartedEventAttributes & WithIdentity(const Aws::String &value)
ActivityTaskStartedEventAttributes & WithIdentity(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
JSON (JavaScript Object Notation).