AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduleLambdaFunctionFailedEventAttributes.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/swf/model/ScheduleLambdaFunctionFailedCause.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
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline ScheduleLambdaFunctionFailedEventAttributes& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline ScheduleLambdaFunctionFailedEventAttributes& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline ScheduleLambdaFunctionFailedEventAttributes& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline ScheduleLambdaFunctionFailedEventAttributes& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline ScheduleLambdaFunctionFailedEventAttributes& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline ScheduleLambdaFunctionFailedEventAttributes& WithName(const char* value) { SetName(value); return *this;}
70
72
82 inline const ScheduleLambdaFunctionFailedCause& GetCause() const{ return m_cause; }
83 inline bool CauseHasBeenSet() const { return m_causeHasBeenSet; }
84 inline void SetCause(const ScheduleLambdaFunctionFailedCause& value) { m_causeHasBeenSet = true; m_cause = value; }
85 inline void SetCause(ScheduleLambdaFunctionFailedCause&& value) { m_causeHasBeenSet = true; m_cause = std::move(value); }
89
91
97 inline long long GetDecisionTaskCompletedEventId() const{ return m_decisionTaskCompletedEventId; }
98 inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; }
99 inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
102 private:
103
104 Aws::String m_id;
105 bool m_idHasBeenSet = false;
106
107 Aws::String m_name;
108 bool m_nameHasBeenSet = false;
109
111 bool m_causeHasBeenSet = false;
112
113 long long m_decisionTaskCompletedEventId;
114 bool m_decisionTaskCompletedEventIdHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace SWF
119} // namespace Aws
ScheduleLambdaFunctionFailedEventAttributes & WithName(const char *value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
ScheduleLambdaFunctionFailedEventAttributes & WithDecisionTaskCompletedEventId(long long value)
ScheduleLambdaFunctionFailedEventAttributes & WithId(Aws::String &&value)
ScheduleLambdaFunctionFailedEventAttributes & WithCause(ScheduleLambdaFunctionFailedCause &&value)
ScheduleLambdaFunctionFailedEventAttributes & WithId(const char *value)
AWS_SWF_API ScheduleLambdaFunctionFailedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleLambdaFunctionFailedEventAttributes & WithName(Aws::String &&value)
ScheduleLambdaFunctionFailedEventAttributes & WithCause(const ScheduleLambdaFunctionFailedCause &value)
ScheduleLambdaFunctionFailedEventAttributes & WithId(const Aws::String &value)
AWS_SWF_API ScheduleLambdaFunctionFailedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
ScheduleLambdaFunctionFailedEventAttributes & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue