AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
StateExitedEventDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/states/SFN_EXPORTS.h>
10#include <aws/states/model/AssignedVariablesDetails.h>
11#include <aws/states/model/HistoryEventExecutionDataDetails.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SFN {
23namespace Model {
24
32 public:
33 AWS_SFN_API StateExitedEventDetails() = default;
37
39
50 inline const Aws::String& GetName() const { return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 template <typename NameT = Aws::String>
53 void SetName(NameT&& value) {
54 m_nameHasBeenSet = true;
55 m_name = std::forward<NameT>(value);
56 }
57 template <typename NameT = Aws::String>
59 SetName(std::forward<NameT>(value));
60 return *this;
61 }
63
65
69 inline const Aws::String& GetOutput() const { return m_output; }
70 inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
71 template <typename OutputT = Aws::String>
72 void SetOutput(OutputT&& value) {
73 m_outputHasBeenSet = true;
74 m_output = std::forward<OutputT>(value);
75 }
76 template <typename OutputT = Aws::String>
78 SetOutput(std::forward<OutputT>(value));
79 return *this;
80 }
82
84
87 inline const HistoryEventExecutionDataDetails& GetOutputDetails() const { return m_outputDetails; }
88 inline bool OutputDetailsHasBeenSet() const { return m_outputDetailsHasBeenSet; }
89 template <typename OutputDetailsT = HistoryEventExecutionDataDetails>
90 void SetOutputDetails(OutputDetailsT&& value) {
91 m_outputDetailsHasBeenSet = true;
92 m_outputDetails = std::forward<OutputDetailsT>(value);
93 }
94 template <typename OutputDetailsT = HistoryEventExecutionDataDetails>
95 StateExitedEventDetails& WithOutputDetails(OutputDetailsT&& value) {
96 SetOutputDetails(std::forward<OutputDetailsT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::Map<Aws::String, Aws::String>& GetAssignedVariables() const { return m_assignedVariables; }
106 inline bool AssignedVariablesHasBeenSet() const { return m_assignedVariablesHasBeenSet; }
107 template <typename AssignedVariablesT = Aws::Map<Aws::String, Aws::String>>
108 void SetAssignedVariables(AssignedVariablesT&& value) {
109 m_assignedVariablesHasBeenSet = true;
110 m_assignedVariables = std::forward<AssignedVariablesT>(value);
111 }
112 template <typename AssignedVariablesT = Aws::Map<Aws::String, Aws::String>>
113 StateExitedEventDetails& WithAssignedVariables(AssignedVariablesT&& value) {
114 SetAssignedVariables(std::forward<AssignedVariablesT>(value));
115 return *this;
116 }
117 template <typename AssignedVariablesKeyT = Aws::String, typename AssignedVariablesValueT = Aws::String>
118 StateExitedEventDetails& AddAssignedVariables(AssignedVariablesKeyT&& key, AssignedVariablesValueT&& value) {
119 m_assignedVariablesHasBeenSet = true;
120 m_assignedVariables.emplace(std::forward<AssignedVariablesKeyT>(key), std::forward<AssignedVariablesValueT>(value));
121 return *this;
122 }
124
126
129 inline const AssignedVariablesDetails& GetAssignedVariablesDetails() const { return m_assignedVariablesDetails; }
130 inline bool AssignedVariablesDetailsHasBeenSet() const { return m_assignedVariablesDetailsHasBeenSet; }
131 template <typename AssignedVariablesDetailsT = AssignedVariablesDetails>
132 void SetAssignedVariablesDetails(AssignedVariablesDetailsT&& value) {
133 m_assignedVariablesDetailsHasBeenSet = true;
134 m_assignedVariablesDetails = std::forward<AssignedVariablesDetailsT>(value);
135 }
136 template <typename AssignedVariablesDetailsT = AssignedVariablesDetails>
137 StateExitedEventDetails& WithAssignedVariablesDetails(AssignedVariablesDetailsT&& value) {
138 SetAssignedVariablesDetails(std::forward<AssignedVariablesDetailsT>(value));
139 return *this;
140 }
142 private:
143 Aws::String m_name;
144
145 Aws::String m_output;
146
147 HistoryEventExecutionDataDetails m_outputDetails;
148
149 Aws::Map<Aws::String, Aws::String> m_assignedVariables;
150
151 AssignedVariablesDetails m_assignedVariablesDetails;
152 bool m_nameHasBeenSet = false;
153 bool m_outputHasBeenSet = false;
154 bool m_outputDetailsHasBeenSet = false;
155 bool m_assignedVariablesHasBeenSet = false;
156 bool m_assignedVariablesDetailsHasBeenSet = false;
157};
158
159} // namespace Model
160} // namespace SFN
161} // namespace Aws
AWS_SFN_API StateExitedEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
StateExitedEventDetails & WithOutput(OutputT &&value)
AWS_SFN_API StateExitedEventDetails()=default
void SetAssignedVariablesDetails(AssignedVariablesDetailsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAssignedVariables() const
AWS_SFN_API StateExitedEventDetails(Aws::Utils::Json::JsonView jsonValue)
StateExitedEventDetails & WithAssignedVariables(AssignedVariablesT &&value)
StateExitedEventDetails & AddAssignedVariables(AssignedVariablesKeyT &&key, AssignedVariablesValueT &&value)
StateExitedEventDetails & WithOutputDetails(OutputDetailsT &&value)
StateExitedEventDetails & WithName(NameT &&value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
const AssignedVariablesDetails & GetAssignedVariablesDetails() const
const HistoryEventExecutionDataDetails & GetOutputDetails() const
StateExitedEventDetails & WithAssignedVariablesDetails(AssignedVariablesDetailsT &&value)
void SetAssignedVariables(AssignedVariablesT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue