AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeStateMachineResult.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/StateMachineStatus.h>
10#include <aws/states/model/StateMachineType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/states/model/LoggingConfiguration.h>
13#include <aws/states/model/TracingConfiguration.h>
14#include <aws/states/model/EncryptionConfiguration.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace SFN
30{
31namespace Model
32{
34 {
35 public:
39
40
42
49 inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
50 inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArn = value; }
51 inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArn = std::move(value); }
52 inline void SetStateMachineArn(const char* value) { m_stateMachineArn.assign(value); }
54 inline DescribeStateMachineResult& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
55 inline DescribeStateMachineResult& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
57
59
68 inline const Aws::String& GetName() const{ return m_name; }
69 inline void SetName(const Aws::String& value) { m_name = value; }
70 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
71 inline void SetName(const char* value) { m_name.assign(value); }
72 inline DescribeStateMachineResult& WithName(const Aws::String& value) { SetName(value); return *this;}
73 inline DescribeStateMachineResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 inline DescribeStateMachineResult& WithName(const char* value) { SetName(value); return *this;}
76
78
81 inline const StateMachineStatus& GetStatus() const{ return m_status; }
82 inline void SetStatus(const StateMachineStatus& value) { m_status = value; }
83 inline void SetStatus(StateMachineStatus&& value) { m_status = std::move(value); }
84 inline DescribeStateMachineResult& WithStatus(const StateMachineStatus& value) { SetStatus(value); return *this;}
85 inline DescribeStateMachineResult& WithStatus(StateMachineStatus&& value) { SetStatus(std::move(value)); return *this;}
87
89
95 inline const Aws::String& GetDefinition() const{ return m_definition; }
96 inline void SetDefinition(const Aws::String& value) { m_definition = value; }
97 inline void SetDefinition(Aws::String&& value) { m_definition = std::move(value); }
98 inline void SetDefinition(const char* value) { m_definition.assign(value); }
99 inline DescribeStateMachineResult& WithDefinition(const Aws::String& value) { SetDefinition(value); return *this;}
100 inline DescribeStateMachineResult& WithDefinition(Aws::String&& value) { SetDefinition(std::move(value)); return *this;}
101 inline DescribeStateMachineResult& WithDefinition(const char* value) { SetDefinition(value); return *this;}
103
105
110 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
111 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
112 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
113 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
114 inline DescribeStateMachineResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
115 inline DescribeStateMachineResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
116 inline DescribeStateMachineResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
118
120
124 inline const StateMachineType& GetType() const{ return m_type; }
125 inline void SetType(const StateMachineType& value) { m_type = value; }
126 inline void SetType(StateMachineType&& value) { m_type = std::move(value); }
127 inline DescribeStateMachineResult& WithType(const StateMachineType& value) { SetType(value); return *this;}
128 inline DescribeStateMachineResult& WithType(StateMachineType&& value) { SetType(std::move(value)); return *this;}
130
132
136 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
137 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
138 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
140 inline DescribeStateMachineResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
142
144
145 inline const LoggingConfiguration& GetLoggingConfiguration() const{ return m_loggingConfiguration; }
146 inline void SetLoggingConfiguration(const LoggingConfiguration& value) { m_loggingConfiguration = value; }
147 inline void SetLoggingConfiguration(LoggingConfiguration&& value) { m_loggingConfiguration = std::move(value); }
151
153
156 inline const TracingConfiguration& GetTracingConfiguration() const{ return m_tracingConfiguration; }
157 inline void SetTracingConfiguration(const TracingConfiguration& value) { m_tracingConfiguration = value; }
158 inline void SetTracingConfiguration(TracingConfiguration&& value) { m_tracingConfiguration = std::move(value); }
162
164
169 inline const Aws::String& GetLabel() const{ return m_label; }
170 inline void SetLabel(const Aws::String& value) { m_label = value; }
171 inline void SetLabel(Aws::String&& value) { m_label = std::move(value); }
172 inline void SetLabel(const char* value) { m_label.assign(value); }
173 inline DescribeStateMachineResult& WithLabel(const Aws::String& value) { SetLabel(value); return *this;}
174 inline DescribeStateMachineResult& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;}
175 inline DescribeStateMachineResult& WithLabel(const char* value) { SetLabel(value); return *this;}
177
179
185 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
186 inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
187 inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
188 inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
189 inline DescribeStateMachineResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
190 inline DescribeStateMachineResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
191 inline DescribeStateMachineResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
193
195
198 inline const Aws::String& GetDescription() const{ return m_description; }
199 inline void SetDescription(const Aws::String& value) { m_description = value; }
200 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
201 inline void SetDescription(const char* value) { m_description.assign(value); }
202 inline DescribeStateMachineResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
203 inline DescribeStateMachineResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
204 inline DescribeStateMachineResult& WithDescription(const char* value) { SetDescription(value); return *this;}
206
208
211 inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
212 inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfiguration = value; }
213 inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfiguration = std::move(value); }
217
219
220 inline const Aws::String& GetRequestId() const{ return m_requestId; }
221 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
222 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
223 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
224 inline DescribeStateMachineResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
225 inline DescribeStateMachineResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
226 inline DescribeStateMachineResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
228 private:
229
230 Aws::String m_stateMachineArn;
231
232 Aws::String m_name;
233
234 StateMachineStatus m_status;
235
236 Aws::String m_definition;
237
238 Aws::String m_roleArn;
239
240 StateMachineType m_type;
241
242 Aws::Utils::DateTime m_creationDate;
243
244 LoggingConfiguration m_loggingConfiguration;
245
246 TracingConfiguration m_tracingConfiguration;
247
248 Aws::String m_label;
249
250 Aws::String m_revisionId;
251
252 Aws::String m_description;
253
254 EncryptionConfiguration m_encryptionConfiguration;
255
256 Aws::String m_requestId;
257 };
258
259} // namespace Model
260} // namespace SFN
261} // namespace Aws
DescribeStateMachineResult & WithCreationDate(const Aws::Utils::DateTime &value)
DescribeStateMachineResult & WithRevisionId(Aws::String &&value)
DescribeStateMachineResult & WithName(const Aws::String &value)
void SetTracingConfiguration(const TracingConfiguration &value)
DescribeStateMachineResult & WithRevisionId(const Aws::String &value)
DescribeStateMachineResult & WithDefinition(Aws::String &&value)
DescribeStateMachineResult & WithRequestId(const Aws::String &value)
DescribeStateMachineResult & WithLoggingConfiguration(const LoggingConfiguration &value)
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
DescribeStateMachineResult & WithDescription(Aws::String &&value)
DescribeStateMachineResult & WithRoleArn(const char *value)
DescribeStateMachineResult & WithRequestId(const char *value)
void SetLoggingConfiguration(const LoggingConfiguration &value)
DescribeStateMachineResult & WithType(const StateMachineType &value)
AWS_SFN_API DescribeStateMachineResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeStateMachineResult & WithDescription(const char *value)
DescribeStateMachineResult & WithName(const char *value)
const Aws::Utils::DateTime & GetCreationDate() const
DescribeStateMachineResult & WithDefinition(const char *value)
void SetTracingConfiguration(TracingConfiguration &&value)
DescribeStateMachineResult & WithLabel(const char *value)
DescribeStateMachineResult & WithRoleArn(Aws::String &&value)
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
DescribeStateMachineResult & WithStatus(StateMachineStatus &&value)
DescribeStateMachineResult & WithStateMachineArn(const Aws::String &value)
DescribeStateMachineResult & WithLabel(const Aws::String &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
DescribeStateMachineResult & WithCreationDate(Aws::Utils::DateTime &&value)
DescribeStateMachineResult & WithType(StateMachineType &&value)
DescribeStateMachineResult & WithEncryptionConfiguration(EncryptionConfiguration &&value)
const TracingConfiguration & GetTracingConfiguration() const
DescribeStateMachineResult & WithName(Aws::String &&value)
void SetLoggingConfiguration(LoggingConfiguration &&value)
DescribeStateMachineResult & WithEncryptionConfiguration(const EncryptionConfiguration &value)
DescribeStateMachineResult & WithTracingConfiguration(TracingConfiguration &&value)
DescribeStateMachineResult & WithStatus(const StateMachineStatus &value)
AWS_SFN_API DescribeStateMachineResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeStateMachineResult & WithRequestId(Aws::String &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
const LoggingConfiguration & GetLoggingConfiguration() const
DescribeStateMachineResult & WithStateMachineArn(const char *value)
DescribeStateMachineResult & WithRoleArn(const Aws::String &value)
DescribeStateMachineResult & WithDescription(const Aws::String &value)
DescribeStateMachineResult & WithStateMachineArn(Aws::String &&value)
void SetStatus(const StateMachineStatus &value)
DescribeStateMachineResult & WithLoggingConfiguration(LoggingConfiguration &&value)
DescribeStateMachineResult & WithTracingConfiguration(const TracingConfiguration &value)
DescribeStateMachineResult & WithRevisionId(const char *value)
DescribeStateMachineResult & WithDefinition(const Aws::String &value)
DescribeStateMachineResult & WithLabel(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue