AWS SDK for C++  1.9.19
AWS SDK for C++
FailedCreateSimulationJobRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace RoboMaker
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const SimulationJobRequest& GetRequest() const{ return m_request; }
48 
52  inline bool RequestHasBeenSet() const { return m_requestHasBeenSet; }
53 
57  inline void SetRequest(const SimulationJobRequest& value) { m_requestHasBeenSet = true; m_request = value; }
58 
62  inline void SetRequest(SimulationJobRequest&& value) { m_requestHasBeenSet = true; m_request = std::move(value); }
63 
67  inline FailedCreateSimulationJobRequest& WithRequest(const SimulationJobRequest& value) { SetRequest(value); return *this;}
68 
72  inline FailedCreateSimulationJobRequest& WithRequest(SimulationJobRequest&& value) { SetRequest(std::move(value)); return *this;}
73 
74 
78  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
79 
83  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
84 
88  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
89 
93  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
94 
98  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
99 
103  inline FailedCreateSimulationJobRequest& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
104 
108  inline FailedCreateSimulationJobRequest& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
109 
113  inline FailedCreateSimulationJobRequest& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
114 
115 
119  inline const SimulationJobErrorCode& GetFailureCode() const{ return m_failureCode; }
120 
124  inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
125 
129  inline void SetFailureCode(const SimulationJobErrorCode& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
130 
134  inline void SetFailureCode(SimulationJobErrorCode&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); }
135 
139  inline FailedCreateSimulationJobRequest& WithFailureCode(const SimulationJobErrorCode& value) { SetFailureCode(value); return *this;}
140 
144  inline FailedCreateSimulationJobRequest& WithFailureCode(SimulationJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
145 
146 
151  inline const Aws::Utils::DateTime& GetFailedAt() const{ return m_failedAt; }
152 
157  inline bool FailedAtHasBeenSet() const { return m_failedAtHasBeenSet; }
158 
163  inline void SetFailedAt(const Aws::Utils::DateTime& value) { m_failedAtHasBeenSet = true; m_failedAt = value; }
164 
169  inline void SetFailedAt(Aws::Utils::DateTime&& value) { m_failedAtHasBeenSet = true; m_failedAt = std::move(value); }
170 
175  inline FailedCreateSimulationJobRequest& WithFailedAt(const Aws::Utils::DateTime& value) { SetFailedAt(value); return *this;}
176 
181  inline FailedCreateSimulationJobRequest& WithFailedAt(Aws::Utils::DateTime&& value) { SetFailedAt(std::move(value)); return *this;}
182 
183  private:
184 
185  SimulationJobRequest m_request;
186  bool m_requestHasBeenSet;
187 
188  Aws::String m_failureReason;
189  bool m_failureReasonHasBeenSet;
190 
191  SimulationJobErrorCode m_failureCode;
192  bool m_failureCodeHasBeenSet;
193 
194  Aws::Utils::DateTime m_failedAt;
195  bool m_failedAtHasBeenSet;
196  };
197 
198 } // namespace Model
199 } // namespace RoboMaker
200 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::FailedCreateSimulationJobRequest
FailedCreateSimulationJobRequest(Aws::Utils::Json::JsonView jsonValue)
SimulationJobRequest.h
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::SetRequest
void SetRequest(const SimulationJobRequest &value)
Definition: FailedCreateSimulationJobRequest.h:57
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::WithFailedAt
FailedCreateSimulationJobRequest & WithFailedAt(Aws::Utils::DateTime &&value)
Definition: FailedCreateSimulationJobRequest.h:181
DateTime.h
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::GetFailureCode
const SimulationJobErrorCode & GetFailureCode() const
Definition: FailedCreateSimulationJobRequest.h:119
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::RequestHasBeenSet
bool RequestHasBeenSet() const
Definition: FailedCreateSimulationJobRequest.h:52
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: FailedCreateSimulationJobRequest.h:78
Aws::RoboMaker::Model::SimulationJobRequest
Definition: SimulationJobRequest.h:42
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::GetFailedAt
const Aws::Utils::DateTime & GetFailedAt() const
Definition: FailedCreateSimulationJobRequest.h:151
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::FailedCreateSimulationJobRequest
FailedCreateSimulationJobRequest()
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::WithFailureCode
FailedCreateSimulationJobRequest & WithFailureCode(SimulationJobErrorCode &&value)
Definition: FailedCreateSimulationJobRequest.h:144
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::SetFailedAt
void SetFailedAt(Aws::Utils::DateTime &&value)
Definition: FailedCreateSimulationJobRequest.h:169
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::SetFailureCode
void SetFailureCode(SimulationJobErrorCode &&value)
Definition: FailedCreateSimulationJobRequest.h:134
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::FailedAtHasBeenSet
bool FailedAtHasBeenSet() const
Definition: FailedCreateSimulationJobRequest.h:157
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::SetFailureCode
void SetFailureCode(const SimulationJobErrorCode &value)
Definition: FailedCreateSimulationJobRequest.h:129
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::FailureCodeHasBeenSet
bool FailureCodeHasBeenSet() const
Definition: FailedCreateSimulationJobRequest.h:124
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: FailedCreateSimulationJobRequest.h:93
Aws::RoboMaker::Model::SimulationJobErrorCode
SimulationJobErrorCode
Definition: SimulationJobErrorCode.h:17
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::GetRequest
const SimulationJobRequest & GetRequest() const
Definition: FailedCreateSimulationJobRequest.h:47
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest
Definition: FailedCreateSimulationJobRequest.h:36
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::SetRequest
void SetRequest(SimulationJobRequest &&value)
Definition: FailedCreateSimulationJobRequest.h:62
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: FailedCreateSimulationJobRequest.h:88
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::WithFailureReason
FailedCreateSimulationJobRequest & WithFailureReason(const char *value)
Definition: FailedCreateSimulationJobRequest.h:113
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::SetFailureReason
void SetFailureReason(const char *value)
Definition: FailedCreateSimulationJobRequest.h:98
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::WithRequest
FailedCreateSimulationJobRequest & WithRequest(SimulationJobRequest &&value)
Definition: FailedCreateSimulationJobRequest.h:72
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: FailedCreateSimulationJobRequest.h:83
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::operator=
FailedCreateSimulationJobRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::WithFailureReason
FailedCreateSimulationJobRequest & WithFailureReason(const Aws::String &value)
Definition: FailedCreateSimulationJobRequest.h:103
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::WithFailureCode
FailedCreateSimulationJobRequest & WithFailureCode(const SimulationJobErrorCode &value)
Definition: FailedCreateSimulationJobRequest.h:139
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::WithFailedAt
FailedCreateSimulationJobRequest & WithFailedAt(const Aws::Utils::DateTime &value)
Definition: FailedCreateSimulationJobRequest.h:175
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::WithRequest
FailedCreateSimulationJobRequest & WithRequest(const SimulationJobRequest &value)
Definition: FailedCreateSimulationJobRequest.h:67
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::SetFailedAt
void SetFailedAt(const Aws::Utils::DateTime &value)
Definition: FailedCreateSimulationJobRequest.h:163
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::WithFailureReason
FailedCreateSimulationJobRequest & WithFailureReason(Aws::String &&value)
Definition: FailedCreateSimulationJobRequest.h:108
SimulationJobErrorCode.h
Aws::RoboMaker::Model::FailedCreateSimulationJobRequest::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const