AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DescribeSimulationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
10#include <aws/simspaceweaver/model/LiveSimulationState.h>
11#include <aws/simspaceweaver/model/LoggingConfiguration.h>
12#include <aws/simspaceweaver/model/S3Location.h>
13#include <aws/simspaceweaver/model/SimulationStatus.h>
14#include <aws/simspaceweaver/model/SimulationTargetStatus.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SimSpaceWeaver {
28namespace Model {
30 public:
31 AWS_SIMSPACEWEAVER_API DescribeSimulationResult() = default;
34
36
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template <typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) {
46 m_arnHasBeenSet = true;
47 m_arn = std::forward<ArnT>(value);
48 }
49 template <typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
62 template <typename CreationTimeT = Aws::Utils::DateTime>
63 void SetCreationTime(CreationTimeT&& value) {
64 m_creationTimeHasBeenSet = true;
65 m_creationTime = std::forward<CreationTimeT>(value);
66 }
67 template <typename CreationTimeT = Aws::Utils::DateTime>
69 SetCreationTime(std::forward<CreationTimeT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetDescription() const { return m_description; }
79 template <typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) {
81 m_descriptionHasBeenSet = true;
82 m_description = std::forward<DescriptionT>(value);
83 }
84 template <typename DescriptionT = Aws::String>
86 SetDescription(std::forward<DescriptionT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetExecutionId() const { return m_executionId; }
96 template <typename ExecutionIdT = Aws::String>
97 void SetExecutionId(ExecutionIdT&& value) {
98 m_executionIdHasBeenSet = true;
99 m_executionId = std::forward<ExecutionIdT>(value);
100 }
101 template <typename ExecutionIdT = Aws::String>
103 SetExecutionId(std::forward<ExecutionIdT>(value));
104 return *this;
105 }
107
109
113 inline const LiveSimulationState& GetLiveSimulationState() const { return m_liveSimulationState; }
114 template <typename LiveSimulationStateT = LiveSimulationState>
115 void SetLiveSimulationState(LiveSimulationStateT&& value) {
116 m_liveSimulationStateHasBeenSet = true;
117 m_liveSimulationState = std::forward<LiveSimulationStateT>(value);
118 }
119 template <typename LiveSimulationStateT = LiveSimulationState>
120 DescribeSimulationResult& WithLiveSimulationState(LiveSimulationStateT&& value) {
121 SetLiveSimulationState(std::forward<LiveSimulationStateT>(value));
122 return *this;
123 }
125
127
131 inline const LoggingConfiguration& GetLoggingConfiguration() const { return m_loggingConfiguration; }
132 template <typename LoggingConfigurationT = LoggingConfiguration>
133 void SetLoggingConfiguration(LoggingConfigurationT&& value) {
134 m_loggingConfigurationHasBeenSet = true;
135 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
136 }
137 template <typename LoggingConfigurationT = LoggingConfiguration>
138 DescribeSimulationResult& WithLoggingConfiguration(LoggingConfigurationT&& value) {
139 SetLoggingConfiguration(std::forward<LoggingConfigurationT>(value));
140 return *this;
141 }
143
145
153 inline const Aws::String& GetMaximumDuration() const { return m_maximumDuration; }
154 template <typename MaximumDurationT = Aws::String>
155 void SetMaximumDuration(MaximumDurationT&& value) {
156 m_maximumDurationHasBeenSet = true;
157 m_maximumDuration = std::forward<MaximumDurationT>(value);
158 }
159 template <typename MaximumDurationT = Aws::String>
161 SetMaximumDuration(std::forward<MaximumDurationT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::String& GetName() const { return m_name; }
171 template <typename NameT = Aws::String>
172 void SetName(NameT&& value) {
173 m_nameHasBeenSet = true;
174 m_name = std::forward<NameT>(value);
175 }
176 template <typename NameT = Aws::String>
178 SetName(std::forward<NameT>(value));
179 return *this;
180 }
182
184
194 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
195 template <typename RoleArnT = Aws::String>
196 void SetRoleArn(RoleArnT&& value) {
197 m_roleArnHasBeenSet = true;
198 m_roleArn = std::forward<RoleArnT>(value);
199 }
200 template <typename RoleArnT = Aws::String>
202 SetRoleArn(std::forward<RoleArnT>(value));
203 return *this;
204 }
206
208
214 inline const S3Location& GetSchemaS3Location() const { return m_schemaS3Location; }
215 template <typename SchemaS3LocationT = S3Location>
216 void SetSchemaS3Location(SchemaS3LocationT&& value) {
217 m_schemaS3LocationHasBeenSet = true;
218 m_schemaS3Location = std::forward<SchemaS3LocationT>(value);
219 }
220 template <typename SchemaS3LocationT = S3Location>
221 DescribeSimulationResult& WithSchemaS3Location(SchemaS3LocationT&& value) {
222 SetSchemaS3Location(std::forward<SchemaS3LocationT>(value));
223 return *this;
224 }
226
228
229 inline const S3Location& GetSnapshotS3Location() const { return m_snapshotS3Location; }
230 template <typename SnapshotS3LocationT = S3Location>
231 void SetSnapshotS3Location(SnapshotS3LocationT&& value) {
232 m_snapshotS3LocationHasBeenSet = true;
233 m_snapshotS3Location = std::forward<SnapshotS3LocationT>(value);
234 }
235 template <typename SnapshotS3LocationT = S3Location>
236 DescribeSimulationResult& WithSnapshotS3Location(SnapshotS3LocationT&& value) {
237 SetSnapshotS3Location(std::forward<SnapshotS3LocationT>(value));
238 return *this;
239 }
241
243
247 inline const Aws::String& GetStartError() const { return m_startError; }
248 template <typename StartErrorT = Aws::String>
249 void SetStartError(StartErrorT&& value) {
250 m_startErrorHasBeenSet = true;
251 m_startError = std::forward<StartErrorT>(value);
252 }
253 template <typename StartErrorT = Aws::String>
255 SetStartError(std::forward<StartErrorT>(value));
256 return *this;
257 }
259
261
264 inline SimulationStatus GetStatus() const { return m_status; }
265 inline void SetStatus(SimulationStatus value) {
266 m_statusHasBeenSet = true;
267 m_status = value;
268 }
270 SetStatus(value);
271 return *this;
272 }
274
276
279 inline SimulationTargetStatus GetTargetStatus() const { return m_targetStatus; }
281 m_targetStatusHasBeenSet = true;
282 m_targetStatus = value;
283 }
285 SetTargetStatus(value);
286 return *this;
287 }
289
291
292 inline const Aws::String& GetRequestId() const { return m_requestId; }
293 template <typename RequestIdT = Aws::String>
294 void SetRequestId(RequestIdT&& value) {
295 m_requestIdHasBeenSet = true;
296 m_requestId = std::forward<RequestIdT>(value);
297 }
298 template <typename RequestIdT = Aws::String>
300 SetRequestId(std::forward<RequestIdT>(value));
301 return *this;
302 }
304 private:
305 Aws::String m_arn;
306
307 Aws::Utils::DateTime m_creationTime{};
308
309 Aws::String m_description;
310
311 Aws::String m_executionId;
312
313 LiveSimulationState m_liveSimulationState;
314
315 LoggingConfiguration m_loggingConfiguration;
316
317 Aws::String m_maximumDuration;
318
319 Aws::String m_name;
320
321 Aws::String m_roleArn;
322
323 S3Location m_schemaS3Location;
324
325 S3Location m_snapshotS3Location;
326
327 Aws::String m_startError;
328
330
332
333 Aws::String m_requestId;
334 bool m_arnHasBeenSet = false;
335 bool m_creationTimeHasBeenSet = false;
336 bool m_descriptionHasBeenSet = false;
337 bool m_executionIdHasBeenSet = false;
338 bool m_liveSimulationStateHasBeenSet = false;
339 bool m_loggingConfigurationHasBeenSet = false;
340 bool m_maximumDurationHasBeenSet = false;
341 bool m_nameHasBeenSet = false;
342 bool m_roleArnHasBeenSet = false;
343 bool m_schemaS3LocationHasBeenSet = false;
344 bool m_snapshotS3LocationHasBeenSet = false;
345 bool m_startErrorHasBeenSet = false;
346 bool m_statusHasBeenSet = false;
347 bool m_targetStatusHasBeenSet = false;
348 bool m_requestIdHasBeenSet = false;
349};
350
351} // namespace Model
352} // namespace SimSpaceWeaver
353} // 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