AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
LambdaFunctionCompletedEventAttributes.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:
34
36
41 inline long long GetScheduledEventId() const { return m_scheduledEventId; }
42 inline bool ScheduledEventIdHasBeenSet() const { return m_scheduledEventIdHasBeenSet; }
43 inline void SetScheduledEventId(long long value) {
44 m_scheduledEventIdHasBeenSet = true;
45 m_scheduledEventId = value;
46 }
49 return *this;
50 }
52
54
59 inline long long GetStartedEventId() const { return m_startedEventId; }
60 inline bool StartedEventIdHasBeenSet() const { return m_startedEventIdHasBeenSet; }
61 inline void SetStartedEventId(long long value) {
62 m_startedEventIdHasBeenSet = true;
63 m_startedEventId = value;
64 }
66 SetStartedEventId(value);
67 return *this;
68 }
70
72
75 inline const Aws::String& GetResult() const { return m_result; }
76 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
77 template <typename ResultT = Aws::String>
78 void SetResult(ResultT&& value) {
79 m_resultHasBeenSet = true;
80 m_result = std::forward<ResultT>(value);
81 }
82 template <typename ResultT = Aws::String>
84 SetResult(std::forward<ResultT>(value));
85 return *this;
86 }
88 private:
89 long long m_scheduledEventId{0};
90
91 long long m_startedEventId{0};
92
93 Aws::String m_result;
94 bool m_scheduledEventIdHasBeenSet = false;
95 bool m_startedEventIdHasBeenSet = false;
96 bool m_resultHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SWF
101} // namespace Aws
AWS_SWF_API LambdaFunctionCompletedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API LambdaFunctionCompletedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
LambdaFunctionCompletedEventAttributes & WithStartedEventId(long long value)
LambdaFunctionCompletedEventAttributes & WithScheduledEventId(long long value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
LambdaFunctionCompletedEventAttributes & WithResult(ResultT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue