AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
TaskSucceededEventDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/states/SFN_EXPORTS.h>
9#include <aws/states/model/HistoryEventExecutionDataDetails.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SFN {
21namespace Model {
22
30 public:
31 AWS_SFN_API TaskSucceededEventDetails() = default;
35
37
40 inline const Aws::String& GetResourceType() const { return m_resourceType; }
41 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
42 template <typename ResourceTypeT = Aws::String>
43 void SetResourceType(ResourceTypeT&& value) {
44 m_resourceTypeHasBeenSet = true;
45 m_resourceType = std::forward<ResourceTypeT>(value);
46 }
47 template <typename ResourceTypeT = Aws::String>
49 SetResourceType(std::forward<ResourceTypeT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetResource() const { return m_resource; }
59 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
60 template <typename ResourceT = Aws::String>
61 void SetResource(ResourceT&& value) {
62 m_resourceHasBeenSet = true;
63 m_resource = std::forward<ResourceT>(value);
64 }
65 template <typename ResourceT = Aws::String>
67 SetResource(std::forward<ResourceT>(value));
68 return *this;
69 }
71
73
78 inline const Aws::String& GetOutput() const { return m_output; }
79 inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
80 template <typename OutputT = Aws::String>
81 void SetOutput(OutputT&& value) {
82 m_outputHasBeenSet = true;
83 m_output = std::forward<OutputT>(value);
84 }
85 template <typename OutputT = Aws::String>
87 SetOutput(std::forward<OutputT>(value));
88 return *this;
89 }
91
93
96 inline const HistoryEventExecutionDataDetails& GetOutputDetails() const { return m_outputDetails; }
97 inline bool OutputDetailsHasBeenSet() const { return m_outputDetailsHasBeenSet; }
98 template <typename OutputDetailsT = HistoryEventExecutionDataDetails>
99 void SetOutputDetails(OutputDetailsT&& value) {
100 m_outputDetailsHasBeenSet = true;
101 m_outputDetails = std::forward<OutputDetailsT>(value);
102 }
103 template <typename OutputDetailsT = HistoryEventExecutionDataDetails>
105 SetOutputDetails(std::forward<OutputDetailsT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_resourceType;
111
112 Aws::String m_resource;
113
114 Aws::String m_output;
115
116 HistoryEventExecutionDataDetails m_outputDetails;
117 bool m_resourceTypeHasBeenSet = false;
118 bool m_resourceHasBeenSet = false;
119 bool m_outputHasBeenSet = false;
120 bool m_outputDetailsHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace SFN
125} // namespace Aws
AWS_SFN_API TaskSucceededEventDetails()=default
AWS_SFN_API TaskSucceededEventDetails(Aws::Utils::Json::JsonView jsonValue)
TaskSucceededEventDetails & WithResourceType(ResourceTypeT &&value)
TaskSucceededEventDetails & WithOutput(OutputT &&value)
TaskSucceededEventDetails & WithOutputDetails(OutputDetailsT &&value)
const HistoryEventExecutionDataDetails & GetOutputDetails() const
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SFN_API TaskSucceededEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
TaskSucceededEventDetails & WithResource(ResourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue