AWS SDK for C++  1.9.21
AWS SDK for C++
DeploymentJob.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24  class JsonView;
25 } // namespace Json
26 } // namespace Utils
27 namespace RoboMaker
28 {
29 namespace Model
30 {
31 
38  {
39  public:
44 
45 
49  inline const Aws::String& GetArn() const{ return m_arn; }
50 
54  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
55 
59  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
60 
64  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 
69  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
70 
74  inline DeploymentJob& WithArn(const Aws::String& value) { SetArn(value); return *this;}
75 
79  inline DeploymentJob& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
80 
84  inline DeploymentJob& WithArn(const char* value) { SetArn(value); return *this;}
85 
86 
90  inline const Aws::String& GetFleet() const{ return m_fleet; }
91 
95  inline bool FleetHasBeenSet() const { return m_fleetHasBeenSet; }
96 
100  inline void SetFleet(const Aws::String& value) { m_fleetHasBeenSet = true; m_fleet = value; }
101 
105  inline void SetFleet(Aws::String&& value) { m_fleetHasBeenSet = true; m_fleet = std::move(value); }
106 
110  inline void SetFleet(const char* value) { m_fleetHasBeenSet = true; m_fleet.assign(value); }
111 
115  inline DeploymentJob& WithFleet(const Aws::String& value) { SetFleet(value); return *this;}
116 
120  inline DeploymentJob& WithFleet(Aws::String&& value) { SetFleet(std::move(value)); return *this;}
121 
125  inline DeploymentJob& WithFleet(const char* value) { SetFleet(value); return *this;}
126 
127 
131  inline const DeploymentStatus& GetStatus() const{ return m_status; }
132 
136  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
137 
141  inline void SetStatus(const DeploymentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
142 
146  inline void SetStatus(DeploymentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
147 
151  inline DeploymentJob& WithStatus(const DeploymentStatus& value) { SetStatus(value); return *this;}
152 
156  inline DeploymentJob& WithStatus(DeploymentStatus&& value) { SetStatus(std::move(value)); return *this;}
157 
158 
162  inline const Aws::Vector<DeploymentApplicationConfig>& GetDeploymentApplicationConfigs() const{ return m_deploymentApplicationConfigs; }
163 
167  inline bool DeploymentApplicationConfigsHasBeenSet() const { return m_deploymentApplicationConfigsHasBeenSet; }
168 
172  inline void SetDeploymentApplicationConfigs(const Aws::Vector<DeploymentApplicationConfig>& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs = value; }
173 
177  inline void SetDeploymentApplicationConfigs(Aws::Vector<DeploymentApplicationConfig>&& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs = std::move(value); }
178 
182  inline DeploymentJob& WithDeploymentApplicationConfigs(const Aws::Vector<DeploymentApplicationConfig>& value) { SetDeploymentApplicationConfigs(value); return *this;}
183 
187  inline DeploymentJob& WithDeploymentApplicationConfigs(Aws::Vector<DeploymentApplicationConfig>&& value) { SetDeploymentApplicationConfigs(std::move(value)); return *this;}
188 
192  inline DeploymentJob& AddDeploymentApplicationConfigs(const DeploymentApplicationConfig& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs.push_back(value); return *this; }
193 
197  inline DeploymentJob& AddDeploymentApplicationConfigs(DeploymentApplicationConfig&& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs.push_back(std::move(value)); return *this; }
198 
199 
203  inline const DeploymentConfig& GetDeploymentConfig() const{ return m_deploymentConfig; }
204 
208  inline bool DeploymentConfigHasBeenSet() const { return m_deploymentConfigHasBeenSet; }
209 
213  inline void SetDeploymentConfig(const DeploymentConfig& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = value; }
214 
218  inline void SetDeploymentConfig(DeploymentConfig&& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = std::move(value); }
219 
223  inline DeploymentJob& WithDeploymentConfig(const DeploymentConfig& value) { SetDeploymentConfig(value); return *this;}
224 
228  inline DeploymentJob& WithDeploymentConfig(DeploymentConfig&& value) { SetDeploymentConfig(std::move(value)); return *this;}
229 
230 
234  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
235 
239  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
240 
244  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
245 
249  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
250 
254  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
255 
259  inline DeploymentJob& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
260 
264  inline DeploymentJob& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
265 
269  inline DeploymentJob& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
270 
271 
275  inline const DeploymentJobErrorCode& GetFailureCode() const{ return m_failureCode; }
276 
280  inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
281 
285  inline void SetFailureCode(const DeploymentJobErrorCode& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
286 
290  inline void SetFailureCode(DeploymentJobErrorCode&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); }
291 
295  inline DeploymentJob& WithFailureCode(const DeploymentJobErrorCode& value) { SetFailureCode(value); return *this;}
296 
300  inline DeploymentJob& WithFailureCode(DeploymentJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
301 
302 
307  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
308 
313  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
314 
319  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
320 
325  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
326 
331  inline DeploymentJob& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
332 
337  inline DeploymentJob& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
338 
339  private:
340 
341  Aws::String m_arn;
342  bool m_arnHasBeenSet;
343 
344  Aws::String m_fleet;
345  bool m_fleetHasBeenSet;
346 
347  DeploymentStatus m_status;
348  bool m_statusHasBeenSet;
349 
350  Aws::Vector<DeploymentApplicationConfig> m_deploymentApplicationConfigs;
351  bool m_deploymentApplicationConfigsHasBeenSet;
352 
353  DeploymentConfig m_deploymentConfig;
354  bool m_deploymentConfigHasBeenSet;
355 
356  Aws::String m_failureReason;
357  bool m_failureReasonHasBeenSet;
358 
359  DeploymentJobErrorCode m_failureCode;
360  bool m_failureCodeHasBeenSet;
361 
362  Aws::Utils::DateTime m_createdAt;
363  bool m_createdAtHasBeenSet;
364  };
365 
366 } // namespace Model
367 } // namespace RoboMaker
368 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RoboMaker::Model::DeploymentJob::WithFleet
DeploymentJob & WithFleet(const Aws::String &value)
Definition: DeploymentJob.h:115
Aws::RoboMaker::Model::DeploymentJob::SetArn
void SetArn(const char *value)
Definition: DeploymentJob.h:69
Aws::RoboMaker::Model::DeploymentJob::WithArn
DeploymentJob & WithArn(const Aws::String &value)
Definition: DeploymentJob.h:74
Aws::RoboMaker::Model::DeploymentJob::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: DeploymentJob.h:313
Aws::RoboMaker::Model::DeploymentJob::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: DeploymentJob.h:319
Aws::RoboMaker::Model::DeploymentJob::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DeploymentJob.h:136
Aws::RoboMaker::Model::DeploymentJob::WithStatus
DeploymentJob & WithStatus(const DeploymentStatus &value)
Definition: DeploymentJob.h:151
Aws::RoboMaker::Model::DeploymentJob::WithStatus
DeploymentJob & WithStatus(DeploymentStatus &&value)
Definition: DeploymentJob.h:156
Aws::RoboMaker::Model::DeploymentJob::WithFailureReason
DeploymentJob & WithFailureReason(const char *value)
Definition: DeploymentJob.h:269
Aws::RoboMaker::Model::DeploymentJob::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: DeploymentJob.h:325
Aws::RoboMaker::Model::DeploymentStatus
DeploymentStatus
Definition: DeploymentStatus.h:17
DeploymentApplicationConfig.h
Aws::RoboMaker::Model::DeploymentJob::WithFailureReason
DeploymentJob & WithFailureReason(Aws::String &&value)
Definition: DeploymentJob.h:264
Aws::RoboMaker::Model::DeploymentJob::SetStatus
void SetStatus(DeploymentStatus &&value)
Definition: DeploymentJob.h:146
Aws::RoboMaker::Model::DeploymentJob::WithDeploymentApplicationConfigs
DeploymentJob & WithDeploymentApplicationConfigs(Aws::Vector< DeploymentApplicationConfig > &&value)
Definition: DeploymentJob.h:187
Aws::RoboMaker::Model::DeploymentJob::SetStatus
void SetStatus(const DeploymentStatus &value)
Definition: DeploymentJob.h:141
DateTime.h
Aws::RoboMaker::Model::DeploymentJob::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: DeploymentJob.h:54
Aws::RoboMaker::Model::DeploymentJob::GetStatus
const DeploymentStatus & GetStatus() const
Definition: DeploymentJob.h:131
Aws::RoboMaker::Model::DeploymentJob::WithCreatedAt
DeploymentJob & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: DeploymentJob.h:337
Aws::RoboMaker::Model::DeploymentJob::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: DeploymentJob.h:307
Aws::RoboMaker::Model::DeploymentJob::FailureCodeHasBeenSet
bool FailureCodeHasBeenSet() const
Definition: DeploymentJob.h:280
Aws::RoboMaker::Model::DeploymentJob::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::DeploymentJob::DeploymentJob
DeploymentJob(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::DeploymentJob::SetDeploymentConfig
void SetDeploymentConfig(const DeploymentConfig &value)
Definition: DeploymentJob.h:213
Aws::RoboMaker::Model::DeploymentJob::WithArn
DeploymentJob & WithArn(const char *value)
Definition: DeploymentJob.h:84
AWSVector.h
DeploymentJobErrorCode.h
Aws::RoboMaker::Model::DeploymentJob::DeploymentApplicationConfigsHasBeenSet
bool DeploymentApplicationConfigsHasBeenSet() const
Definition: DeploymentJob.h:167
Aws::RoboMaker::Model::DeploymentJob::WithFailureCode
DeploymentJob & WithFailureCode(DeploymentJobErrorCode &&value)
Definition: DeploymentJob.h:300
Aws::RoboMaker::Model::DeploymentJob::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: DeploymentJob.h:239
DeploymentConfig.h
Aws::RoboMaker::Model::DeploymentJob::DeploymentConfigHasBeenSet
bool DeploymentConfigHasBeenSet() const
Definition: DeploymentJob.h:208
Aws::RoboMaker::Model::DeploymentJobErrorCode
DeploymentJobErrorCode
Definition: DeploymentJobErrorCode.h:17
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::DeploymentJob::DeploymentJob
DeploymentJob()
Aws::RoboMaker::Model::DeploymentJob::operator=
DeploymentJob & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::DeploymentJob::SetFleet
void SetFleet(const Aws::String &value)
Definition: DeploymentJob.h:100
Aws::RoboMaker::Model::DeploymentJob
Definition: DeploymentJob.h:38
Aws::RoboMaker::Model::DeploymentJob::AddDeploymentApplicationConfigs
DeploymentJob & AddDeploymentApplicationConfigs(const DeploymentApplicationConfig &value)
Definition: DeploymentJob.h:192
Aws::RoboMaker::Model::DeploymentJob::SetDeploymentConfig
void SetDeploymentConfig(DeploymentConfig &&value)
Definition: DeploymentJob.h:218
Aws::RoboMaker::Model::DeploymentJob::SetArn
void SetArn(Aws::String &&value)
Definition: DeploymentJob.h:64
RoboMaker_EXPORTS.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::DeploymentConfig
Definition: DeploymentConfig.h:32
Aws::RoboMaker::Model::DeploymentJob::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: DeploymentJob.h:234
Aws::RoboMaker::Model::DeploymentJob::WithDeploymentConfig
DeploymentJob & WithDeploymentConfig(const DeploymentConfig &value)
Definition: DeploymentJob.h:223
Aws::RoboMaker::Model::DeploymentJob::GetFailureCode
const DeploymentJobErrorCode & GetFailureCode() const
Definition: DeploymentJob.h:275
Aws::RoboMaker::Model::DeploymentJob::SetDeploymentApplicationConfigs
void SetDeploymentApplicationConfigs(const Aws::Vector< DeploymentApplicationConfig > &value)
Definition: DeploymentJob.h:172
DeploymentStatus.h
Aws::RoboMaker::Model::DeploymentJob::WithFailureCode
DeploymentJob & WithFailureCode(const DeploymentJobErrorCode &value)
Definition: DeploymentJob.h:295
Aws::RoboMaker::Model::DeploymentJob::SetFleet
void SetFleet(const char *value)
Definition: DeploymentJob.h:110
Aws::RoboMaker::Model::DeploymentJob::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: DeploymentJob.h:244
Aws::RoboMaker::Model::DeploymentJob::GetFleet
const Aws::String & GetFleet() const
Definition: DeploymentJob.h:90
Aws::RoboMaker::Model::DeploymentJob::GetArn
const Aws::String & GetArn() const
Definition: DeploymentJob.h:49
Aws::RoboMaker::Model::DeploymentJob::WithArn
DeploymentJob & WithArn(Aws::String &&value)
Definition: DeploymentJob.h:79
Aws::RoboMaker::Model::DeploymentJob::SetDeploymentApplicationConfigs
void SetDeploymentApplicationConfigs(Aws::Vector< DeploymentApplicationConfig > &&value)
Definition: DeploymentJob.h:177
Aws::RoboMaker::Model::DeploymentJob::SetFailureReason
void SetFailureReason(const char *value)
Definition: DeploymentJob.h:254
Aws::RoboMaker::Model::DeploymentJob::SetFleet
void SetFleet(Aws::String &&value)
Definition: DeploymentJob.h:105
Aws::RoboMaker::Model::DeploymentJob::SetArn
void SetArn(const Aws::String &value)
Definition: DeploymentJob.h:59
Aws::RoboMaker::Model::DeploymentJob::WithFailureReason
DeploymentJob & WithFailureReason(const Aws::String &value)
Definition: DeploymentJob.h:259
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::DeploymentJob::WithFleet
DeploymentJob & WithFleet(Aws::String &&value)
Definition: DeploymentJob.h:120
Aws::RoboMaker::Model::DeploymentJob::FleetHasBeenSet
bool FleetHasBeenSet() const
Definition: DeploymentJob.h:95
Aws::RoboMaker::Model::DeploymentJob::WithFleet
DeploymentJob & WithFleet(const char *value)
Definition: DeploymentJob.h:125
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::DeploymentJob::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: DeploymentJob.h:249
Aws::RoboMaker::Model::DeploymentJob::WithDeploymentApplicationConfigs
DeploymentJob & WithDeploymentApplicationConfigs(const Aws::Vector< DeploymentApplicationConfig > &value)
Definition: DeploymentJob.h:182
Aws::RoboMaker::Model::DeploymentJob::GetDeploymentApplicationConfigs
const Aws::Vector< DeploymentApplicationConfig > & GetDeploymentApplicationConfigs() const
Definition: DeploymentJob.h:162
Aws::RoboMaker::Model::DeploymentJob::WithDeploymentConfig
DeploymentJob & WithDeploymentConfig(DeploymentConfig &&value)
Definition: DeploymentJob.h:228
Aws::RoboMaker::Model::DeploymentJob::WithCreatedAt
DeploymentJob & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: DeploymentJob.h:331
Aws::RoboMaker::Model::DeploymentJob::GetDeploymentConfig
const DeploymentConfig & GetDeploymentConfig() const
Definition: DeploymentJob.h:203
Aws::RoboMaker::Model::DeploymentJob::SetFailureCode
void SetFailureCode(DeploymentJobErrorCode &&value)
Definition: DeploymentJob.h:290
Aws::RoboMaker::Model::DeploymentJob::AddDeploymentApplicationConfigs
DeploymentJob & AddDeploymentApplicationConfigs(DeploymentApplicationConfig &&value)
Definition: DeploymentJob.h:197
Aws::RoboMaker::Model::DeploymentJob::SetFailureCode
void SetFailureCode(const DeploymentJobErrorCode &value)
Definition: DeploymentJob.h:285
Aws::RoboMaker::Model::DeploymentApplicationConfig
Definition: DeploymentApplicationConfig.h:34