AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeStateMachineResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/states/SFN_EXPORTS.h>
12#include <aws/states/model/EncryptionConfiguration.h>
13#include <aws/states/model/LoggingConfiguration.h>
14#include <aws/states/model/StateMachineStatus.h>
15#include <aws/states/model/StateMachineType.h>
16#include <aws/states/model/TracingConfiguration.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace SFN {
30namespace Model {
32 public:
33 AWS_SFN_API DescribeStateMachineResult() = default;
36
38
45 inline const Aws::String& GetStateMachineArn() const { return m_stateMachineArn; }
46 template <typename StateMachineArnT = Aws::String>
47 void SetStateMachineArn(StateMachineArnT&& value) {
48 m_stateMachineArnHasBeenSet = true;
49 m_stateMachineArn = std::forward<StateMachineArnT>(value);
50 }
51 template <typename StateMachineArnT = Aws::String>
53 SetStateMachineArn(std::forward<StateMachineArnT>(value));
54 return *this;
55 }
57
59
70 inline const Aws::String& GetName() const { return m_name; }
71 template <typename NameT = Aws::String>
72 void SetName(NameT&& value) {
73 m_nameHasBeenSet = true;
74 m_name = std::forward<NameT>(value);
75 }
76 template <typename NameT = Aws::String>
78 SetName(std::forward<NameT>(value));
79 return *this;
80 }
82
84
87 inline StateMachineStatus GetStatus() const { return m_status; }
88 inline void SetStatus(StateMachineStatus value) {
89 m_statusHasBeenSet = true;
90 m_status = value;
91 }
93 SetStatus(value);
94 return *this;
95 }
97
99
105 inline const Aws::String& GetDefinition() const { return m_definition; }
106 template <typename DefinitionT = Aws::String>
107 void SetDefinition(DefinitionT&& value) {
108 m_definitionHasBeenSet = true;
109 m_definition = std::forward<DefinitionT>(value);
110 }
111 template <typename DefinitionT = Aws::String>
113 SetDefinition(std::forward<DefinitionT>(value));
114 return *this;
115 }
117
119
124 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
125 template <typename RoleArnT = Aws::String>
126 void SetRoleArn(RoleArnT&& value) {
127 m_roleArnHasBeenSet = true;
128 m_roleArn = std::forward<RoleArnT>(value);
129 }
130 template <typename RoleArnT = Aws::String>
132 SetRoleArn(std::forward<RoleArnT>(value));
133 return *this;
134 }
136
138
142 inline StateMachineType GetType() const { return m_type; }
143 inline void SetType(StateMachineType value) {
144 m_typeHasBeenSet = true;
145 m_type = value;
146 }
148 SetType(value);
149 return *this;
150 }
152
154
158 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
159 template <typename CreationDateT = Aws::Utils::DateTime>
160 void SetCreationDate(CreationDateT&& value) {
161 m_creationDateHasBeenSet = true;
162 m_creationDate = std::forward<CreationDateT>(value);
163 }
164 template <typename CreationDateT = Aws::Utils::DateTime>
166 SetCreationDate(std::forward<CreationDateT>(value));
167 return *this;
168 }
170
172
173 inline const LoggingConfiguration& GetLoggingConfiguration() const { return m_loggingConfiguration; }
174 template <typename LoggingConfigurationT = LoggingConfiguration>
175 void SetLoggingConfiguration(LoggingConfigurationT&& value) {
176 m_loggingConfigurationHasBeenSet = true;
177 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
178 }
179 template <typename LoggingConfigurationT = LoggingConfiguration>
180 DescribeStateMachineResult& WithLoggingConfiguration(LoggingConfigurationT&& value) {
181 SetLoggingConfiguration(std::forward<LoggingConfigurationT>(value));
182 return *this;
183 }
185
187
190 inline const TracingConfiguration& GetTracingConfiguration() const { return m_tracingConfiguration; }
191 template <typename TracingConfigurationT = TracingConfiguration>
192 void SetTracingConfiguration(TracingConfigurationT&& value) {
193 m_tracingConfigurationHasBeenSet = true;
194 m_tracingConfiguration = std::forward<TracingConfigurationT>(value);
195 }
196 template <typename TracingConfigurationT = TracingConfiguration>
197 DescribeStateMachineResult& WithTracingConfiguration(TracingConfigurationT&& value) {
198 SetTracingConfiguration(std::forward<TracingConfigurationT>(value));
199 return *this;
200 }
202
204
209 inline const Aws::String& GetLabel() const { return m_label; }
210 template <typename LabelT = Aws::String>
211 void SetLabel(LabelT&& value) {
212 m_labelHasBeenSet = true;
213 m_label = std::forward<LabelT>(value);
214 }
215 template <typename LabelT = Aws::String>
217 SetLabel(std::forward<LabelT>(value));
218 return *this;
219 }
221
223
229 inline const Aws::String& GetRevisionId() const { return m_revisionId; }
230 template <typename RevisionIdT = Aws::String>
231 void SetRevisionId(RevisionIdT&& value) {
232 m_revisionIdHasBeenSet = true;
233 m_revisionId = std::forward<RevisionIdT>(value);
234 }
235 template <typename RevisionIdT = Aws::String>
237 SetRevisionId(std::forward<RevisionIdT>(value));
238 return *this;
239 }
241
243
246 inline const Aws::String& GetDescription() const { return m_description; }
247 template <typename DescriptionT = Aws::String>
248 void SetDescription(DescriptionT&& value) {
249 m_descriptionHasBeenSet = true;
250 m_description = std::forward<DescriptionT>(value);
251 }
252 template <typename DescriptionT = Aws::String>
254 SetDescription(std::forward<DescriptionT>(value));
255 return *this;
256 }
258
260
263 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
264 template <typename EncryptionConfigurationT = EncryptionConfiguration>
265 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
266 m_encryptionConfigurationHasBeenSet = true;
267 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
268 }
269 template <typename EncryptionConfigurationT = EncryptionConfiguration>
270 DescribeStateMachineResult& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
271 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
272 return *this;
273 }
275
277
282 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetVariableReferences() const { return m_variableReferences; }
283 template <typename VariableReferencesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
284 void SetVariableReferences(VariableReferencesT&& value) {
285 m_variableReferencesHasBeenSet = true;
286 m_variableReferences = std::forward<VariableReferencesT>(value);
287 }
288 template <typename VariableReferencesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
290 SetVariableReferences(std::forward<VariableReferencesT>(value));
291 return *this;
292 }
293 template <typename VariableReferencesKeyT = Aws::String, typename VariableReferencesValueT = Aws::Vector<Aws::String>>
294 DescribeStateMachineResult& AddVariableReferences(VariableReferencesKeyT&& key, VariableReferencesValueT&& value) {
295 m_variableReferencesHasBeenSet = true;
296 m_variableReferences.emplace(std::forward<VariableReferencesKeyT>(key), std::forward<VariableReferencesValueT>(value));
297 return *this;
298 }
300
302
303 inline const Aws::String& GetRequestId() const { return m_requestId; }
304 template <typename RequestIdT = Aws::String>
305 void SetRequestId(RequestIdT&& value) {
306 m_requestIdHasBeenSet = true;
307 m_requestId = std::forward<RequestIdT>(value);
308 }
309 template <typename RequestIdT = Aws::String>
311 SetRequestId(std::forward<RequestIdT>(value));
312 return *this;
313 }
315 private:
316 Aws::String m_stateMachineArn;
317
318 Aws::String m_name;
319
321
322 Aws::String m_definition;
323
324 Aws::String m_roleArn;
325
327
328 Aws::Utils::DateTime m_creationDate{};
329
330 LoggingConfiguration m_loggingConfiguration;
331
332 TracingConfiguration m_tracingConfiguration;
333
334 Aws::String m_label;
335
336 Aws::String m_revisionId;
337
338 Aws::String m_description;
339
340 EncryptionConfiguration m_encryptionConfiguration;
341
343
344 Aws::String m_requestId;
345 bool m_stateMachineArnHasBeenSet = false;
346 bool m_nameHasBeenSet = false;
347 bool m_statusHasBeenSet = false;
348 bool m_definitionHasBeenSet = false;
349 bool m_roleArnHasBeenSet = false;
350 bool m_typeHasBeenSet = false;
351 bool m_creationDateHasBeenSet = false;
352 bool m_loggingConfigurationHasBeenSet = false;
353 bool m_tracingConfigurationHasBeenSet = false;
354 bool m_labelHasBeenSet = false;
355 bool m_revisionIdHasBeenSet = false;
356 bool m_descriptionHasBeenSet = false;
357 bool m_encryptionConfigurationHasBeenSet = false;
358 bool m_variableReferencesHasBeenSet = false;
359 bool m_requestIdHasBeenSet = false;
360};
361
362} // namespace Model
363} // namespace SFN
364} // namespace Aws
DescribeStateMachineResult & WithVariableReferences(VariableReferencesT &&value)
DescribeStateMachineResult & WithStateMachineArn(StateMachineArnT &&value)
void SetLoggingConfiguration(LoggingConfigurationT &&value)
DescribeStateMachineResult & WithLabel(LabelT &&value)
DescribeStateMachineResult & WithType(StateMachineType value)
void SetVariableReferences(VariableReferencesT &&value)
DescribeStateMachineResult & WithRoleArn(RoleArnT &&value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_SFN_API DescribeStateMachineResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeStateMachineResult & WithRevisionId(RevisionIdT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
DescribeStateMachineResult & AddVariableReferences(VariableReferencesKeyT &&key, VariableReferencesValueT &&value)
DescribeStateMachineResult & WithLoggingConfiguration(LoggingConfigurationT &&value)
DescribeStateMachineResult & WithCreationDate(CreationDateT &&value)
DescribeStateMachineResult & WithDefinition(DefinitionT &&value)
const TracingConfiguration & GetTracingConfiguration() const
void SetTracingConfiguration(TracingConfigurationT &&value)
DescribeStateMachineResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetVariableReferences() const
DescribeStateMachineResult & WithDescription(DescriptionT &&value)
DescribeStateMachineResult & WithStatus(StateMachineStatus value)
AWS_SFN_API DescribeStateMachineResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const EncryptionConfiguration & GetEncryptionConfiguration() const
const LoggingConfiguration & GetLoggingConfiguration() const
DescribeStateMachineResult & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
DescribeStateMachineResult & WithTracingConfiguration(TracingConfigurationT &&value)
AWS_SFN_API DescribeStateMachineResult()=default
DescribeStateMachineResult & WithName(NameT &&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