AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LambdaFunctionCompletedEventAttributes.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SWF
22{
23namespace Model
24{
25
33 {
34 public:
39
40
42
47 inline long long GetScheduledEventId() const { return m_scheduledEventId; }
48 inline bool ScheduledEventIdHasBeenSet() const { return m_scheduledEventIdHasBeenSet; }
49 inline void SetScheduledEventId(long long value) { m_scheduledEventIdHasBeenSet = true; m_scheduledEventId = value; }
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) { m_startedEventIdHasBeenSet = true; m_startedEventId = value; }
62 inline LambdaFunctionCompletedEventAttributes& WithStartedEventId(long long value) { SetStartedEventId(value); return *this;}
64
66
69 inline const Aws::String& GetResult() const { return m_result; }
70 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
71 template<typename ResultT = Aws::String>
72 void SetResult(ResultT&& value) { m_resultHasBeenSet = true; m_result = std::forward<ResultT>(value); }
73 template<typename ResultT = Aws::String>
74 LambdaFunctionCompletedEventAttributes& WithResult(ResultT&& value) { SetResult(std::forward<ResultT>(value)); return *this;}
76 private:
77
78 long long m_scheduledEventId{0};
79 bool m_scheduledEventIdHasBeenSet = false;
80
81 long long m_startedEventId{0};
82 bool m_startedEventIdHasBeenSet = false;
83
84 Aws::String m_result;
85 bool m_resultHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SWF
90} // 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