AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 ScheduleLambdaFunctionFailedEventAttributes& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 ScheduleLambdaFunctionFailedEventAttributes& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
78 inline ScheduleLambdaFunctionFailedCause GetCause() const { return m_cause; }
79 inline bool CauseHasBeenSet() const { return m_causeHasBeenSet; }
80 inline void SetCause(ScheduleLambdaFunctionFailedCause value) { m_causeHasBeenSet = true; m_cause = value; }
83
85
91 inline long long GetDecisionTaskCompletedEventId() const { return m_decisionTaskCompletedEventId; }
92 inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; }
93 inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
96 private:
97
98 Aws::String m_id;
99 bool m_idHasBeenSet = false;
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103
105 bool m_causeHasBeenSet = false;
106
107 long long m_decisionTaskCompletedEventId{0};
108 bool m_decisionTaskCompletedEventIdHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace SWF
113} // namespace Aws
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
ScheduleLambdaFunctionFailedEventAttributes & WithCause(ScheduleLambdaFunctionFailedCause value)
ScheduleLambdaFunctionFailedEventAttributes & WithDecisionTaskCompletedEventId(long long value)
AWS_SWF_API ScheduleLambdaFunctionFailedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleLambdaFunctionFailedEventAttributes & WithName(NameT &&value)
AWS_SWF_API ScheduleLambdaFunctionFailedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue