AWS SDK for C++  1.9.21
AWS SDK for C++
RobotDeployment.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace RoboMaker
26 {
27 namespace Model
28 {
29 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetArn() const{ return m_arn; }
48 
52  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
53 
57  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
58 
62  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
63 
67  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
68 
72  inline RobotDeployment& WithArn(const Aws::String& value) { SetArn(value); return *this;}
73 
77  inline RobotDeployment& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
78 
82  inline RobotDeployment& WithArn(const char* value) { SetArn(value); return *this;}
83 
84 
89  inline const Aws::Utils::DateTime& GetDeploymentStartTime() const{ return m_deploymentStartTime; }
90 
95  inline bool DeploymentStartTimeHasBeenSet() const { return m_deploymentStartTimeHasBeenSet; }
96 
101  inline void SetDeploymentStartTime(const Aws::Utils::DateTime& value) { m_deploymentStartTimeHasBeenSet = true; m_deploymentStartTime = value; }
102 
107  inline void SetDeploymentStartTime(Aws::Utils::DateTime&& value) { m_deploymentStartTimeHasBeenSet = true; m_deploymentStartTime = std::move(value); }
108 
113  inline RobotDeployment& WithDeploymentStartTime(const Aws::Utils::DateTime& value) { SetDeploymentStartTime(value); return *this;}
114 
119  inline RobotDeployment& WithDeploymentStartTime(Aws::Utils::DateTime&& value) { SetDeploymentStartTime(std::move(value)); return *this;}
120 
121 
125  inline const Aws::Utils::DateTime& GetDeploymentFinishTime() const{ return m_deploymentFinishTime; }
126 
130  inline bool DeploymentFinishTimeHasBeenSet() const { return m_deploymentFinishTimeHasBeenSet; }
131 
135  inline void SetDeploymentFinishTime(const Aws::Utils::DateTime& value) { m_deploymentFinishTimeHasBeenSet = true; m_deploymentFinishTime = value; }
136 
140  inline void SetDeploymentFinishTime(Aws::Utils::DateTime&& value) { m_deploymentFinishTimeHasBeenSet = true; m_deploymentFinishTime = std::move(value); }
141 
145  inline RobotDeployment& WithDeploymentFinishTime(const Aws::Utils::DateTime& value) { SetDeploymentFinishTime(value); return *this;}
146 
150  inline RobotDeployment& WithDeploymentFinishTime(Aws::Utils::DateTime&& value) { SetDeploymentFinishTime(std::move(value)); return *this;}
151 
152 
156  inline const RobotStatus& GetStatus() const{ return m_status; }
157 
161  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
162 
166  inline void SetStatus(const RobotStatus& value) { m_statusHasBeenSet = true; m_status = value; }
167 
171  inline void SetStatus(RobotStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
172 
176  inline RobotDeployment& WithStatus(const RobotStatus& value) { SetStatus(value); return *this;}
177 
181  inline RobotDeployment& WithStatus(RobotStatus&& value) { SetStatus(std::move(value)); return *this;}
182 
183 
187  inline const ProgressDetail& GetProgressDetail() const{ return m_progressDetail; }
188 
192  inline bool ProgressDetailHasBeenSet() const { return m_progressDetailHasBeenSet; }
193 
197  inline void SetProgressDetail(const ProgressDetail& value) { m_progressDetailHasBeenSet = true; m_progressDetail = value; }
198 
202  inline void SetProgressDetail(ProgressDetail&& value) { m_progressDetailHasBeenSet = true; m_progressDetail = std::move(value); }
203 
207  inline RobotDeployment& WithProgressDetail(const ProgressDetail& value) { SetProgressDetail(value); return *this;}
208 
212  inline RobotDeployment& WithProgressDetail(ProgressDetail&& value) { SetProgressDetail(std::move(value)); return *this;}
213 
214 
218  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
219 
223  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
224 
228  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
229 
233  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
234 
238  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
239 
243  inline RobotDeployment& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
244 
248  inline RobotDeployment& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
249 
253  inline RobotDeployment& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
254 
255 
259  inline const DeploymentJobErrorCode& GetFailureCode() const{ return m_failureCode; }
260 
264  inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
265 
269  inline void SetFailureCode(const DeploymentJobErrorCode& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
270 
274  inline void SetFailureCode(DeploymentJobErrorCode&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); }
275 
279  inline RobotDeployment& WithFailureCode(const DeploymentJobErrorCode& value) { SetFailureCode(value); return *this;}
280 
284  inline RobotDeployment& WithFailureCode(DeploymentJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
285 
286  private:
287 
288  Aws::String m_arn;
289  bool m_arnHasBeenSet;
290 
291  Aws::Utils::DateTime m_deploymentStartTime;
292  bool m_deploymentStartTimeHasBeenSet;
293 
294  Aws::Utils::DateTime m_deploymentFinishTime;
295  bool m_deploymentFinishTimeHasBeenSet;
296 
297  RobotStatus m_status;
298  bool m_statusHasBeenSet;
299 
300  ProgressDetail m_progressDetail;
301  bool m_progressDetailHasBeenSet;
302 
303  Aws::String m_failureReason;
304  bool m_failureReasonHasBeenSet;
305 
306  DeploymentJobErrorCode m_failureCode;
307  bool m_failureCodeHasBeenSet;
308  };
309 
310 } // namespace Model
311 } // namespace RoboMaker
312 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RoboMaker::Model::RobotDeployment::WithArn
RobotDeployment & WithArn(Aws::String &&value)
Definition: RobotDeployment.h:77
Aws::RoboMaker::Model::RobotDeployment::GetFailureCode
const DeploymentJobErrorCode & GetFailureCode() const
Definition: RobotDeployment.h:259
Aws::RoboMaker::Model::RobotDeployment::GetStatus
const RobotStatus & GetStatus() const
Definition: RobotDeployment.h:156
Aws::RoboMaker::Model::RobotDeployment::SetFailureCode
void SetFailureCode(const DeploymentJobErrorCode &value)
Definition: RobotDeployment.h:269
Aws::RoboMaker::Model::RobotDeployment::RobotDeployment
RobotDeployment()
Aws::RoboMaker::Model::RobotStatus
RobotStatus
Definition: RobotStatus.h:17
Aws::RoboMaker::Model::RobotDeployment::WithFailureReason
RobotDeployment & WithFailureReason(const Aws::String &value)
Definition: RobotDeployment.h:243
Aws::RoboMaker::Model::RobotDeployment::GetDeploymentStartTime
const Aws::Utils::DateTime & GetDeploymentStartTime() const
Definition: RobotDeployment.h:89
Aws::RoboMaker::Model::RobotDeployment::WithStatus
RobotDeployment & WithStatus(RobotStatus &&value)
Definition: RobotDeployment.h:181
Aws::RoboMaker::Model::RobotDeployment::WithFailureReason
RobotDeployment & WithFailureReason(Aws::String &&value)
Definition: RobotDeployment.h:248
Aws::RoboMaker::Model::RobotDeployment::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: RobotDeployment.h:223
Aws::RoboMaker::Model::RobotDeployment::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: RobotDeployment.h:161
Aws::RoboMaker::Model::RobotDeployment::WithStatus
RobotDeployment & WithStatus(const RobotStatus &value)
Definition: RobotDeployment.h:176
Aws::RoboMaker::Model::RobotDeployment::WithFailureCode
RobotDeployment & WithFailureCode(DeploymentJobErrorCode &&value)
Definition: RobotDeployment.h:284
Aws::RoboMaker::Model::RobotDeployment::SetProgressDetail
void SetProgressDetail(ProgressDetail &&value)
Definition: RobotDeployment.h:202
DateTime.h
Aws::RoboMaker::Model::ProgressDetail
Definition: ProgressDetail.h:34
Aws::RoboMaker::Model::RobotDeployment::SetDeploymentStartTime
void SetDeploymentStartTime(const Aws::Utils::DateTime &value)
Definition: RobotDeployment.h:101
Aws::RoboMaker::Model::RobotDeployment::FailureCodeHasBeenSet
bool FailureCodeHasBeenSet() const
Definition: RobotDeployment.h:264
Aws::RoboMaker::Model::RobotDeployment::WithDeploymentStartTime
RobotDeployment & WithDeploymentStartTime(const Aws::Utils::DateTime &value)
Definition: RobotDeployment.h:113
Aws::RoboMaker::Model::RobotDeployment::WithDeploymentFinishTime
RobotDeployment & WithDeploymentFinishTime(const Aws::Utils::DateTime &value)
Definition: RobotDeployment.h:145
Aws::RoboMaker::Model::RobotDeployment
Definition: RobotDeployment.h:36
Aws::RoboMaker::Model::RobotDeployment::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RoboMaker::Model::RobotDeployment::WithArn
RobotDeployment & WithArn(const Aws::String &value)
Definition: RobotDeployment.h:72
DeploymentJobErrorCode.h
Aws::RoboMaker::Model::RobotDeployment::GetArn
const Aws::String & GetArn() const
Definition: RobotDeployment.h:47
Aws::RoboMaker::Model::RobotDeployment::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: RobotDeployment.h:52
Aws::RoboMaker::Model::RobotDeployment::DeploymentStartTimeHasBeenSet
bool DeploymentStartTimeHasBeenSet() const
Definition: RobotDeployment.h:95
Aws::RoboMaker::Model::DeploymentJobErrorCode
DeploymentJobErrorCode
Definition: DeploymentJobErrorCode.h:17
Aws::RoboMaker::Model::RobotDeployment::SetStatus
void SetStatus(const RobotStatus &value)
Definition: RobotDeployment.h:166
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
RobotStatus.h
Aws::RoboMaker::Model::RobotDeployment::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: RobotDeployment.h:233
Aws::RoboMaker::Model::RobotDeployment::SetProgressDetail
void SetProgressDetail(const ProgressDetail &value)
Definition: RobotDeployment.h:197
Aws::RoboMaker::Model::RobotDeployment::WithDeploymentFinishTime
RobotDeployment & WithDeploymentFinishTime(Aws::Utils::DateTime &&value)
Definition: RobotDeployment.h:150
Aws::RoboMaker::Model::RobotDeployment::DeploymentFinishTimeHasBeenSet
bool DeploymentFinishTimeHasBeenSet() const
Definition: RobotDeployment.h:130
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::RobotDeployment::WithDeploymentStartTime
RobotDeployment & WithDeploymentStartTime(Aws::Utils::DateTime &&value)
Definition: RobotDeployment.h:119
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::RoboMaker::Model::RobotDeployment::RobotDeployment
RobotDeployment(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::RobotDeployment::SetStatus
void SetStatus(RobotStatus &&value)
Definition: RobotDeployment.h:171
Aws::RoboMaker::Model::RobotDeployment::WithFailureReason
RobotDeployment & WithFailureReason(const char *value)
Definition: RobotDeployment.h:253
Aws::RoboMaker::Model::RobotDeployment::SetDeploymentFinishTime
void SetDeploymentFinishTime(const Aws::Utils::DateTime &value)
Definition: RobotDeployment.h:135
Aws::RoboMaker::Model::RobotDeployment::WithArn
RobotDeployment & WithArn(const char *value)
Definition: RobotDeployment.h:82
Aws::RoboMaker::Model::RobotDeployment::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: RobotDeployment.h:218
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::RobotDeployment::SetArn
void SetArn(const char *value)
Definition: RobotDeployment.h:67
Aws::RoboMaker::Model::RobotDeployment::SetDeploymentFinishTime
void SetDeploymentFinishTime(Aws::Utils::DateTime &&value)
Definition: RobotDeployment.h:140
Aws::RoboMaker::Model::RobotDeployment::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: RobotDeployment.h:228
Aws::RoboMaker::Model::RobotDeployment::WithFailureCode
RobotDeployment & WithFailureCode(const DeploymentJobErrorCode &value)
Definition: RobotDeployment.h:279
Aws::RoboMaker::Model::RobotDeployment::SetFailureCode
void SetFailureCode(DeploymentJobErrorCode &&value)
Definition: RobotDeployment.h:274
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::RobotDeployment::SetDeploymentStartTime
void SetDeploymentStartTime(Aws::Utils::DateTime &&value)
Definition: RobotDeployment.h:107
Aws::RoboMaker::Model::RobotDeployment::GetDeploymentFinishTime
const Aws::Utils::DateTime & GetDeploymentFinishTime() const
Definition: RobotDeployment.h:125
Aws::RoboMaker::Model::RobotDeployment::SetArn
void SetArn(Aws::String &&value)
Definition: RobotDeployment.h:62
Aws::RoboMaker::Model::RobotDeployment::operator=
RobotDeployment & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::RobotDeployment::ProgressDetailHasBeenSet
bool ProgressDetailHasBeenSet() const
Definition: RobotDeployment.h:192
Aws::RoboMaker::Model::RobotDeployment::WithProgressDetail
RobotDeployment & WithProgressDetail(const ProgressDetail &value)
Definition: RobotDeployment.h:207
Aws::RoboMaker::Model::RobotDeployment::GetProgressDetail
const ProgressDetail & GetProgressDetail() const
Definition: RobotDeployment.h:187
Aws::RoboMaker::Model::RobotDeployment::SetFailureReason
void SetFailureReason(const char *value)
Definition: RobotDeployment.h:238
Aws::RoboMaker::Model::RobotDeployment::WithProgressDetail
RobotDeployment & WithProgressDetail(ProgressDetail &&value)
Definition: RobotDeployment.h:212
ProgressDetail.h
Aws::RoboMaker::Model::RobotDeployment::SetArn
void SetArn(const Aws::String &value)
Definition: RobotDeployment.h:57