AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
LambdaFunctionFailedEventAttributes.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 LambdaFunctionFailedEventAttributes() = default;
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& GetReason() const { return m_reason; }
76 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
77 template <typename ReasonT = Aws::String>
78 void SetReason(ReasonT&& value) {
79 m_reasonHasBeenSet = true;
80 m_reason = std::forward<ReasonT>(value);
81 }
82 template <typename ReasonT = Aws::String>
84 SetReason(std::forward<ReasonT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetDetails() const { return m_details; }
94 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
95 template <typename DetailsT = Aws::String>
96 void SetDetails(DetailsT&& value) {
97 m_detailsHasBeenSet = true;
98 m_details = std::forward<DetailsT>(value);
99 }
100 template <typename DetailsT = Aws::String>
102 SetDetails(std::forward<DetailsT>(value));
103 return *this;
104 }
106 private:
107 long long m_scheduledEventId{0};
108
109 long long m_startedEventId{0};
110
111 Aws::String m_reason;
112
113 Aws::String m_details;
114 bool m_scheduledEventIdHasBeenSet = false;
115 bool m_startedEventIdHasBeenSet = false;
116 bool m_reasonHasBeenSet = false;
117 bool m_detailsHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace SWF
122} // namespace Aws
LambdaFunctionFailedEventAttributes & WithReason(ReasonT &&value)
AWS_SWF_API LambdaFunctionFailedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API LambdaFunctionFailedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
LambdaFunctionFailedEventAttributes & WithDetails(DetailsT &&value)
LambdaFunctionFailedEventAttributes & WithScheduledEventId(long long value)
LambdaFunctionFailedEventAttributes & WithStartedEventId(long long value)
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