AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LambdaFunctionFailedEventAttributes.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; }
50 inline LambdaFunctionFailedEventAttributes& WithScheduledEventId(long long value) { SetScheduledEventId(value); return *this;}
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 LambdaFunctionFailedEventAttributes& WithStartedEventId(long long value) { SetStartedEventId(value); return *this;}
64
66
69 inline const Aws::String& GetReason() const{ return m_reason; }
70 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
71 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
72 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
73 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
74 inline LambdaFunctionFailedEventAttributes& WithReason(const Aws::String& value) { SetReason(value); return *this;}
75 inline LambdaFunctionFailedEventAttributes& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
76 inline LambdaFunctionFailedEventAttributes& WithReason(const char* value) { SetReason(value); return *this;}
78
80
83 inline const Aws::String& GetDetails() const{ return m_details; }
84 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
85 inline void SetDetails(const Aws::String& value) { m_detailsHasBeenSet = true; m_details = value; }
86 inline void SetDetails(Aws::String&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
87 inline void SetDetails(const char* value) { m_detailsHasBeenSet = true; m_details.assign(value); }
88 inline LambdaFunctionFailedEventAttributes& WithDetails(const Aws::String& value) { SetDetails(value); return *this;}
89 inline LambdaFunctionFailedEventAttributes& WithDetails(Aws::String&& value) { SetDetails(std::move(value)); return *this;}
90 inline LambdaFunctionFailedEventAttributes& WithDetails(const char* value) { SetDetails(value); return *this;}
92 private:
93
94 long long m_scheduledEventId;
95 bool m_scheduledEventIdHasBeenSet = false;
96
97 long long m_startedEventId;
98 bool m_startedEventIdHasBeenSet = false;
99
100 Aws::String m_reason;
101 bool m_reasonHasBeenSet = false;
102
103 Aws::String m_details;
104 bool m_detailsHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace SWF
109} // namespace Aws
AWS_SWF_API LambdaFunctionFailedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
LambdaFunctionFailedEventAttributes & WithDetails(const Aws::String &value)
AWS_SWF_API LambdaFunctionFailedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
LambdaFunctionFailedEventAttributes & WithReason(Aws::String &&value)
LambdaFunctionFailedEventAttributes & WithScheduledEventId(long long value)
LambdaFunctionFailedEventAttributes & WithStartedEventId(long long value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
LambdaFunctionFailedEventAttributes & WithDetails(Aws::String &&value)
LambdaFunctionFailedEventAttributes & WithReason(const char *value)
LambdaFunctionFailedEventAttributes & WithDetails(const char *value)
LambdaFunctionFailedEventAttributes & WithReason(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue