AWS SDK for C++  1.9.158
AWS SDK for C++
ScheduleLambdaFunctionFailedEventAttributes.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/swf/SWF_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SWF
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const Aws::String& GetId() const{ return m_id; }
47 
52  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
53 
58  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
59 
64  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
65 
70  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
71 
76  inline ScheduleLambdaFunctionFailedEventAttributes& WithId(const Aws::String& value) { SetId(value); return *this;}
77 
82  inline ScheduleLambdaFunctionFailedEventAttributes& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
83 
88  inline ScheduleLambdaFunctionFailedEventAttributes& WithId(const char* value) { SetId(value); return *this;}
89 
90 
94  inline const Aws::String& GetName() const{ return m_name; }
95 
99  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
100 
104  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
105 
109  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
110 
114  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
115 
119  inline ScheduleLambdaFunctionFailedEventAttributes& WithName(const Aws::String& value) { SetName(value); return *this;}
120 
124  inline ScheduleLambdaFunctionFailedEventAttributes& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
125 
129  inline ScheduleLambdaFunctionFailedEventAttributes& WithName(const char* value) { SetName(value); return *this;}
130 
131 
142  inline const ScheduleLambdaFunctionFailedCause& GetCause() const{ return m_cause; }
143 
154  inline bool CauseHasBeenSet() const { return m_causeHasBeenSet; }
155 
166  inline void SetCause(const ScheduleLambdaFunctionFailedCause& value) { m_causeHasBeenSet = true; m_cause = value; }
167 
178  inline void SetCause(ScheduleLambdaFunctionFailedCause&& value) { m_causeHasBeenSet = true; m_cause = std::move(value); }
179 
190  inline ScheduleLambdaFunctionFailedEventAttributes& WithCause(const ScheduleLambdaFunctionFailedCause& value) { SetCause(value); return *this;}
191 
202  inline ScheduleLambdaFunctionFailedEventAttributes& WithCause(ScheduleLambdaFunctionFailedCause&& value) { SetCause(std::move(value)); return *this;}
203 
204 
211  inline long long GetDecisionTaskCompletedEventId() const{ return m_decisionTaskCompletedEventId; }
212 
219  inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; }
220 
227  inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
228 
235  inline ScheduleLambdaFunctionFailedEventAttributes& WithDecisionTaskCompletedEventId(long long value) { SetDecisionTaskCompletedEventId(value); return *this;}
236 
237  private:
238 
239  Aws::String m_id;
240  bool m_idHasBeenSet;
241 
242  Aws::String m_name;
243  bool m_nameHasBeenSet;
244 
246  bool m_causeHasBeenSet;
247 
248  long long m_decisionTaskCompletedEventId;
249  bool m_decisionTaskCompletedEventIdHasBeenSet;
250  };
251 
252 } // namespace Model
253 } // namespace SWF
254 } // namespace Aws
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::WithName
ScheduleLambdaFunctionFailedEventAttributes & WithName(Aws::String &&value)
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:124
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::SetDecisionTaskCompletedEventId
void SetDecisionTaskCompletedEventId(long long value)
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:227
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::WithCause
ScheduleLambdaFunctionFailedEventAttributes & WithCause(ScheduleLambdaFunctionFailedCause &&value)
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:202
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::GetCause
const ScheduleLambdaFunctionFailedCause & GetCause() const
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:142
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::WithDecisionTaskCompletedEventId
ScheduleLambdaFunctionFailedEventAttributes & WithDecisionTaskCompletedEventId(long long value)
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:235
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::ScheduleLambdaFunctionFailedEventAttributes
ScheduleLambdaFunctionFailedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::WithId
ScheduleLambdaFunctionFailedEventAttributes & WithId(Aws::String &&value)
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:82
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::SetName
void SetName(const char *value)
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:114
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::SetName
void SetName(Aws::String &&value)
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:109
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::CauseHasBeenSet
bool CauseHasBeenSet() const
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:154
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::IdHasBeenSet
bool IdHasBeenSet() const
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:52
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::WithId
ScheduleLambdaFunctionFailedEventAttributes & WithId(const Aws::String &value)
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:76
Aws::SWF::Model::ScheduleLambdaFunctionFailedCause
ScheduleLambdaFunctionFailedCause
Definition: ScheduleLambdaFunctionFailedCause.h:17
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:99
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::WithName
ScheduleLambdaFunctionFailedEventAttributes & WithName(const Aws::String &value)
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:119
SWF_EXPORTS.h
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::SetName
void SetName(const Aws::String &value)
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:104
ScheduleLambdaFunctionFailedCause.h
Aws::DevOpsGuru::Model::ServiceName::NOT_SET
@ NOT_SET
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::operator=
ScheduleLambdaFunctionFailedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::SetId
void SetId(const Aws::String &value)
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:58
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::WithCause
ScheduleLambdaFunctionFailedEventAttributes & WithCause(const ScheduleLambdaFunctionFailedCause &value)
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:190
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::DecisionTaskCompletedEventIdHasBeenSet
bool DecisionTaskCompletedEventIdHasBeenSet() const
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:219
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::SetCause
void SetCause(const ScheduleLambdaFunctionFailedCause &value)
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:166
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:34
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::GetId
const Aws::String & GetId() const
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:46
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::GetName
const Aws::String & GetName() const
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:94
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::ScheduleLambdaFunctionFailedEventAttributes
ScheduleLambdaFunctionFailedEventAttributes()
AWS_SWF_API
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::SetId
void SetId(Aws::String &&value)
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:64
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::SetCause
void SetCause(ScheduleLambdaFunctionFailedCause &&value)
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:178
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::WithName
ScheduleLambdaFunctionFailedEventAttributes & WithName(const char *value)
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:129
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::GetDecisionTaskCompletedEventId
long long GetDecisionTaskCompletedEventId() const
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:211
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::WithId
ScheduleLambdaFunctionFailedEventAttributes & WithId(const char *value)
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:88
Aws::SWF::Model::ScheduleLambdaFunctionFailedEventAttributes::SetId
void SetId(const char *value)
Definition: ScheduleLambdaFunctionFailedEventAttributes.h:70