AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
39
40
42
45 inline const Aws::String& GetDetails() const{ return m_details; }
46 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
47 inline void SetDetails(const Aws::String& value) { m_detailsHasBeenSet = true; m_details = value; }
48 inline void SetDetails(Aws::String&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
49 inline void SetDetails(const char* value) { m_detailsHasBeenSet = true; m_details.assign(value); }
50 inline ActivityTaskCanceledEventAttributes& WithDetails(const Aws::String& value) { SetDetails(value); return *this;}
51 inline ActivityTaskCanceledEventAttributes& WithDetails(Aws::String&& value) { SetDetails(std::move(value)); return *this;}
52 inline ActivityTaskCanceledEventAttributes& WithDetails(const char* value) { SetDetails(value); return *this;}
54
56
61 inline long long GetScheduledEventId() const{ return m_scheduledEventId; }
62 inline bool ScheduledEventIdHasBeenSet() const { return m_scheduledEventIdHasBeenSet; }
63 inline void SetScheduledEventId(long long value) { m_scheduledEventIdHasBeenSet = true; m_scheduledEventId = value; }
64 inline ActivityTaskCanceledEventAttributes& WithScheduledEventId(long long value) { SetScheduledEventId(value); return *this;}
66
68
73 inline long long GetStartedEventId() const{ return m_startedEventId; }
74 inline bool StartedEventIdHasBeenSet() const { return m_startedEventIdHasBeenSet; }
75 inline void SetStartedEventId(long long value) { m_startedEventIdHasBeenSet = true; m_startedEventId = value; }
76 inline ActivityTaskCanceledEventAttributes& WithStartedEventId(long long value) { SetStartedEventId(value); return *this;}
78
80
86 inline long long GetLatestCancelRequestedEventId() const{ return m_latestCancelRequestedEventId; }
87 inline bool LatestCancelRequestedEventIdHasBeenSet() const { return m_latestCancelRequestedEventIdHasBeenSet; }
88 inline void SetLatestCancelRequestedEventId(long long value) { m_latestCancelRequestedEventIdHasBeenSet = true; m_latestCancelRequestedEventId = value; }
91 private:
92
93 Aws::String m_details;
94 bool m_detailsHasBeenSet = false;
95
96 long long m_scheduledEventId;
97 bool m_scheduledEventIdHasBeenSet = false;
98
99 long long m_startedEventId;
100 bool m_startedEventIdHasBeenSet = false;
101
102 long long m_latestCancelRequestedEventId;
103 bool m_latestCancelRequestedEventIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SWF
108} // namespace Aws
ActivityTaskCanceledEventAttributes & WithDetails(const char *value)
ActivityTaskCanceledEventAttributes & WithStartedEventId(long long value)
ActivityTaskCanceledEventAttributes & WithScheduledEventId(long long value)
AWS_SWF_API ActivityTaskCanceledEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
ActivityTaskCanceledEventAttributes & WithDetails(Aws::String &&value)
AWS_SWF_API ActivityTaskCanceledEventAttributes(Aws::Utils::Json::JsonView jsonValue)
ActivityTaskCanceledEventAttributes & WithDetails(const Aws::String &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