AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
ActivityTaskCompletedEventAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/swf/SWF_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SWF {
20namespace Model {
21
29 public:
30 AWS_SWF_API ActivityTaskCompletedEventAttributes() = default;
34
36
39 inline const Aws::String& GetResult() const { return m_result; }
40 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
41 template <typename ResultT = Aws::String>
42 void SetResult(ResultT&& value) {
43 m_resultHasBeenSet = true;
44 m_result = std::forward<ResultT>(value);
45 }
46 template <typename ResultT = Aws::String>
48 SetResult(std::forward<ResultT>(value));
49 return *this;
50 }
52
54
59 inline long long GetScheduledEventId() const { return m_scheduledEventId; }
60 inline bool ScheduledEventIdHasBeenSet() const { return m_scheduledEventIdHasBeenSet; }
61 inline void SetScheduledEventId(long long value) {
62 m_scheduledEventIdHasBeenSet = true;
63 m_scheduledEventId = value;
64 }
67 return *this;
68 }
70
72
77 inline long long GetStartedEventId() const { return m_startedEventId; }
78 inline bool StartedEventIdHasBeenSet() const { return m_startedEventIdHasBeenSet; }
79 inline void SetStartedEventId(long long value) {
80 m_startedEventIdHasBeenSet = true;
81 m_startedEventId = value;
82 }
84 SetStartedEventId(value);
85 return *this;
86 }
88 private:
89 Aws::String m_result;
90
91 long long m_scheduledEventId{0};
92
93 long long m_startedEventId{0};
94 bool m_resultHasBeenSet = false;
95 bool m_scheduledEventIdHasBeenSet = false;
96 bool m_startedEventIdHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SWF
101} // namespace Aws
ActivityTaskCompletedEventAttributes & WithResult(ResultT &&value)
ActivityTaskCompletedEventAttributes & WithScheduledEventId(long long value)
ActivityTaskCompletedEventAttributes & WithStartedEventId(long long value)
AWS_SWF_API ActivityTaskCompletedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API ActivityTaskCompletedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue