7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/robomaker/model/DeploymentStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/robomaker/model/DeploymentConfig.h>
12#include <aws/robomaker/model/DeploymentJobErrorCode.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/robomaker/model/DeploymentApplicationConfig.h>
52 template<
typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
54 template<
typename ArnT = Aws::String>
64 template<
typename FleetT = Aws::String>
65 void SetFleet(FleetT&& value) { m_fleetHasBeenSet =
true; m_fleet = std::forward<FleetT>(value); }
66 template<
typename FleetT = Aws::String>
86 template<
typename DeploymentApplicationConfigsT = Aws::Vector<DeploymentApplicationConfig>>
87 void SetDeploymentApplicationConfigs(DeploymentApplicationConfigsT&& value) { m_deploymentApplicationConfigsHasBeenSet =
true; m_deploymentApplicationConfigs = std::forward<DeploymentApplicationConfigsT>(value); }
88 template<
typename DeploymentApplicationConfigsT = Aws::Vector<DeploymentApplicationConfig>>
90 template<
typename DeploymentApplicationConfigsT = DeploymentApplicationConfig>
91 DeploymentJob&
AddDeploymentApplicationConfigs(DeploymentApplicationConfigsT&& value) { m_deploymentApplicationConfigsHasBeenSet =
true; m_deploymentApplicationConfigs.emplace_back(std::forward<DeploymentApplicationConfigsT>(value));
return *
this; }
100 template<
typename DeploymentConfigT = DeploymentConfig>
101 void SetDeploymentConfig(DeploymentConfigT&& value) { m_deploymentConfigHasBeenSet =
true; m_deploymentConfig = std::forward<DeploymentConfigT>(value); }
102 template<
typename DeploymentConfigT = DeploymentConfig>
112 template<
typename FailureReasonT = Aws::String>
113 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
114 template<
typename FailureReasonT = Aws::String>
135 template<
typename CreatedAtT = Aws::Utils::DateTime>
136 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
137 template<
typename CreatedAtT = Aws::Utils::DateTime>
143 bool m_arnHasBeenSet =
false;
146 bool m_fleetHasBeenSet =
false;
149 bool m_statusHasBeenSet =
false;
152 bool m_deploymentApplicationConfigsHasBeenSet =
false;
154 DeploymentConfig m_deploymentConfig;
155 bool m_deploymentConfigHasBeenSet =
false;
158 bool m_failureReasonHasBeenSet =
false;
161 bool m_failureCodeHasBeenSet =
false;
164 bool m_createdAtHasBeenSet =
false;
DeploymentJob & WithStatus(DeploymentStatus value)
DeploymentJob & WithDeploymentConfig(DeploymentConfigT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool CreatedAtHasBeenSet() const
void SetStatus(DeploymentStatus value)
void SetFailureCode(DeploymentJobErrorCode value)
bool StatusHasBeenSet() const
void SetFleet(FleetT &&value)
bool FailureCodeHasBeenSet() const
const Aws::String & GetFleet() const
AWS_ROBOMAKER_API DeploymentJob & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFailureReason() const
bool FleetHasBeenSet() const
void SetDeploymentConfig(DeploymentConfigT &&value)
const Aws::Vector< DeploymentApplicationConfig > & GetDeploymentApplicationConfigs() const
void SetArn(ArnT &&value)
DeploymentJob & WithCreatedAt(CreatedAtT &&value)
AWS_ROBOMAKER_API DeploymentJob()=default
bool DeploymentApplicationConfigsHasBeenSet() const
const DeploymentConfig & GetDeploymentConfig() const
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
DeploymentJobErrorCode GetFailureCode() const
DeploymentStatus GetStatus() const
DeploymentJob & WithFleet(FleetT &&value)
DeploymentJob & AddDeploymentApplicationConfigs(DeploymentApplicationConfigsT &&value)
DeploymentJob & WithFailureReason(FailureReasonT &&value)
const Aws::String & GetArn() const
bool ArnHasBeenSet() const
void SetDeploymentApplicationConfigs(DeploymentApplicationConfigsT &&value)
AWS_ROBOMAKER_API DeploymentJob(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(CreatedAtT &&value)
DeploymentJob & WithArn(ArnT &&value)
bool FailureReasonHasBeenSet() const
void SetFailureReason(FailureReasonT &&value)
bool DeploymentConfigHasBeenSet() const
DeploymentJob & WithDeploymentApplicationConfigs(DeploymentApplicationConfigsT &&value)
DeploymentJob & WithFailureCode(DeploymentJobErrorCode value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue