AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeStateMachineResult.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 template<typename RESULT_TYPE>
19 class AmazonWebServiceResult;
20 
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace SFN
29 {
30 namespace Model
31 {
33  {
34  public:
38 
39 
43  inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
44 
48  inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArn = value; }
49 
53  inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArn = std::move(value); }
54 
58  inline void SetStateMachineArn(const char* value) { m_stateMachineArn.assign(value); }
59 
63  inline DescribeStateMachineResult& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
64 
68  inline DescribeStateMachineResult& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
69 
73  inline DescribeStateMachineResult& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
74 
75 
85  inline const Aws::String& GetName() const{ return m_name; }
86 
96  inline void SetName(const Aws::String& value) { m_name = value; }
97 
107  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
108 
118  inline void SetName(const char* value) { m_name.assign(value); }
119 
129  inline DescribeStateMachineResult& WithName(const Aws::String& value) { SetName(value); return *this;}
130 
140  inline DescribeStateMachineResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
141 
151  inline DescribeStateMachineResult& WithName(const char* value) { SetName(value); return *this;}
152 
153 
157  inline const StateMachineStatus& GetStatus() const{ return m_status; }
158 
162  inline void SetStatus(const StateMachineStatus& value) { m_status = value; }
163 
167  inline void SetStatus(StateMachineStatus&& value) { m_status = std::move(value); }
168 
172  inline DescribeStateMachineResult& WithStatus(const StateMachineStatus& value) { SetStatus(value); return *this;}
173 
177  inline DescribeStateMachineResult& WithStatus(StateMachineStatus&& value) { SetStatus(std::move(value)); return *this;}
178 
179 
185  inline const Aws::String& GetDefinition() const{ return m_definition; }
186 
192  inline void SetDefinition(const Aws::String& value) { m_definition = value; }
193 
199  inline void SetDefinition(Aws::String&& value) { m_definition = std::move(value); }
200 
206  inline void SetDefinition(const char* value) { m_definition.assign(value); }
207 
213  inline DescribeStateMachineResult& WithDefinition(const Aws::String& value) { SetDefinition(value); return *this;}
214 
220  inline DescribeStateMachineResult& WithDefinition(Aws::String&& value) { SetDefinition(std::move(value)); return *this;}
221 
227  inline DescribeStateMachineResult& WithDefinition(const char* value) { SetDefinition(value); return *this;}
228 
229 
235  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
236 
242  inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
243 
249  inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
250 
256  inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
257 
263  inline DescribeStateMachineResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
264 
270  inline DescribeStateMachineResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
271 
277  inline DescribeStateMachineResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
278 
279 
284  inline const StateMachineType& GetType() const{ return m_type; }
285 
290  inline void SetType(const StateMachineType& value) { m_type = value; }
291 
296  inline void SetType(StateMachineType&& value) { m_type = std::move(value); }
297 
302  inline DescribeStateMachineResult& WithType(const StateMachineType& value) { SetType(value); return *this;}
303 
308  inline DescribeStateMachineResult& WithType(StateMachineType&& value) { SetType(std::move(value)); return *this;}
309 
310 
314  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
315 
319  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
320 
324  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
325 
329  inline DescribeStateMachineResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
330 
334  inline DescribeStateMachineResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
335 
336 
337 
338  inline const LoggingConfiguration& GetLoggingConfiguration() const{ return m_loggingConfiguration; }
339 
340 
341  inline void SetLoggingConfiguration(const LoggingConfiguration& value) { m_loggingConfiguration = value; }
342 
343 
344  inline void SetLoggingConfiguration(LoggingConfiguration&& value) { m_loggingConfiguration = std::move(value); }
345 
346 
347  inline DescribeStateMachineResult& WithLoggingConfiguration(const LoggingConfiguration& value) { SetLoggingConfiguration(value); return *this;}
348 
349 
350  inline DescribeStateMachineResult& WithLoggingConfiguration(LoggingConfiguration&& value) { SetLoggingConfiguration(std::move(value)); return *this;}
351 
352 
356  inline const TracingConfiguration& GetTracingConfiguration() const{ return m_tracingConfiguration; }
357 
361  inline void SetTracingConfiguration(const TracingConfiguration& value) { m_tracingConfiguration = value; }
362 
366  inline void SetTracingConfiguration(TracingConfiguration&& value) { m_tracingConfiguration = std::move(value); }
367 
371  inline DescribeStateMachineResult& WithTracingConfiguration(const TracingConfiguration& value) { SetTracingConfiguration(value); return *this;}
372 
376  inline DescribeStateMachineResult& WithTracingConfiguration(TracingConfiguration&& value) { SetTracingConfiguration(std::move(value)); return *this;}
377 
378  private:
379 
380  Aws::String m_stateMachineArn;
381 
382  Aws::String m_name;
383 
384  StateMachineStatus m_status;
385 
386  Aws::String m_definition;
387 
388  Aws::String m_roleArn;
389 
390  StateMachineType m_type;
391 
392  Aws::Utils::DateTime m_creationDate;
393 
394  LoggingConfiguration m_loggingConfiguration;
395 
396  TracingConfiguration m_tracingConfiguration;
397  };
398 
399 } // namespace Model
400 } // namespace SFN
401 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SFN::Model::DescribeStateMachineResult::WithType
DescribeStateMachineResult & WithType(const StateMachineType &value)
Definition: DescribeStateMachineResult.h:302
Aws::SFN::Model::DescribeStateMachineResult::SetDefinition
void SetDefinition(const Aws::String &value)
Definition: DescribeStateMachineResult.h:192
Aws::SFN::Model::DescribeStateMachineResult::WithCreationDate
DescribeStateMachineResult & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeStateMachineResult.h:334
Aws::SFN::Model::DescribeStateMachineResult
Definition: DescribeStateMachineResult.h:33
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
TracingConfiguration.h
Aws::SFN::Model::DescribeStateMachineResult::SetName
void SetName(Aws::String &&value)
Definition: DescribeStateMachineResult.h:107
Aws::SFN::Model::TracingConfiguration
Definition: TracingConfiguration.h:31
Aws::SFN::Model::DescribeStateMachineResult::WithRoleArn
DescribeStateMachineResult & WithRoleArn(Aws::String &&value)
Definition: DescribeStateMachineResult.h:270
Aws::SFN::Model::DescribeStateMachineResult::WithDefinition
DescribeStateMachineResult & WithDefinition(const char *value)
Definition: DescribeStateMachineResult.h:227
Aws::SFN::Model::DescribeStateMachineResult::SetStateMachineArn
void SetStateMachineArn(const Aws::String &value)
Definition: DescribeStateMachineResult.h:48
Aws::SFN::Model::DescribeStateMachineResult::GetType
const StateMachineType & GetType() const
Definition: DescribeStateMachineResult.h:284
Aws::SFN::Model::DescribeStateMachineResult::SetType
void SetType(const StateMachineType &value)
Definition: DescribeStateMachineResult.h:290
Aws::SFN::Model::DescribeStateMachineResult::SetDefinition
void SetDefinition(Aws::String &&value)
Definition: DescribeStateMachineResult.h:199
Aws::SFN::Model::DescribeStateMachineResult::WithStatus
DescribeStateMachineResult & WithStatus(StateMachineStatus &&value)
Definition: DescribeStateMachineResult.h:177
DateTime.h
Aws::SFN::Model::DescribeStateMachineResult::WithTracingConfiguration
DescribeStateMachineResult & WithTracingConfiguration(const TracingConfiguration &value)
Definition: DescribeStateMachineResult.h:371
Aws::SFN::Model::StateMachineStatus
StateMachineStatus
Definition: StateMachineStatus.h:17
Aws::SFN::Model::DescribeStateMachineResult::GetStateMachineArn
const Aws::String & GetStateMachineArn() const
Definition: DescribeStateMachineResult.h:43
Aws::SFN::Model::DescribeStateMachineResult::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeStateMachineResult.h:319
Aws::SFN::Model::DescribeStateMachineResult::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: DescribeStateMachineResult.h:314
Aws::SFN::Model::DescribeStateMachineResult::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: DescribeStateMachineResult.h:249
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
Aws::SFN::Model::DescribeStateMachineResult::GetName
const Aws::String & GetName() const
Definition: DescribeStateMachineResult.h:85
Aws::SFN::Model::DescribeStateMachineResult::WithStatus
DescribeStateMachineResult & WithStatus(const StateMachineStatus &value)
Definition: DescribeStateMachineResult.h:172
SFN_EXPORTS.h
LoggingConfiguration.h
Aws::SFN::Model::DescribeStateMachineResult::SetLoggingConfiguration
void SetLoggingConfiguration(const LoggingConfiguration &value)
Definition: DescribeStateMachineResult.h:341
Aws::SFN::Model::DescribeStateMachineResult::SetRoleArn
void SetRoleArn(const char *value)
Definition: DescribeStateMachineResult.h:256
Aws::SFN::Model::DescribeStateMachineResult::WithStateMachineArn
DescribeStateMachineResult & WithStateMachineArn(Aws::String &&value)
Definition: DescribeStateMachineResult.h:68
Aws::SFN::Model::DescribeStateMachineResult::WithRoleArn
DescribeStateMachineResult & WithRoleArn(const Aws::String &value)
Definition: DescribeStateMachineResult.h:263
Aws::SFN::Model::DescribeStateMachineResult::SetName
void SetName(const Aws::String &value)
Definition: DescribeStateMachineResult.h:96
Aws::SFN::Model::DescribeStateMachineResult::WithType
DescribeStateMachineResult & WithType(StateMachineType &&value)
Definition: DescribeStateMachineResult.h:308
Aws::SFN::Model::DescribeStateMachineResult::WithStateMachineArn
DescribeStateMachineResult & WithStateMachineArn(const Aws::String &value)
Definition: DescribeStateMachineResult.h:63
Aws::SFN::Model::DescribeStateMachineResult::DescribeStateMachineResult
DescribeStateMachineResult()
StateMachineStatus.h
Aws::SFN::Model::DescribeStateMachineResult::SetStatus
void SetStatus(StateMachineStatus &&value)
Definition: DescribeStateMachineResult.h:167
Aws::SFN::Model::DescribeStateMachineResult::WithName
DescribeStateMachineResult & WithName(const char *value)
Definition: DescribeStateMachineResult.h:151
Aws::SFN::Model::DescribeStateMachineResult::GetDefinition
const Aws::String & GetDefinition() const
Definition: DescribeStateMachineResult.h:185
Aws::SFN::Model::DescribeStateMachineResult::GetLoggingConfiguration
const LoggingConfiguration & GetLoggingConfiguration() const
Definition: DescribeStateMachineResult.h:338
Aws::SFN::Model::StateMachineType
StateMachineType
Definition: StateMachineType.h:17
Aws::SFN::Model::DescribeStateMachineResult::WithDefinition
DescribeStateMachineResult & WithDefinition(const Aws::String &value)
Definition: DescribeStateMachineResult.h:213
Aws::SFN::Model::DescribeStateMachineResult::WithName
DescribeStateMachineResult & WithName(Aws::String &&value)
Definition: DescribeStateMachineResult.h:140
Aws::SFN::Model::DescribeStateMachineResult::WithName
DescribeStateMachineResult & WithName(const Aws::String &value)
Definition: DescribeStateMachineResult.h:129
AWSString.h
Aws::SFN::Model::DescribeStateMachineResult::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: DescribeStateMachineResult.h:235
StateMachineType.h
Aws::SFN::Model::DescribeStateMachineResult::WithLoggingConfiguration
DescribeStateMachineResult & WithLoggingConfiguration(LoggingConfiguration &&value)
Definition: DescribeStateMachineResult.h:350
Aws::SFN::Model::DescribeStateMachineResult::SetTracingConfiguration
void SetTracingConfiguration(TracingConfiguration &&value)
Definition: DescribeStateMachineResult.h:366
Aws::SFN::Model::DescribeStateMachineResult::SetStatus
void SetStatus(const StateMachineStatus &value)
Definition: DescribeStateMachineResult.h:162
Aws::SFN::Model::DescribeStateMachineResult::WithStateMachineArn
DescribeStateMachineResult & WithStateMachineArn(const char *value)
Definition: DescribeStateMachineResult.h:73
Aws::SFN::Model::DescribeStateMachineResult::SetName
void SetName(const char *value)
Definition: DescribeStateMachineResult.h:118
Aws::SFN::Model::DescribeStateMachineResult::SetDefinition
void SetDefinition(const char *value)
Definition: DescribeStateMachineResult.h:206
Aws::SFN::Model::DescribeStateMachineResult::SetType
void SetType(StateMachineType &&value)
Definition: DescribeStateMachineResult.h:296
Aws::SFN::Model::DescribeStateMachineResult::GetStatus
const StateMachineStatus & GetStatus() const
Definition: DescribeStateMachineResult.h:157
Aws::SFN::Model::LoggingConfiguration
Definition: LoggingConfiguration.h:35
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::DescribeStateMachineResult::DescribeStateMachineResult
DescribeStateMachineResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SFN::Model::DescribeStateMachineResult::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeStateMachineResult.h:324
Aws::SFN::Model::DescribeStateMachineResult::WithLoggingConfiguration
DescribeStateMachineResult & WithLoggingConfiguration(const LoggingConfiguration &value)
Definition: DescribeStateMachineResult.h:347
Aws::SFN::Model::DescribeStateMachineResult::SetLoggingConfiguration
void SetLoggingConfiguration(LoggingConfiguration &&value)
Definition: DescribeStateMachineResult.h:344
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::DescribeStateMachineResult::WithDefinition
DescribeStateMachineResult & WithDefinition(Aws::String &&value)
Definition: DescribeStateMachineResult.h:220
Aws::SFN::Model::DescribeStateMachineResult::operator=
DescribeStateMachineResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SFN::Model::DescribeStateMachineResult::WithCreationDate
DescribeStateMachineResult & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeStateMachineResult.h:329
Aws::SFN::Model::DescribeStateMachineResult::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: DescribeStateMachineResult.h:242
Aws::SFN::Model::DescribeStateMachineResult::GetTracingConfiguration
const TracingConfiguration & GetTracingConfiguration() const
Definition: DescribeStateMachineResult.h:356
Aws::SFN::Model::DescribeStateMachineResult::SetTracingConfiguration
void SetTracingConfiguration(const TracingConfiguration &value)
Definition: DescribeStateMachineResult.h:361
Aws::SFN::Model::DescribeStateMachineResult::WithTracingConfiguration
DescribeStateMachineResult & WithTracingConfiguration(TracingConfiguration &&value)
Definition: DescribeStateMachineResult.h:376
Aws::SFN::Model::DescribeStateMachineResult::SetStateMachineArn
void SetStateMachineArn(const char *value)
Definition: DescribeStateMachineResult.h:58
Aws::SFN::Model::DescribeStateMachineResult::SetStateMachineArn
void SetStateMachineArn(Aws::String &&value)
Definition: DescribeStateMachineResult.h:53
Aws::SFN::Model::DescribeStateMachineResult::WithRoleArn
DescribeStateMachineResult & WithRoleArn(const char *value)
Definition: DescribeStateMachineResult.h:277