AWS SDK for C++  1.9.20
AWS SDK for C++
CreateDeploymentJobResult.h
Go to the documentation of this file.
1 
6 #pragma once
16 #include <utility>
17 
18 namespace Aws
19 {
20 template<typename RESULT_TYPE>
21 class AmazonWebServiceResult;
22 
23 namespace Utils
24 {
25 namespace Json
26 {
27  class JsonValue;
28 } // namespace Json
29 } // namespace Utils
30 namespace RoboMaker
31 {
32 namespace Model
33 {
35  {
36  public:
40 
41 
45  inline const Aws::String& GetArn() const{ return m_arn; }
46 
50  inline void SetArn(const Aws::String& value) { m_arn = value; }
51 
55  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
56 
60  inline void SetArn(const char* value) { m_arn.assign(value); }
61 
65  inline CreateDeploymentJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
66 
70  inline CreateDeploymentJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
71 
75  inline CreateDeploymentJobResult& WithArn(const char* value) { SetArn(value); return *this;}
76 
77 
81  inline const Aws::String& GetFleet() const{ return m_fleet; }
82 
86  inline void SetFleet(const Aws::String& value) { m_fleet = value; }
87 
91  inline void SetFleet(Aws::String&& value) { m_fleet = std::move(value); }
92 
96  inline void SetFleet(const char* value) { m_fleet.assign(value); }
97 
101  inline CreateDeploymentJobResult& WithFleet(const Aws::String& value) { SetFleet(value); return *this;}
102 
106  inline CreateDeploymentJobResult& WithFleet(Aws::String&& value) { SetFleet(std::move(value)); return *this;}
107 
111  inline CreateDeploymentJobResult& WithFleet(const char* value) { SetFleet(value); return *this;}
112 
113 
117  inline const DeploymentStatus& GetStatus() const{ return m_status; }
118 
122  inline void SetStatus(const DeploymentStatus& value) { m_status = value; }
123 
127  inline void SetStatus(DeploymentStatus&& value) { m_status = std::move(value); }
128 
132  inline CreateDeploymentJobResult& WithStatus(const DeploymentStatus& value) { SetStatus(value); return *this;}
133 
137  inline CreateDeploymentJobResult& WithStatus(DeploymentStatus&& value) { SetStatus(std::move(value)); return *this;}
138 
139 
143  inline const Aws::Vector<DeploymentApplicationConfig>& GetDeploymentApplicationConfigs() const{ return m_deploymentApplicationConfigs; }
144 
148  inline void SetDeploymentApplicationConfigs(const Aws::Vector<DeploymentApplicationConfig>& value) { m_deploymentApplicationConfigs = value; }
149 
153  inline void SetDeploymentApplicationConfigs(Aws::Vector<DeploymentApplicationConfig>&& value) { m_deploymentApplicationConfigs = std::move(value); }
154 
158  inline CreateDeploymentJobResult& WithDeploymentApplicationConfigs(const Aws::Vector<DeploymentApplicationConfig>& value) { SetDeploymentApplicationConfigs(value); return *this;}
159 
163  inline CreateDeploymentJobResult& WithDeploymentApplicationConfigs(Aws::Vector<DeploymentApplicationConfig>&& value) { SetDeploymentApplicationConfigs(std::move(value)); return *this;}
164 
168  inline CreateDeploymentJobResult& AddDeploymentApplicationConfigs(const DeploymentApplicationConfig& value) { m_deploymentApplicationConfigs.push_back(value); return *this; }
169 
173  inline CreateDeploymentJobResult& AddDeploymentApplicationConfigs(DeploymentApplicationConfig&& value) { m_deploymentApplicationConfigs.push_back(std::move(value)); return *this; }
174 
175 
179  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
180 
184  inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
185 
189  inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
190 
194  inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
195 
199  inline CreateDeploymentJobResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
200 
204  inline CreateDeploymentJobResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
205 
209  inline CreateDeploymentJobResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
210 
211 
239  inline const DeploymentJobErrorCode& GetFailureCode() const{ return m_failureCode; }
240 
268  inline void SetFailureCode(const DeploymentJobErrorCode& value) { m_failureCode = value; }
269 
297  inline void SetFailureCode(DeploymentJobErrorCode&& value) { m_failureCode = std::move(value); }
298 
326  inline CreateDeploymentJobResult& WithFailureCode(const DeploymentJobErrorCode& value) { SetFailureCode(value); return *this;}
327 
355  inline CreateDeploymentJobResult& WithFailureCode(DeploymentJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
356 
357 
361  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
362 
366  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
367 
371  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
372 
376  inline CreateDeploymentJobResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
377 
381  inline CreateDeploymentJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
382 
383 
387  inline const DeploymentConfig& GetDeploymentConfig() const{ return m_deploymentConfig; }
388 
392  inline void SetDeploymentConfig(const DeploymentConfig& value) { m_deploymentConfig = value; }
393 
397  inline void SetDeploymentConfig(DeploymentConfig&& value) { m_deploymentConfig = std::move(value); }
398 
402  inline CreateDeploymentJobResult& WithDeploymentConfig(const DeploymentConfig& value) { SetDeploymentConfig(value); return *this;}
403 
407  inline CreateDeploymentJobResult& WithDeploymentConfig(DeploymentConfig&& value) { SetDeploymentConfig(std::move(value)); return *this;}
408 
409 
413  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
414 
418  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
419 
423  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
424 
428  inline CreateDeploymentJobResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
429 
433  inline CreateDeploymentJobResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
434 
438  inline CreateDeploymentJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
439 
443  inline CreateDeploymentJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
444 
448  inline CreateDeploymentJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
449 
453  inline CreateDeploymentJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
454 
458  inline CreateDeploymentJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
459 
463  inline CreateDeploymentJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
464 
468  inline CreateDeploymentJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
469 
470  private:
471 
472  Aws::String m_arn;
473 
474  Aws::String m_fleet;
475 
476  DeploymentStatus m_status;
477 
478  Aws::Vector<DeploymentApplicationConfig> m_deploymentApplicationConfigs;
479 
480  Aws::String m_failureReason;
481 
482  DeploymentJobErrorCode m_failureCode;
483 
484  Aws::Utils::DateTime m_createdAt;
485 
486  DeploymentConfig m_deploymentConfig;
487 
489  };
490 
491 } // namespace Model
492 } // namespace RoboMaker
493 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithFailureReason
CreateDeploymentJobResult & WithFailureReason(const Aws::String &value)
Definition: CreateDeploymentJobResult.h:199
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetDeploymentApplicationConfigs
void SetDeploymentApplicationConfigs(const Aws::Vector< DeploymentApplicationConfig > &value)
Definition: CreateDeploymentJobResult.h:148
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithFleet
CreateDeploymentJobResult & WithFleet(Aws::String &&value)
Definition: CreateDeploymentJobResult.h:106
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithDeploymentConfig
CreateDeploymentJobResult & WithDeploymentConfig(const DeploymentConfig &value)
Definition: CreateDeploymentJobResult.h:402
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateDeploymentJobResult.h:55
Aws::RoboMaker::Model::CreateDeploymentJobResult::AddTags
CreateDeploymentJobResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateDeploymentJobResult.h:453
Aws::RoboMaker::Model::DeploymentStatus
DeploymentStatus
Definition: DeploymentStatus.h:17
DeploymentApplicationConfig.h
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetFleet
void SetFleet(const Aws::String &value)
Definition: CreateDeploymentJobResult.h:86
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithArn
CreateDeploymentJobResult & WithArn(const char *value)
Definition: CreateDeploymentJobResult.h:75
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetStatus
void SetStatus(DeploymentStatus &&value)
Definition: CreateDeploymentJobResult.h:127
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithDeploymentConfig
CreateDeploymentJobResult & WithDeploymentConfig(DeploymentConfig &&value)
Definition: CreateDeploymentJobResult.h:407
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithCreatedAt
CreateDeploymentJobResult & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: CreateDeploymentJobResult.h:376
Aws::RoboMaker::Model::CreateDeploymentJobResult::GetArn
const Aws::String & GetArn() const
Definition: CreateDeploymentJobResult.h:45
Aws::RoboMaker::Model::CreateDeploymentJobResult::AddTags
CreateDeploymentJobResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateDeploymentJobResult.h:448
DateTime.h
Aws::RoboMaker::Model::CreateDeploymentJobResult::GetFailureCode
const DeploymentJobErrorCode & GetFailureCode() const
Definition: CreateDeploymentJobResult.h:239
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateDeploymentJobResult.h:423
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetArn
void SetArn(const char *value)
Definition: CreateDeploymentJobResult.h:60
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithTags
CreateDeploymentJobResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateDeploymentJobResult.h:428
Aws::RoboMaker::Model::CreateDeploymentJobResult::AddTags
CreateDeploymentJobResult & AddTags(const char *key, Aws::String &&value)
Definition: CreateDeploymentJobResult.h:458
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithArn
CreateDeploymentJobResult & WithArn(Aws::String &&value)
Definition: CreateDeploymentJobResult.h:70
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithStatus
CreateDeploymentJobResult & WithStatus(DeploymentStatus &&value)
Definition: CreateDeploymentJobResult.h:137
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::CreateDeploymentJobResult::AddTags
CreateDeploymentJobResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateDeploymentJobResult.h:443
AWSVector.h
DeploymentJobErrorCode.h
Aws::RoboMaker::Model::CreateDeploymentJobResult::GetDeploymentConfig
const DeploymentConfig & GetDeploymentConfig() const
Definition: CreateDeploymentJobResult.h:387
Aws::RoboMaker::Model::CreateDeploymentJobResult::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: CreateDeploymentJobResult.h:179
DeploymentConfig.h
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetFleet
void SetFleet(const char *value)
Definition: CreateDeploymentJobResult.h:96
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithFailureReason
CreateDeploymentJobResult & WithFailureReason(Aws::String &&value)
Definition: CreateDeploymentJobResult.h:204
Aws::RoboMaker::Model::CreateDeploymentJobResult::AddDeploymentApplicationConfigs
CreateDeploymentJobResult & AddDeploymentApplicationConfigs(DeploymentApplicationConfig &&value)
Definition: CreateDeploymentJobResult.h:173
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithArn
CreateDeploymentJobResult & WithArn(const Aws::String &value)
Definition: CreateDeploymentJobResult.h:65
Aws::RoboMaker::Model::DeploymentJobErrorCode
DeploymentJobErrorCode
Definition: DeploymentJobErrorCode.h:17
Aws::RoboMaker::Model::CreateDeploymentJobResult::GetStatus
const DeploymentStatus & GetStatus() const
Definition: CreateDeploymentJobResult.h:117
Aws::RoboMaker::Model::CreateDeploymentJobResult::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: CreateDeploymentJobResult.h:361
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithFailureReason
CreateDeploymentJobResult & WithFailureReason(const char *value)
Definition: CreateDeploymentJobResult.h:209
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetDeploymentConfig
void SetDeploymentConfig(DeploymentConfig &&value)
Definition: CreateDeploymentJobResult.h:397
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithCreatedAt
CreateDeploymentJobResult & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: CreateDeploymentJobResult.h:381
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithFleet
CreateDeploymentJobResult & WithFleet(const char *value)
Definition: CreateDeploymentJobResult.h:111
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetFleet
void SetFleet(Aws::String &&value)
Definition: CreateDeploymentJobResult.h:91
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateDeploymentJobResult.h:50
Aws::RoboMaker::Model::CreateDeploymentJobResult::AddTags
CreateDeploymentJobResult & AddTags(Aws::String &&key, const char *value)
Definition: CreateDeploymentJobResult.h:463
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateDeploymentJobResult.h:418
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithFailureCode
CreateDeploymentJobResult & WithFailureCode(DeploymentJobErrorCode &&value)
Definition: CreateDeploymentJobResult.h:355
Aws::RoboMaker::Model::CreateDeploymentJobResult::AddTags
CreateDeploymentJobResult & AddTags(const char *key, const char *value)
Definition: CreateDeploymentJobResult.h:468
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: CreateDeploymentJobResult.h:184
AWSString.h
Aws::RoboMaker::Model::DeploymentConfig
Definition: DeploymentConfig.h:32
Aws::RoboMaker::Model::CreateDeploymentJobResult::operator=
CreateDeploymentJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeploymentStatus.h
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithTags
CreateDeploymentJobResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateDeploymentJobResult.h:433
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetDeploymentApplicationConfigs
void SetDeploymentApplicationConfigs(Aws::Vector< DeploymentApplicationConfig > &&value)
Definition: CreateDeploymentJobResult.h:153
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithFailureCode
CreateDeploymentJobResult & WithFailureCode(const DeploymentJobErrorCode &value)
Definition: CreateDeploymentJobResult.h:326
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetFailureCode
void SetFailureCode(DeploymentJobErrorCode &&value)
Definition: CreateDeploymentJobResult.h:297
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetStatus
void SetStatus(const DeploymentStatus &value)
Definition: CreateDeploymentJobResult.h:122
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithDeploymentApplicationConfigs
CreateDeploymentJobResult & WithDeploymentApplicationConfigs(const Aws::Vector< DeploymentApplicationConfig > &value)
Definition: CreateDeploymentJobResult.h:158
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithStatus
CreateDeploymentJobResult & WithStatus(const DeploymentStatus &value)
Definition: CreateDeploymentJobResult.h:132
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::CreateDeploymentJobResult::CreateDeploymentJobResult
CreateDeploymentJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::CreateDeploymentJobResult
Definition: CreateDeploymentJobResult.h:35
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: CreateDeploymentJobResult.h:189
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithDeploymentApplicationConfigs
CreateDeploymentJobResult & WithDeploymentApplicationConfigs(Aws::Vector< DeploymentApplicationConfig > &&value)
Definition: CreateDeploymentJobResult.h:163
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: CreateDeploymentJobResult.h:371
Aws::RoboMaker::Model::CreateDeploymentJobResult::AddTags
CreateDeploymentJobResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateDeploymentJobResult.h:438
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetFailureReason
void SetFailureReason(const char *value)
Definition: CreateDeploymentJobResult.h:194
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetFailureCode
void SetFailureCode(const DeploymentJobErrorCode &value)
Definition: CreateDeploymentJobResult.h:268
Aws::RoboMaker::Model::CreateDeploymentJobResult::WithFleet
CreateDeploymentJobResult & WithFleet(const Aws::String &value)
Definition: CreateDeploymentJobResult.h:101
Aws::RoboMaker::Model::CreateDeploymentJobResult::GetFleet
const Aws::String & GetFleet() const
Definition: CreateDeploymentJobResult.h:81
Aws::RoboMaker::Model::CreateDeploymentJobResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateDeploymentJobResult.h:413
AWSMap.h
Aws::RoboMaker::Model::CreateDeploymentJobResult::AddDeploymentApplicationConfigs
CreateDeploymentJobResult & AddDeploymentApplicationConfigs(const DeploymentApplicationConfig &value)
Definition: CreateDeploymentJobResult.h:168
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: CreateDeploymentJobResult.h:366
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::RoboMaker::Model::CreateDeploymentJobResult::CreateDeploymentJobResult
CreateDeploymentJobResult()
Aws::RoboMaker::Model::CreateDeploymentJobResult::SetDeploymentConfig
void SetDeploymentConfig(const DeploymentConfig &value)
Definition: CreateDeploymentJobResult.h:392
Aws::RoboMaker::Model::CreateDeploymentJobResult::GetDeploymentApplicationConfigs
const Aws::Vector< DeploymentApplicationConfig > & GetDeploymentApplicationConfigs() const
Definition: CreateDeploymentJobResult.h:143
Aws::RoboMaker::Model::DeploymentApplicationConfig
Definition: DeploymentApplicationConfig.h:34