AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
35 AWS_SWF_API LambdaFunctionFailedEventAttributes() = default;
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 template<typename ReasonT = Aws::String>
72 void SetReason(ReasonT&& value) { m_reasonHasBeenSet = true; m_reason = std::forward<ReasonT>(value); }
73 template<typename ReasonT = Aws::String>
74 LambdaFunctionFailedEventAttributes& WithReason(ReasonT&& value) { SetReason(std::forward<ReasonT>(value)); return *this;}
76
78
81 inline const Aws::String& GetDetails() const { return m_details; }
82 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
83 template<typename DetailsT = Aws::String>
84 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet = true; m_details = std::forward<DetailsT>(value); }
85 template<typename DetailsT = Aws::String>
86 LambdaFunctionFailedEventAttributes& WithDetails(DetailsT&& value) { SetDetails(std::forward<DetailsT>(value)); return *this;}
88 private:
89
90 long long m_scheduledEventId{0};
91 bool m_scheduledEventIdHasBeenSet = false;
92
93 long long m_startedEventId{0};
94 bool m_startedEventIdHasBeenSet = false;
95
96 Aws::String m_reason;
97 bool m_reasonHasBeenSet = false;
98
99 Aws::String m_details;
100 bool m_detailsHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace SWF
105} // 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