AWS SDK for C++  1.9.108
AWS SDK for C++
SyncDeploymentJobResult.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 template<typename RESULT_TYPE>
20 class AmazonWebServiceResult;
21 
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace RoboMaker
30 {
31 namespace Model
32 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetArn() const{ return m_arn; }
45 
49  inline void SetArn(const Aws::String& value) { m_arn = value; }
50 
54  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
55 
59  inline void SetArn(const char* value) { m_arn.assign(value); }
60 
64  inline SyncDeploymentJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
65 
69  inline SyncDeploymentJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
70 
74  inline SyncDeploymentJobResult& WithArn(const char* value) { SetArn(value); return *this;}
75 
76 
80  inline const Aws::String& GetFleet() const{ return m_fleet; }
81 
85  inline void SetFleet(const Aws::String& value) { m_fleet = value; }
86 
90  inline void SetFleet(Aws::String&& value) { m_fleet = std::move(value); }
91 
95  inline void SetFleet(const char* value) { m_fleet.assign(value); }
96 
100  inline SyncDeploymentJobResult& WithFleet(const Aws::String& value) { SetFleet(value); return *this;}
101 
105  inline SyncDeploymentJobResult& WithFleet(Aws::String&& value) { SetFleet(std::move(value)); return *this;}
106 
110  inline SyncDeploymentJobResult& WithFleet(const char* value) { SetFleet(value); return *this;}
111 
112 
116  inline const DeploymentStatus& GetStatus() const{ return m_status; }
117 
121  inline void SetStatus(const DeploymentStatus& value) { m_status = value; }
122 
126  inline void SetStatus(DeploymentStatus&& value) { m_status = std::move(value); }
127 
131  inline SyncDeploymentJobResult& WithStatus(const DeploymentStatus& value) { SetStatus(value); return *this;}
132 
136  inline SyncDeploymentJobResult& WithStatus(DeploymentStatus&& value) { SetStatus(std::move(value)); return *this;}
137 
138 
142  inline const DeploymentConfig& GetDeploymentConfig() const{ return m_deploymentConfig; }
143 
147  inline void SetDeploymentConfig(const DeploymentConfig& value) { m_deploymentConfig = value; }
148 
152  inline void SetDeploymentConfig(DeploymentConfig&& value) { m_deploymentConfig = std::move(value); }
153 
157  inline SyncDeploymentJobResult& WithDeploymentConfig(const DeploymentConfig& value) { SetDeploymentConfig(value); return *this;}
158 
162  inline SyncDeploymentJobResult& WithDeploymentConfig(DeploymentConfig&& value) { SetDeploymentConfig(std::move(value)); return *this;}
163 
164 
168  inline const Aws::Vector<DeploymentApplicationConfig>& GetDeploymentApplicationConfigs() const{ return m_deploymentApplicationConfigs; }
169 
173  inline void SetDeploymentApplicationConfigs(const Aws::Vector<DeploymentApplicationConfig>& value) { m_deploymentApplicationConfigs = value; }
174 
178  inline void SetDeploymentApplicationConfigs(Aws::Vector<DeploymentApplicationConfig>&& value) { m_deploymentApplicationConfigs = std::move(value); }
179 
183  inline SyncDeploymentJobResult& WithDeploymentApplicationConfigs(const Aws::Vector<DeploymentApplicationConfig>& value) { SetDeploymentApplicationConfigs(value); return *this;}
184 
188  inline SyncDeploymentJobResult& WithDeploymentApplicationConfigs(Aws::Vector<DeploymentApplicationConfig>&& value) { SetDeploymentApplicationConfigs(std::move(value)); return *this;}
189 
193  inline SyncDeploymentJobResult& AddDeploymentApplicationConfigs(const DeploymentApplicationConfig& value) { m_deploymentApplicationConfigs.push_back(value); return *this; }
194 
198  inline SyncDeploymentJobResult& AddDeploymentApplicationConfigs(DeploymentApplicationConfig&& value) { m_deploymentApplicationConfigs.push_back(std::move(value)); return *this; }
199 
200 
204  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
205 
209  inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
210 
214  inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
215 
219  inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
220 
224  inline SyncDeploymentJobResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
225 
229  inline SyncDeploymentJobResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
230 
234  inline SyncDeploymentJobResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
235 
236 
262  inline const DeploymentJobErrorCode& GetFailureCode() const{ return m_failureCode; }
263 
289  inline void SetFailureCode(const DeploymentJobErrorCode& value) { m_failureCode = value; }
290 
316  inline void SetFailureCode(DeploymentJobErrorCode&& value) { m_failureCode = std::move(value); }
317 
343  inline SyncDeploymentJobResult& WithFailureCode(const DeploymentJobErrorCode& value) { SetFailureCode(value); return *this;}
344 
370  inline SyncDeploymentJobResult& WithFailureCode(DeploymentJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
371 
372 
376  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
377 
381  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
382 
386  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
387 
391  inline SyncDeploymentJobResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
392 
396  inline SyncDeploymentJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
397 
398  private:
399 
400  Aws::String m_arn;
401 
402  Aws::String m_fleet;
403 
404  DeploymentStatus m_status;
405 
406  DeploymentConfig m_deploymentConfig;
407 
408  Aws::Vector<DeploymentApplicationConfig> m_deploymentApplicationConfigs;
409 
410  Aws::String m_failureReason;
411 
412  DeploymentJobErrorCode m_failureCode;
413 
414  Aws::Utils::DateTime m_createdAt;
415  };
416 
417 } // namespace Model
418 } // namespace RoboMaker
419 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RoboMaker::Model::SyncDeploymentJobResult::GetFleet
const Aws::String & GetFleet() const
Definition: SyncDeploymentJobResult.h:80
Aws::RoboMaker::Model::SyncDeploymentJobResult::GetStatus
const DeploymentStatus & GetStatus() const
Definition: SyncDeploymentJobResult.h:116
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetFleet
void SetFleet(Aws::String &&value)
Definition: SyncDeploymentJobResult.h:90
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetFailureReason
void SetFailureReason(const char *value)
Definition: SyncDeploymentJobResult.h:219
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetFleet
void SetFleet(const Aws::String &value)
Definition: SyncDeploymentJobResult.h:85
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetDeploymentConfig
void SetDeploymentConfig(DeploymentConfig &&value)
Definition: SyncDeploymentJobResult.h:152
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithFleet
SyncDeploymentJobResult & WithFleet(const char *value)
Definition: SyncDeploymentJobResult.h:110
Aws::RoboMaker::Model::DeploymentStatus
DeploymentStatus
Definition: DeploymentStatus.h:17
DeploymentApplicationConfig.h
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithArn
SyncDeploymentJobResult & WithArn(const Aws::String &value)
Definition: SyncDeploymentJobResult.h:64
Aws::RoboMaker::Model::SyncDeploymentJobResult::operator=
SyncDeploymentJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetArn
void SetArn(Aws::String &&value)
Definition: SyncDeploymentJobResult.h:54
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetDeploymentApplicationConfigs
void SetDeploymentApplicationConfigs(const Aws::Vector< DeploymentApplicationConfig > &value)
Definition: SyncDeploymentJobResult.h:173
DateTime.h
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: SyncDeploymentJobResult.h:386
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithStatus
SyncDeploymentJobResult & WithStatus(const DeploymentStatus &value)
Definition: SyncDeploymentJobResult.h:131
DeploymentJobErrorCode.h
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithFailureCode
SyncDeploymentJobResult & WithFailureCode(const DeploymentJobErrorCode &value)
Definition: SyncDeploymentJobResult.h:343
Aws::RoboMaker::Model::SyncDeploymentJobResult::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: SyncDeploymentJobResult.h:376
DeploymentConfig.h
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithDeploymentApplicationConfigs
SyncDeploymentJobResult & WithDeploymentApplicationConfigs(Aws::Vector< DeploymentApplicationConfig > &&value)
Definition: SyncDeploymentJobResult.h:188
Aws::RoboMaker::Model::DeploymentJobErrorCode
DeploymentJobErrorCode
Definition: DeploymentJobErrorCode.h:17
Aws::RoboMaker::Model::SyncDeploymentJobResult
Definition: SyncDeploymentJobResult.h:34
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithArn
SyncDeploymentJobResult & WithArn(const char *value)
Definition: SyncDeploymentJobResult.h:74
Aws::RoboMaker::Model::SyncDeploymentJobResult::SyncDeploymentJobResult
SyncDeploymentJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::SyncDeploymentJobResult::GetArn
const Aws::String & GetArn() const
Definition: SyncDeploymentJobResult.h:44
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: SyncDeploymentJobResult.h:209
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithFailureCode
SyncDeploymentJobResult & WithFailureCode(DeploymentJobErrorCode &&value)
Definition: SyncDeploymentJobResult.h:370
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetFleet
void SetFleet(const char *value)
Definition: SyncDeploymentJobResult.h:95
Aws::RoboMaker::Model::SyncDeploymentJobResult::SyncDeploymentJobResult
SyncDeploymentJobResult()
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetArn
void SetArn(const Aws::String &value)
Definition: SyncDeploymentJobResult.h:49
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithFailureReason
SyncDeploymentJobResult & WithFailureReason(Aws::String &&value)
Definition: SyncDeploymentJobResult.h:229
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetFailureCode
void SetFailureCode(const DeploymentJobErrorCode &value)
Definition: SyncDeploymentJobResult.h:289
Aws::RoboMaker::Model::SyncDeploymentJobResult::GetDeploymentConfig
const DeploymentConfig & GetDeploymentConfig() const
Definition: SyncDeploymentJobResult.h:142
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: SyncDeploymentJobResult.h:381
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithDeploymentConfig
SyncDeploymentJobResult & WithDeploymentConfig(const DeploymentConfig &value)
Definition: SyncDeploymentJobResult.h:157
AWSString.h
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetDeploymentConfig
void SetDeploymentConfig(const DeploymentConfig &value)
Definition: SyncDeploymentJobResult.h:147
Aws::RoboMaker::Model::DeploymentConfig
Definition: DeploymentConfig.h:32
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithFleet
SyncDeploymentJobResult & WithFleet(const Aws::String &value)
Definition: SyncDeploymentJobResult.h:100
DeploymentStatus.h
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithCreatedAt
SyncDeploymentJobResult & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: SyncDeploymentJobResult.h:391
Aws::RoboMaker::Model::SyncDeploymentJobResult::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: SyncDeploymentJobResult.h:204
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithDeploymentConfig
SyncDeploymentJobResult & WithDeploymentConfig(DeploymentConfig &&value)
Definition: SyncDeploymentJobResult.h:162
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: SyncDeploymentJobResult.h:214
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithArn
SyncDeploymentJobResult & WithArn(Aws::String &&value)
Definition: SyncDeploymentJobResult.h:69
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithStatus
SyncDeploymentJobResult & WithStatus(DeploymentStatus &&value)
Definition: SyncDeploymentJobResult.h:136
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetDeploymentApplicationConfigs
void SetDeploymentApplicationConfigs(Aws::Vector< DeploymentApplicationConfig > &&value)
Definition: SyncDeploymentJobResult.h:178
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithFailureReason
SyncDeploymentJobResult & WithFailureReason(const char *value)
Definition: SyncDeploymentJobResult.h:234
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithFleet
SyncDeploymentJobResult & WithFleet(Aws::String &&value)
Definition: SyncDeploymentJobResult.h:105
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetFailureCode
void SetFailureCode(DeploymentJobErrorCode &&value)
Definition: SyncDeploymentJobResult.h:316
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::SyncDeploymentJobResult::AddDeploymentApplicationConfigs
SyncDeploymentJobResult & AddDeploymentApplicationConfigs(const DeploymentApplicationConfig &value)
Definition: SyncDeploymentJobResult.h:193
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithCreatedAt
SyncDeploymentJobResult & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: SyncDeploymentJobResult.h:396
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetStatus
void SetStatus(const DeploymentStatus &value)
Definition: SyncDeploymentJobResult.h:121
Aws::RoboMaker::Model::SyncDeploymentJobResult::GetDeploymentApplicationConfigs
const Aws::Vector< DeploymentApplicationConfig > & GetDeploymentApplicationConfigs() const
Definition: SyncDeploymentJobResult.h:168
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithFailureReason
SyncDeploymentJobResult & WithFailureReason(const Aws::String &value)
Definition: SyncDeploymentJobResult.h:224
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetStatus
void SetStatus(DeploymentStatus &&value)
Definition: SyncDeploymentJobResult.h:126
Aws::RoboMaker::Model::SyncDeploymentJobResult::AddDeploymentApplicationConfigs
SyncDeploymentJobResult & AddDeploymentApplicationConfigs(DeploymentApplicationConfig &&value)
Definition: SyncDeploymentJobResult.h:198
Aws::RoboMaker::Model::SyncDeploymentJobResult::WithDeploymentApplicationConfigs
SyncDeploymentJobResult & WithDeploymentApplicationConfigs(const Aws::Vector< DeploymentApplicationConfig > &value)
Definition: SyncDeploymentJobResult.h:183
Aws::RoboMaker::Model::SyncDeploymentJobResult::SetArn
void SetArn(const char *value)
Definition: SyncDeploymentJobResult.h:59
Aws::RoboMaker::Model::SyncDeploymentJobResult::GetFailureCode
const DeploymentJobErrorCode & GetFailureCode() const
Definition: SyncDeploymentJobResult.h:262
Aws::RoboMaker::Model::DeploymentApplicationConfig
Definition: DeploymentApplicationConfig.h:34