AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 inline void SetResult(const Aws::String& value) { m_resultHasBeenSet = true; m_result = value; }
72 inline void SetResult(Aws::String&& value) { m_resultHasBeenSet = true; m_result = std::move(value); }
73 inline void SetResult(const char* value) { m_resultHasBeenSet = true; m_result.assign(value); }
74 inline LambdaFunctionCompletedEventAttributes& WithResult(const Aws::String& value) { SetResult(value); return *this;}
75 inline LambdaFunctionCompletedEventAttributes& WithResult(Aws::String&& value) { SetResult(std::move(value)); return *this;}
76 inline LambdaFunctionCompletedEventAttributes& WithResult(const char* value) { SetResult(value); return *this;}
78 private:
79
80 long long m_scheduledEventId;
81 bool m_scheduledEventIdHasBeenSet = false;
82
83 long long m_startedEventId;
84 bool m_startedEventIdHasBeenSet = false;
85
86 Aws::String m_result;
87 bool m_resultHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SWF
92} // 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 & WithResult(const Aws::String &value)
LambdaFunctionCompletedEventAttributes & WithScheduledEventId(long long value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
LambdaFunctionCompletedEventAttributes & WithResult(const char *value)
LambdaFunctionCompletedEventAttributes & WithResult(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue