AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaskSucceededEventDetails.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/states/model/HistoryEventExecutionDataDetails.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SFN
23{
24namespace Model
25{
26
34 {
35 public:
40
41
43
46 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
47 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
48 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
49 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
50 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
51 inline TaskSucceededEventDetails& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
52 inline TaskSucceededEventDetails& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
53 inline TaskSucceededEventDetails& WithResourceType(const char* value) { SetResourceType(value); return *this;}
55
57
60 inline const Aws::String& GetResource() const{ return m_resource; }
61 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
62 inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; }
63 inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
64 inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); }
65 inline TaskSucceededEventDetails& WithResource(const Aws::String& value) { SetResource(value); return *this;}
66 inline TaskSucceededEventDetails& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
67 inline TaskSucceededEventDetails& WithResource(const char* value) { SetResource(value); return *this;}
69
71
76 inline const Aws::String& GetOutput() const{ return m_output; }
77 inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
78 inline void SetOutput(const Aws::String& value) { m_outputHasBeenSet = true; m_output = value; }
79 inline void SetOutput(Aws::String&& value) { m_outputHasBeenSet = true; m_output = std::move(value); }
80 inline void SetOutput(const char* value) { m_outputHasBeenSet = true; m_output.assign(value); }
81 inline TaskSucceededEventDetails& WithOutput(const Aws::String& value) { SetOutput(value); return *this;}
82 inline TaskSucceededEventDetails& WithOutput(Aws::String&& value) { SetOutput(std::move(value)); return *this;}
83 inline TaskSucceededEventDetails& WithOutput(const char* value) { SetOutput(value); return *this;}
85
87
90 inline const HistoryEventExecutionDataDetails& GetOutputDetails() const{ return m_outputDetails; }
91 inline bool OutputDetailsHasBeenSet() const { return m_outputDetailsHasBeenSet; }
92 inline void SetOutputDetails(const HistoryEventExecutionDataDetails& value) { m_outputDetailsHasBeenSet = true; m_outputDetails = value; }
93 inline void SetOutputDetails(HistoryEventExecutionDataDetails&& value) { m_outputDetailsHasBeenSet = true; m_outputDetails = std::move(value); }
97 private:
98
99 Aws::String m_resourceType;
100 bool m_resourceTypeHasBeenSet = false;
101
102 Aws::String m_resource;
103 bool m_resourceHasBeenSet = false;
104
105 Aws::String m_output;
106 bool m_outputHasBeenSet = false;
107
108 HistoryEventExecutionDataDetails m_outputDetails;
109 bool m_outputDetailsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace SFN
114} // namespace Aws
TaskSucceededEventDetails & WithOutput(Aws::String &&value)
TaskSucceededEventDetails & WithResourceType(Aws::String &&value)
AWS_SFN_API TaskSucceededEventDetails(Aws::Utils::Json::JsonView jsonValue)
TaskSucceededEventDetails & WithResource(Aws::String &&value)
TaskSucceededEventDetails & WithOutput(const Aws::String &value)
const HistoryEventExecutionDataDetails & GetOutputDetails() const
TaskSucceededEventDetails & WithOutputDetails(HistoryEventExecutionDataDetails &&value)
TaskSucceededEventDetails & WithResourceType(const char *value)
TaskSucceededEventDetails & WithResource(const Aws::String &value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
TaskSucceededEventDetails & WithResource(const char *value)
TaskSucceededEventDetails & WithResourceType(const Aws::String &value)
TaskSucceededEventDetails & WithOutputDetails(const HistoryEventExecutionDataDetails &value)
TaskSucceededEventDetails & WithOutput(const char *value)
AWS_SFN_API TaskSucceededEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOutputDetails(HistoryEventExecutionDataDetails &&value)
void SetOutputDetails(const HistoryEventExecutionDataDetails &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue