AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
ActivityTaskCanceledEventAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/swf/SWF_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SWF {
20namespace Model {
21
29 public:
30 AWS_SWF_API ActivityTaskCanceledEventAttributes() = default;
34
36
39 inline const Aws::String& GetDetails() const { return m_details; }
40 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
41 template <typename DetailsT = Aws::String>
42 void SetDetails(DetailsT&& value) {
43 m_detailsHasBeenSet = true;
44 m_details = std::forward<DetailsT>(value);
45 }
46 template <typename DetailsT = Aws::String>
48 SetDetails(std::forward<DetailsT>(value));
49 return *this;
50 }
52
54
59 inline long long GetScheduledEventId() const { return m_scheduledEventId; }
60 inline bool ScheduledEventIdHasBeenSet() const { return m_scheduledEventIdHasBeenSet; }
61 inline void SetScheduledEventId(long long value) {
62 m_scheduledEventIdHasBeenSet = true;
63 m_scheduledEventId = value;
64 }
67 return *this;
68 }
70
72
77 inline long long GetStartedEventId() const { return m_startedEventId; }
78 inline bool StartedEventIdHasBeenSet() const { return m_startedEventIdHasBeenSet; }
79 inline void SetStartedEventId(long long value) {
80 m_startedEventIdHasBeenSet = true;
81 m_startedEventId = value;
82 }
84 SetStartedEventId(value);
85 return *this;
86 }
88
90
96 inline long long GetLatestCancelRequestedEventId() const { return m_latestCancelRequestedEventId; }
97 inline bool LatestCancelRequestedEventIdHasBeenSet() const { return m_latestCancelRequestedEventIdHasBeenSet; }
98 inline void SetLatestCancelRequestedEventId(long long value) {
99 m_latestCancelRequestedEventIdHasBeenSet = true;
100 m_latestCancelRequestedEventId = value;
101 }
104 return *this;
105 }
107 private:
108 Aws::String m_details;
109
110 long long m_scheduledEventId{0};
111
112 long long m_startedEventId{0};
113
114 long long m_latestCancelRequestedEventId{0};
115 bool m_detailsHasBeenSet = false;
116 bool m_scheduledEventIdHasBeenSet = false;
117 bool m_startedEventIdHasBeenSet = false;
118 bool m_latestCancelRequestedEventIdHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace SWF
123} // namespace Aws
ActivityTaskCanceledEventAttributes & WithStartedEventId(long long value)
ActivityTaskCanceledEventAttributes & WithScheduledEventId(long long value)
AWS_SWF_API ActivityTaskCanceledEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API ActivityTaskCanceledEventAttributes(Aws::Utils::Json::JsonView jsonValue)
ActivityTaskCanceledEventAttributes & WithDetails(DetailsT &&value)
ActivityTaskCanceledEventAttributes & WithLatestCancelRequestedEventId(long long value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue