AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeSimulationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
11#include <aws/simspaceweaver/model/LiveSimulationState.h>
12#include <aws/simspaceweaver/model/LoggingConfiguration.h>
13#include <aws/simspaceweaver/model/S3Location.h>
14#include <aws/simspaceweaver/model/SimulationStatus.h>
15#include <aws/simspaceweaver/model/SimulationTargetStatus.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace SimSpaceWeaver {
29namespace Model {
31 public:
32 AWS_SIMSPACEWEAVER_API DescribeSimulationResult() = default;
35
37
44 inline const Aws::String& GetArn() const { return m_arn; }
45 template <typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) {
47 m_arnHasBeenSet = true;
48 m_arn = std::forward<ArnT>(value);
49 }
50 template <typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
63 template <typename CreationTimeT = Aws::Utils::DateTime>
64 void SetCreationTime(CreationTimeT&& value) {
65 m_creationTimeHasBeenSet = true;
66 m_creationTime = std::forward<CreationTimeT>(value);
67 }
68 template <typename CreationTimeT = Aws::Utils::DateTime>
70 SetCreationTime(std::forward<CreationTimeT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetDescription() const { return m_description; }
80 template <typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) {
82 m_descriptionHasBeenSet = true;
83 m_description = std::forward<DescriptionT>(value);
84 }
85 template <typename DescriptionT = Aws::String>
87 SetDescription(std::forward<DescriptionT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetExecutionId() const { return m_executionId; }
97 template <typename ExecutionIdT = Aws::String>
98 void SetExecutionId(ExecutionIdT&& value) {
99 m_executionIdHasBeenSet = true;
100 m_executionId = std::forward<ExecutionIdT>(value);
101 }
102 template <typename ExecutionIdT = Aws::String>
104 SetExecutionId(std::forward<ExecutionIdT>(value));
105 return *this;
106 }
108
110
114 inline const LiveSimulationState& GetLiveSimulationState() const { return m_liveSimulationState; }
115 template <typename LiveSimulationStateT = LiveSimulationState>
116 void SetLiveSimulationState(LiveSimulationStateT&& value) {
117 m_liveSimulationStateHasBeenSet = true;
118 m_liveSimulationState = std::forward<LiveSimulationStateT>(value);
119 }
120 template <typename LiveSimulationStateT = LiveSimulationState>
121 DescribeSimulationResult& WithLiveSimulationState(LiveSimulationStateT&& value) {
122 SetLiveSimulationState(std::forward<LiveSimulationStateT>(value));
123 return *this;
124 }
126
128
132 inline const LoggingConfiguration& GetLoggingConfiguration() const { return m_loggingConfiguration; }
133 template <typename LoggingConfigurationT = LoggingConfiguration>
134 void SetLoggingConfiguration(LoggingConfigurationT&& value) {
135 m_loggingConfigurationHasBeenSet = true;
136 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
137 }
138 template <typename LoggingConfigurationT = LoggingConfiguration>
139 DescribeSimulationResult& WithLoggingConfiguration(LoggingConfigurationT&& value) {
140 SetLoggingConfiguration(std::forward<LoggingConfigurationT>(value));
141 return *this;
142 }
144
146
154 inline const Aws::String& GetMaximumDuration() const { return m_maximumDuration; }
155 template <typename MaximumDurationT = Aws::String>
156 void SetMaximumDuration(MaximumDurationT&& value) {
157 m_maximumDurationHasBeenSet = true;
158 m_maximumDuration = std::forward<MaximumDurationT>(value);
159 }
160 template <typename MaximumDurationT = Aws::String>
162 SetMaximumDuration(std::forward<MaximumDurationT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::String& GetName() const { return m_name; }
172 template <typename NameT = Aws::String>
173 void SetName(NameT&& value) {
174 m_nameHasBeenSet = true;
175 m_name = std::forward<NameT>(value);
176 }
177 template <typename NameT = Aws::String>
179 SetName(std::forward<NameT>(value));
180 return *this;
181 }
183
185
195 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
196 template <typename RoleArnT = Aws::String>
197 void SetRoleArn(RoleArnT&& value) {
198 m_roleArnHasBeenSet = true;
199 m_roleArn = std::forward<RoleArnT>(value);
200 }
201 template <typename RoleArnT = Aws::String>
203 SetRoleArn(std::forward<RoleArnT>(value));
204 return *this;
205 }
207
209
215 inline const S3Location& GetSchemaS3Location() const { return m_schemaS3Location; }
216 template <typename SchemaS3LocationT = S3Location>
217 void SetSchemaS3Location(SchemaS3LocationT&& value) {
218 m_schemaS3LocationHasBeenSet = true;
219 m_schemaS3Location = std::forward<SchemaS3LocationT>(value);
220 }
221 template <typename SchemaS3LocationT = S3Location>
222 DescribeSimulationResult& WithSchemaS3Location(SchemaS3LocationT&& value) {
223 SetSchemaS3Location(std::forward<SchemaS3LocationT>(value));
224 return *this;
225 }
227
229
230 inline const S3Location& GetSnapshotS3Location() const { return m_snapshotS3Location; }
231 template <typename SnapshotS3LocationT = S3Location>
232 void SetSnapshotS3Location(SnapshotS3LocationT&& value) {
233 m_snapshotS3LocationHasBeenSet = true;
234 m_snapshotS3Location = std::forward<SnapshotS3LocationT>(value);
235 }
236 template <typename SnapshotS3LocationT = S3Location>
237 DescribeSimulationResult& WithSnapshotS3Location(SnapshotS3LocationT&& value) {
238 SetSnapshotS3Location(std::forward<SnapshotS3LocationT>(value));
239 return *this;
240 }
242
244
248 inline const Aws::String& GetStartError() const { return m_startError; }
249 template <typename StartErrorT = Aws::String>
250 void SetStartError(StartErrorT&& value) {
251 m_startErrorHasBeenSet = true;
252 m_startError = std::forward<StartErrorT>(value);
253 }
254 template <typename StartErrorT = Aws::String>
256 SetStartError(std::forward<StartErrorT>(value));
257 return *this;
258 }
260
262
265 inline SimulationStatus GetStatus() const { return m_status; }
266 inline void SetStatus(SimulationStatus value) {
267 m_statusHasBeenSet = true;
268 m_status = value;
269 }
271 SetStatus(value);
272 return *this;
273 }
275
277
280 inline SimulationTargetStatus GetTargetStatus() const { return m_targetStatus; }
282 m_targetStatusHasBeenSet = true;
283 m_targetStatus = value;
284 }
286 SetTargetStatus(value);
287 return *this;
288 }
290
292
293 inline const Aws::String& GetRequestId() const { return m_requestId; }
294 template <typename RequestIdT = Aws::String>
295 void SetRequestId(RequestIdT&& value) {
296 m_requestIdHasBeenSet = true;
297 m_requestId = std::forward<RequestIdT>(value);
298 }
299 template <typename RequestIdT = Aws::String>
301 SetRequestId(std::forward<RequestIdT>(value));
302 return *this;
303 }
305 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
306
307 private:
308 Aws::String m_arn;
309
310 Aws::Utils::DateTime m_creationTime{};
311
312 Aws::String m_description;
313
314 Aws::String m_executionId;
315
316 LiveSimulationState m_liveSimulationState;
317
318 LoggingConfiguration m_loggingConfiguration;
319
320 Aws::String m_maximumDuration;
321
322 Aws::String m_name;
323
324 Aws::String m_roleArn;
325
326 S3Location m_schemaS3Location;
327
328 S3Location m_snapshotS3Location;
329
330 Aws::String m_startError;
331
333
335
336 Aws::String m_requestId;
337 Aws::Http::HttpResponseCode m_HttpResponseCode;
338 bool m_arnHasBeenSet = false;
339 bool m_creationTimeHasBeenSet = false;
340 bool m_descriptionHasBeenSet = false;
341 bool m_executionIdHasBeenSet = false;
342 bool m_liveSimulationStateHasBeenSet = false;
343 bool m_loggingConfigurationHasBeenSet = false;
344 bool m_maximumDurationHasBeenSet = false;
345 bool m_nameHasBeenSet = false;
346 bool m_roleArnHasBeenSet = false;
347 bool m_schemaS3LocationHasBeenSet = false;
348 bool m_snapshotS3LocationHasBeenSet = false;
349 bool m_startErrorHasBeenSet = false;
350 bool m_statusHasBeenSet = false;
351 bool m_targetStatusHasBeenSet = false;
352 bool m_requestIdHasBeenSet = false;
353};
354
355} // namespace Model
356} // namespace SimSpaceWeaver
357} // namespace Aws
DescribeSimulationResult & WithDescription(DescriptionT &&value)
DescribeSimulationResult & WithRequestId(RequestIdT &&value)
DescribeSimulationResult & WithMaximumDuration(MaximumDurationT &&value)
DescribeSimulationResult & WithStartError(StartErrorT &&value)
DescribeSimulationResult & WithLoggingConfiguration(LoggingConfigurationT &&value)
AWS_SIMSPACEWEAVER_API DescribeSimulationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSimulationResult & WithExecutionId(ExecutionIdT &&value)
DescribeSimulationResult & WithTargetStatus(SimulationTargetStatus value)
AWS_SIMSPACEWEAVER_API DescribeSimulationResult()=default
DescribeSimulationResult & WithStatus(SimulationStatus value)
DescribeSimulationResult & WithSchemaS3Location(SchemaS3LocationT &&value)
DescribeSimulationResult & WithRoleArn(RoleArnT &&value)
DescribeSimulationResult & WithCreationTime(CreationTimeT &&value)
DescribeSimulationResult & WithSnapshotS3Location(SnapshotS3LocationT &&value)
AWS_SIMSPACEWEAVER_API DescribeSimulationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSimulationResult & WithLiveSimulationState(LiveSimulationStateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue