AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 const StartLambdaFunctionFailedCause& GetCause() const{ return m_cause; }
65 inline bool CauseHasBeenSet() const { return m_causeHasBeenSet; }
66 inline void SetCause(const StartLambdaFunctionFailedCause& value) { m_causeHasBeenSet = true; m_cause = value; }
67 inline void SetCause(StartLambdaFunctionFailedCause&& value) { m_causeHasBeenSet = true; m_cause = std::move(value); }
71
73
76 inline const Aws::String& GetMessage() const{ return m_message; }
77 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
78 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
79 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
80 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
81 inline StartLambdaFunctionFailedEventAttributes& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
82 inline StartLambdaFunctionFailedEventAttributes& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
83 inline StartLambdaFunctionFailedEventAttributes& WithMessage(const char* value) { SetMessage(value); return *this;}
85 private:
86
87 long long m_scheduledEventId;
88 bool m_scheduledEventIdHasBeenSet = false;
89
91 bool m_causeHasBeenSet = false;
92
93 Aws::String m_message;
94 bool m_messageHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace SWF
99} // namespace Aws
StartLambdaFunctionFailedEventAttributes & WithScheduledEventId(long long value)
StartLambdaFunctionFailedEventAttributes & WithMessage(const Aws::String &value)
StartLambdaFunctionFailedEventAttributes & WithCause(const StartLambdaFunctionFailedCause &value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
StartLambdaFunctionFailedEventAttributes & WithMessage(Aws::String &&value)
AWS_SWF_API StartLambdaFunctionFailedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
StartLambdaFunctionFailedEventAttributes & WithCause(StartLambdaFunctionFailedCause &&value)
AWS_SWF_API StartLambdaFunctionFailedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
StartLambdaFunctionFailedEventAttributes & WithMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue