AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActivityTaskCompletedEventAttributes.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& GetResult() const{ return m_result; }
46 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
47 inline void SetResult(const Aws::String& value) { m_resultHasBeenSet = true; m_result = value; }
48 inline void SetResult(Aws::String&& value) { m_resultHasBeenSet = true; m_result = std::move(value); }
49 inline void SetResult(const char* value) { m_resultHasBeenSet = true; m_result.assign(value); }
50 inline ActivityTaskCompletedEventAttributes& WithResult(const Aws::String& value) { SetResult(value); return *this;}
51 inline ActivityTaskCompletedEventAttributes& WithResult(Aws::String&& value) { SetResult(std::move(value)); return *this;}
52 inline ActivityTaskCompletedEventAttributes& WithResult(const char* value) { SetResult(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 ActivityTaskCompletedEventAttributes& 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 ActivityTaskCompletedEventAttributes& WithStartedEventId(long long value) { SetStartedEventId(value); return *this;}
78 private:
79
80 Aws::String m_result;
81 bool m_resultHasBeenSet = false;
82
83 long long m_scheduledEventId;
84 bool m_scheduledEventIdHasBeenSet = false;
85
86 long long m_startedEventId;
87 bool m_startedEventIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SWF
92} // namespace Aws
ActivityTaskCompletedEventAttributes & WithScheduledEventId(long long value)
ActivityTaskCompletedEventAttributes & WithResult(Aws::String &&value)
ActivityTaskCompletedEventAttributes & WithStartedEventId(long long value)
ActivityTaskCompletedEventAttributes & WithResult(const Aws::String &value)
AWS_SWF_API ActivityTaskCompletedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API ActivityTaskCompletedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
ActivityTaskCompletedEventAttributes & WithResult(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue