AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartLambdaFunctionFailedEventAttributes.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/swf/model/StartLambdaFunctionFailedCause.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SWF
23{
24namespace Model
25{
26
34 {
35 public:
40
41
43
48 inline long long GetScheduledEventId() const { return m_scheduledEventId; }
49 inline bool ScheduledEventIdHasBeenSet() const { return m_scheduledEventIdHasBeenSet; }
50 inline void SetScheduledEventId(long long value) { m_scheduledEventIdHasBeenSet = true; m_scheduledEventId = value; }
53
55
64 inline StartLambdaFunctionFailedCause GetCause() const { return m_cause; }
65 inline bool CauseHasBeenSet() const { return m_causeHasBeenSet; }
66 inline void SetCause(StartLambdaFunctionFailedCause value) { m_causeHasBeenSet = true; m_cause = value; }
69
71
74 inline const Aws::String& GetMessage() const { return m_message; }
75 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
76 template<typename MessageT = Aws::String>
77 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
78 template<typename MessageT = Aws::String>
79 StartLambdaFunctionFailedEventAttributes& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
81 private:
82
83 long long m_scheduledEventId{0};
84 bool m_scheduledEventIdHasBeenSet = false;
85
87 bool m_causeHasBeenSet = false;
88
89 Aws::String m_message;
90 bool m_messageHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SWF
95} // namespace Aws
StartLambdaFunctionFailedEventAttributes & WithMessage(MessageT &&value)
StartLambdaFunctionFailedEventAttributes & WithScheduledEventId(long long value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
StartLambdaFunctionFailedEventAttributes & WithCause(StartLambdaFunctionFailedCause value)
AWS_SWF_API StartLambdaFunctionFailedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API StartLambdaFunctionFailedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue