AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeSimulationResult.h
1
6#pragma once
7#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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#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 SimSpaceWeaver
30{
31namespace Model
32{
34 {
35 public:
36 AWS_SIMSPACEWEAVER_API DescribeSimulationResult() = default;
39
40
42
49 inline const Aws::String& GetArn() const { return m_arn; }
50 template<typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
52 template<typename ArnT = Aws::String>
53 DescribeSimulationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
64 template<typename CreationTimeT = Aws::Utils::DateTime>
65 DescribeSimulationResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 template<typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
75 template<typename DescriptionT = Aws::String>
76 DescribeSimulationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
78
80
83 inline const Aws::String& GetExecutionId() const { return m_executionId; }
84 template<typename ExecutionIdT = Aws::String>
85 void SetExecutionId(ExecutionIdT&& value) { m_executionIdHasBeenSet = true; m_executionId = std::forward<ExecutionIdT>(value); }
86 template<typename ExecutionIdT = Aws::String>
87 DescribeSimulationResult& WithExecutionId(ExecutionIdT&& value) { SetExecutionId(std::forward<ExecutionIdT>(value)); return *this;}
89
91
95 inline const LiveSimulationState& GetLiveSimulationState() const { return m_liveSimulationState; }
96 template<typename LiveSimulationStateT = LiveSimulationState>
97 void SetLiveSimulationState(LiveSimulationStateT&& value) { m_liveSimulationStateHasBeenSet = true; m_liveSimulationState = std::forward<LiveSimulationStateT>(value); }
98 template<typename LiveSimulationStateT = LiveSimulationState>
99 DescribeSimulationResult& WithLiveSimulationState(LiveSimulationStateT&& value) { SetLiveSimulationState(std::forward<LiveSimulationStateT>(value)); return *this;}
101
103
107 inline const LoggingConfiguration& GetLoggingConfiguration() const { return m_loggingConfiguration; }
108 template<typename LoggingConfigurationT = LoggingConfiguration>
109 void SetLoggingConfiguration(LoggingConfigurationT&& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = std::forward<LoggingConfigurationT>(value); }
110 template<typename LoggingConfigurationT = LoggingConfiguration>
111 DescribeSimulationResult& WithLoggingConfiguration(LoggingConfigurationT&& value) { SetLoggingConfiguration(std::forward<LoggingConfigurationT>(value)); return *this;}
113
115
123 inline const Aws::String& GetMaximumDuration() const { return m_maximumDuration; }
124 template<typename MaximumDurationT = Aws::String>
125 void SetMaximumDuration(MaximumDurationT&& value) { m_maximumDurationHasBeenSet = true; m_maximumDuration = std::forward<MaximumDurationT>(value); }
126 template<typename MaximumDurationT = Aws::String>
127 DescribeSimulationResult& WithMaximumDuration(MaximumDurationT&& value) { SetMaximumDuration(std::forward<MaximumDurationT>(value)); return *this;}
129
131
134 inline const Aws::String& GetName() const { return m_name; }
135 template<typename NameT = Aws::String>
136 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
137 template<typename NameT = Aws::String>
138 DescribeSimulationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
140
142
152 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
153 template<typename RoleArnT = Aws::String>
154 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
155 template<typename RoleArnT = Aws::String>
156 DescribeSimulationResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
158
160
166 inline const S3Location& GetSchemaS3Location() const { return m_schemaS3Location; }
167 template<typename SchemaS3LocationT = S3Location>
168 void SetSchemaS3Location(SchemaS3LocationT&& value) { m_schemaS3LocationHasBeenSet = true; m_schemaS3Location = std::forward<SchemaS3LocationT>(value); }
169 template<typename SchemaS3LocationT = S3Location>
170 DescribeSimulationResult& WithSchemaS3Location(SchemaS3LocationT&& value) { SetSchemaS3Location(std::forward<SchemaS3LocationT>(value)); return *this;}
172
174
175 inline const S3Location& GetSnapshotS3Location() const { return m_snapshotS3Location; }
176 template<typename SnapshotS3LocationT = S3Location>
177 void SetSnapshotS3Location(SnapshotS3LocationT&& value) { m_snapshotS3LocationHasBeenSet = true; m_snapshotS3Location = std::forward<SnapshotS3LocationT>(value); }
178 template<typename SnapshotS3LocationT = S3Location>
179 DescribeSimulationResult& WithSnapshotS3Location(SnapshotS3LocationT&& value) { SetSnapshotS3Location(std::forward<SnapshotS3LocationT>(value)); return *this;}
181
183
187 inline const Aws::String& GetStartError() const { return m_startError; }
188 template<typename StartErrorT = Aws::String>
189 void SetStartError(StartErrorT&& value) { m_startErrorHasBeenSet = true; m_startError = std::forward<StartErrorT>(value); }
190 template<typename StartErrorT = Aws::String>
191 DescribeSimulationResult& WithStartError(StartErrorT&& value) { SetStartError(std::forward<StartErrorT>(value)); return *this;}
193
195
198 inline SimulationStatus GetStatus() const { return m_status; }
199 inline void SetStatus(SimulationStatus value) { m_statusHasBeenSet = true; m_status = value; }
200 inline DescribeSimulationResult& WithStatus(SimulationStatus value) { SetStatus(value); return *this;}
202
204
207 inline SimulationTargetStatus GetTargetStatus() const { return m_targetStatus; }
208 inline void SetTargetStatus(SimulationTargetStatus value) { m_targetStatusHasBeenSet = true; m_targetStatus = value; }
211
213
214 inline const Aws::String& GetRequestId() const { return m_requestId; }
215 template<typename RequestIdT = Aws::String>
216 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
217 template<typename RequestIdT = Aws::String>
218 DescribeSimulationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
220 private:
221
222 Aws::String m_arn;
223 bool m_arnHasBeenSet = false;
224
225 Aws::Utils::DateTime m_creationTime{};
226 bool m_creationTimeHasBeenSet = false;
227
228 Aws::String m_description;
229 bool m_descriptionHasBeenSet = false;
230
231 Aws::String m_executionId;
232 bool m_executionIdHasBeenSet = false;
233
234 LiveSimulationState m_liveSimulationState;
235 bool m_liveSimulationStateHasBeenSet = false;
236
237 LoggingConfiguration m_loggingConfiguration;
238 bool m_loggingConfigurationHasBeenSet = false;
239
240 Aws::String m_maximumDuration;
241 bool m_maximumDurationHasBeenSet = false;
242
243 Aws::String m_name;
244 bool m_nameHasBeenSet = false;
245
246 Aws::String m_roleArn;
247 bool m_roleArnHasBeenSet = false;
248
249 S3Location m_schemaS3Location;
250 bool m_schemaS3LocationHasBeenSet = false;
251
252 S3Location m_snapshotS3Location;
253 bool m_snapshotS3LocationHasBeenSet = false;
254
255 Aws::String m_startError;
256 bool m_startErrorHasBeenSet = false;
257
259 bool m_statusHasBeenSet = false;
260
262 bool m_targetStatusHasBeenSet = false;
263
264 Aws::String m_requestId;
265 bool m_requestIdHasBeenSet = false;
266 };
267
268} // namespace Model
269} // namespace SimSpaceWeaver
270} // 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