AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ActivityTaskCanceledEventAttributes.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SWF
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SWF_API ActivityTaskCanceledEventAttributes() = default;
39
40
42
45 inline const Aws::String& GetDetails() const { return m_details; }
46 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
47 template<typename DetailsT = Aws::String>
48 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet = true; m_details = std::forward<DetailsT>(value); }
49 template<typename DetailsT = Aws::String>
50 ActivityTaskCanceledEventAttributes& WithDetails(DetailsT&& value) { SetDetails(std::forward<DetailsT>(value)); return *this;}
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) { m_scheduledEventIdHasBeenSet = true; m_scheduledEventId = value; }
62 inline ActivityTaskCanceledEventAttributes& WithScheduledEventId(long long value) { SetScheduledEventId(value); return *this;}
64
66
71 inline long long GetStartedEventId() const { return m_startedEventId; }
72 inline bool StartedEventIdHasBeenSet() const { return m_startedEventIdHasBeenSet; }
73 inline void SetStartedEventId(long long value) { m_startedEventIdHasBeenSet = true; m_startedEventId = value; }
74 inline ActivityTaskCanceledEventAttributes& WithStartedEventId(long long value) { SetStartedEventId(value); return *this;}
76
78
84 inline long long GetLatestCancelRequestedEventId() const { return m_latestCancelRequestedEventId; }
85 inline bool LatestCancelRequestedEventIdHasBeenSet() const { return m_latestCancelRequestedEventIdHasBeenSet; }
86 inline void SetLatestCancelRequestedEventId(long long value) { m_latestCancelRequestedEventIdHasBeenSet = true; m_latestCancelRequestedEventId = value; }
89 private:
90
91 Aws::String m_details;
92 bool m_detailsHasBeenSet = false;
93
94 long long m_scheduledEventId{0};
95 bool m_scheduledEventIdHasBeenSet = false;
96
97 long long m_startedEventId{0};
98 bool m_startedEventIdHasBeenSet = false;
99
100 long long m_latestCancelRequestedEventId{0};
101 bool m_latestCancelRequestedEventIdHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace SWF
106} // 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