AWS SDK for C++  1.9.158
AWS SDK for C++
LambdaFunctionFailedEventAttributes.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/swf/SWF_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SWF
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
46  inline long long GetScheduledEventId() const{ return m_scheduledEventId; }
47 
53  inline bool ScheduledEventIdHasBeenSet() const { return m_scheduledEventIdHasBeenSet; }
54 
60  inline void SetScheduledEventId(long long value) { m_scheduledEventIdHasBeenSet = true; m_scheduledEventId = value; }
61 
67  inline LambdaFunctionFailedEventAttributes& WithScheduledEventId(long long value) { SetScheduledEventId(value); return *this;}
68 
69 
75  inline long long GetStartedEventId() const{ return m_startedEventId; }
76 
82  inline bool StartedEventIdHasBeenSet() const { return m_startedEventIdHasBeenSet; }
83 
89  inline void SetStartedEventId(long long value) { m_startedEventIdHasBeenSet = true; m_startedEventId = value; }
90 
96  inline LambdaFunctionFailedEventAttributes& WithStartedEventId(long long value) { SetStartedEventId(value); return *this;}
97 
98 
102  inline const Aws::String& GetReason() const{ return m_reason; }
103 
107  inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
108 
112  inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
113 
117  inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
118 
122  inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
123 
127  inline LambdaFunctionFailedEventAttributes& WithReason(const Aws::String& value) { SetReason(value); return *this;}
128 
132  inline LambdaFunctionFailedEventAttributes& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
133 
137  inline LambdaFunctionFailedEventAttributes& WithReason(const char* value) { SetReason(value); return *this;}
138 
139 
143  inline const Aws::String& GetDetails() const{ return m_details; }
144 
148  inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
149 
153  inline void SetDetails(const Aws::String& value) { m_detailsHasBeenSet = true; m_details = value; }
154 
158  inline void SetDetails(Aws::String&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
159 
163  inline void SetDetails(const char* value) { m_detailsHasBeenSet = true; m_details.assign(value); }
164 
168  inline LambdaFunctionFailedEventAttributes& WithDetails(const Aws::String& value) { SetDetails(value); return *this;}
169 
173  inline LambdaFunctionFailedEventAttributes& WithDetails(Aws::String&& value) { SetDetails(std::move(value)); return *this;}
174 
178  inline LambdaFunctionFailedEventAttributes& WithDetails(const char* value) { SetDetails(value); return *this;}
179 
180  private:
181 
182  long long m_scheduledEventId;
183  bool m_scheduledEventIdHasBeenSet;
184 
185  long long m_startedEventId;
186  bool m_startedEventIdHasBeenSet;
187 
188  Aws::String m_reason;
189  bool m_reasonHasBeenSet;
190 
191  Aws::String m_details;
192  bool m_detailsHasBeenSet;
193  };
194 
195 } // namespace Model
196 } // namespace SWF
197 } // namespace Aws
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::operator=
LambdaFunctionFailedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::SetDetails
void SetDetails(const char *value)
Definition: LambdaFunctionFailedEventAttributes.h:163
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::GetScheduledEventId
long long GetScheduledEventId() const
Definition: LambdaFunctionFailedEventAttributes.h:46
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::WithDetails
LambdaFunctionFailedEventAttributes & WithDetails(const Aws::String &value)
Definition: LambdaFunctionFailedEventAttributes.h:168
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::StartedEventIdHasBeenSet
bool StartedEventIdHasBeenSet() const
Definition: LambdaFunctionFailedEventAttributes.h:82
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::ScheduledEventIdHasBeenSet
bool ScheduledEventIdHasBeenSet() const
Definition: LambdaFunctionFailedEventAttributes.h:53
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::WithReason
LambdaFunctionFailedEventAttributes & WithReason(const Aws::String &value)
Definition: LambdaFunctionFailedEventAttributes.h:127
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::GetStartedEventId
long long GetStartedEventId() const
Definition: LambdaFunctionFailedEventAttributes.h:75
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::WithDetails
LambdaFunctionFailedEventAttributes & WithDetails(const char *value)
Definition: LambdaFunctionFailedEventAttributes.h:178
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::SetScheduledEventId
void SetScheduledEventId(long long value)
Definition: LambdaFunctionFailedEventAttributes.h:60
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::DetailsHasBeenSet
bool DetailsHasBeenSet() const
Definition: LambdaFunctionFailedEventAttributes.h:148
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::SetReason
void SetReason(const char *value)
Definition: LambdaFunctionFailedEventAttributes.h:122
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::ReasonHasBeenSet
bool ReasonHasBeenSet() const
Definition: LambdaFunctionFailedEventAttributes.h:107
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::SetReason
void SetReason(const Aws::String &value)
Definition: LambdaFunctionFailedEventAttributes.h:112
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::SetReason
void SetReason(Aws::String &&value)
Definition: LambdaFunctionFailedEventAttributes.h:117
SWF_EXPORTS.h
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::WithDetails
LambdaFunctionFailedEventAttributes & WithDetails(Aws::String &&value)
Definition: LambdaFunctionFailedEventAttributes.h:173
Aws::DevOpsGuru::Model::ServiceName::NOT_SET
@ NOT_SET
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::GetDetails
const Aws::String & GetDetails() const
Definition: LambdaFunctionFailedEventAttributes.h:143
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::WithScheduledEventId
LambdaFunctionFailedEventAttributes & WithScheduledEventId(long long value)
Definition: LambdaFunctionFailedEventAttributes.h:67
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::SetDetails
void SetDetails(const Aws::String &value)
Definition: LambdaFunctionFailedEventAttributes.h:153
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::WithReason
LambdaFunctionFailedEventAttributes & WithReason(Aws::String &&value)
Definition: LambdaFunctionFailedEventAttributes.h:132
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::WithReason
LambdaFunctionFailedEventAttributes & WithReason(const char *value)
Definition: LambdaFunctionFailedEventAttributes.h:137
Aws::SWF::Model::LambdaFunctionFailedEventAttributes
Definition: LambdaFunctionFailedEventAttributes.h:33
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::WithStartedEventId
LambdaFunctionFailedEventAttributes & WithStartedEventId(long long value)
Definition: LambdaFunctionFailedEventAttributes.h:96
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::SetStartedEventId
void SetStartedEventId(long long value)
Definition: LambdaFunctionFailedEventAttributes.h:89
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::LambdaFunctionFailedEventAttributes
LambdaFunctionFailedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
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::LambdaFunctionFailedEventAttributes::LambdaFunctionFailedEventAttributes
LambdaFunctionFailedEventAttributes()
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::GetReason
const Aws::String & GetReason() const
Definition: LambdaFunctionFailedEventAttributes.h:102
Aws::SWF::Model::LambdaFunctionFailedEventAttributes::SetDetails
void SetDetails(Aws::String &&value)
Definition: LambdaFunctionFailedEventAttributes.h:158