AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduleActivityTaskFailedEventAttributes.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/swf/model/ActivityType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/swf/model/ScheduleActivityTaskFailedCause.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SWF
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
48 inline const ActivityType& GetActivityType() const{ return m_activityType; }
49 inline bool ActivityTypeHasBeenSet() const { return m_activityTypeHasBeenSet; }
50 inline void SetActivityType(const ActivityType& value) { m_activityTypeHasBeenSet = true; m_activityType = value; }
51 inline void SetActivityType(ActivityType&& value) { m_activityTypeHasBeenSet = true; m_activityType = std::move(value); }
55
57
61 inline const Aws::String& GetActivityId() const{ return m_activityId; }
62 inline bool ActivityIdHasBeenSet() const { return m_activityIdHasBeenSet; }
63 inline void SetActivityId(const Aws::String& value) { m_activityIdHasBeenSet = true; m_activityId = value; }
64 inline void SetActivityId(Aws::String&& value) { m_activityIdHasBeenSet = true; m_activityId = std::move(value); }
65 inline void SetActivityId(const char* value) { m_activityIdHasBeenSet = true; m_activityId.assign(value); }
67 inline ScheduleActivityTaskFailedEventAttributes& WithActivityId(Aws::String&& value) { SetActivityId(std::move(value)); return *this;}
68 inline ScheduleActivityTaskFailedEventAttributes& WithActivityId(const char* value) { SetActivityId(value); return *this;}
70
72
81 inline const ScheduleActivityTaskFailedCause& GetCause() const{ return m_cause; }
82 inline bool CauseHasBeenSet() const { return m_causeHasBeenSet; }
83 inline void SetCause(const ScheduleActivityTaskFailedCause& value) { m_causeHasBeenSet = true; m_cause = value; }
84 inline void SetCause(ScheduleActivityTaskFailedCause&& value) { m_causeHasBeenSet = true; m_cause = std::move(value); }
88
90
96 inline long long GetDecisionTaskCompletedEventId() const{ return m_decisionTaskCompletedEventId; }
97 inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; }
98 inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
101 private:
102
103 ActivityType m_activityType;
104 bool m_activityTypeHasBeenSet = false;
105
106 Aws::String m_activityId;
107 bool m_activityIdHasBeenSet = false;
108
110 bool m_causeHasBeenSet = false;
111
112 long long m_decisionTaskCompletedEventId;
113 bool m_decisionTaskCompletedEventIdHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace SWF
118} // namespace Aws
ScheduleActivityTaskFailedEventAttributes & WithActivityType(const ActivityType &value)
ScheduleActivityTaskFailedEventAttributes & WithActivityId(const Aws::String &value)
ScheduleActivityTaskFailedEventAttributes & WithActivityType(ActivityType &&value)
ScheduleActivityTaskFailedEventAttributes & WithActivityId(Aws::String &&value)
AWS_SWF_API ScheduleActivityTaskFailedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleActivityTaskFailedEventAttributes & WithDecisionTaskCompletedEventId(long long value)
ScheduleActivityTaskFailedEventAttributes & WithActivityId(const char *value)
ScheduleActivityTaskFailedEventAttributes & WithCause(const ScheduleActivityTaskFailedCause &value)
ScheduleActivityTaskFailedEventAttributes & WithCause(ScheduleActivityTaskFailedCause &&value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SWF_API ScheduleActivityTaskFailedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue