7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ecs/ECS_EXPORTS.h>
11#include <aws/ecs/model/DeploymentConfiguration.h>
12#include <aws/ecs/model/Rollback.h>
13#include <aws/ecs/model/ServiceDeploymentAlarms.h>
14#include <aws/ecs/model/ServiceDeploymentCircuitBreaker.h>
15#include <aws/ecs/model/ServiceDeploymentLifecycleStage.h>
16#include <aws/ecs/model/ServiceDeploymentStatus.h>
17#include <aws/ecs/model/ServiceRevisionSummary.h>
55 template <
typename ServiceDeploymentArnT = Aws::String>
57 m_serviceDeploymentArnHasBeenSet =
true;
58 m_serviceDeploymentArn = std::forward<ServiceDeploymentArnT>(value);
60 template <
typename ServiceDeploymentArnT = Aws::String>
73 template <
typename ServiceArnT = Aws::String>
75 m_serviceArnHasBeenSet =
true;
76 m_serviceArn = std::forward<ServiceArnT>(value);
78 template <
typename ServiceArnT = Aws::String>
91 template <
typename ClusterArnT = Aws::String>
93 m_clusterArnHasBeenSet =
true;
94 m_clusterArn = std::forward<ClusterArnT>(value);
96 template <
typename ClusterArnT = Aws::String>
110 template <
typename CreatedAtT = Aws::Utils::DateTime>
112 m_createdAtHasBeenSet =
true;
113 m_createdAt = std::forward<CreatedAtT>(value);
115 template <
typename CreatedAtT = Aws::Utils::DateTime>
129 template <
typename StartedAtT = Aws::Utils::DateTime>
131 m_startedAtHasBeenSet =
true;
132 m_startedAt = std::forward<StartedAtT>(value);
134 template <
typename StartedAtT = Aws::Utils::DateTime>
148 template <
typename FinishedAtT = Aws::Utils::DateTime>
150 m_finishedAtHasBeenSet =
true;
151 m_finishedAt = std::forward<FinishedAtT>(value);
153 template <
typename FinishedAtT = Aws::Utils::DateTime>
170 template <
typename StoppedAtT = Aws::Utils::DateTime>
172 m_stoppedAtHasBeenSet =
true;
173 m_stoppedAt = std::forward<StoppedAtT>(value);
175 template <
typename StoppedAtT = Aws::Utils::DateTime>
189 template <
typename UpdatedAtT = Aws::Utils::DateTime>
191 m_updatedAtHasBeenSet =
true;
192 m_updatedAt = std::forward<UpdatedAtT>(value);
194 template <
typename UpdatedAtT = Aws::Utils::DateTime>
207 template <
typename SourceServiceRevisionsT = Aws::Vector<ServiceRevisionSummary>>
209 m_sourceServiceRevisionsHasBeenSet =
true;
210 m_sourceServiceRevisions = std::forward<SourceServiceRevisionsT>(value);
212 template <
typename SourceServiceRevisionsT = Aws::Vector<ServiceRevisionSummary>>
217 template <
typename SourceServiceRevisionsT = ServiceRevisionSummary>
219 m_sourceServiceRevisionsHasBeenSet =
true;
220 m_sourceServiceRevisions.emplace_back(std::forward<SourceServiceRevisionsT>(value));
231 template <
typename TargetServiceRevisionT = ServiceRevisionSummary>
233 m_targetServiceRevisionHasBeenSet =
true;
234 m_targetServiceRevision = std::forward<TargetServiceRevisionT>(value);
236 template <
typename TargetServiceRevisionT = ServiceRevisionSummary>
250 m_statusHasBeenSet =
true;
266 template <
typename StatusReasonT = Aws::String>
268 m_statusReasonHasBeenSet =
true;
269 m_statusReason = std::forward<StatusReasonT>(value);
271 template <
typename StatusReasonT = Aws::String>
308 m_lifecycleStageHasBeenSet =
true;
309 m_lifecycleStage = value;
321 template <
typename DeploymentConfigurationT = DeploymentConfiguration>
323 m_deploymentConfigurationHasBeenSet =
true;
324 m_deploymentConfiguration = std::forward<DeploymentConfigurationT>(value);
326 template <
typename DeploymentConfigurationT = DeploymentConfiguration>
340 template <
typename RollbackT = Rollback>
342 m_rollbackHasBeenSet =
true;
343 m_rollback = std::forward<RollbackT>(value);
345 template <
typename RollbackT = Rollback>
359 template <
typename DeploymentCircuitBreakerT = ServiceDeploymentCircuitBreaker>
361 m_deploymentCircuitBreakerHasBeenSet =
true;
362 m_deploymentCircuitBreaker = std::forward<DeploymentCircuitBreakerT>(value);
364 template <
typename DeploymentCircuitBreakerT = ServiceDeploymentCircuitBreaker>
377 template <
typename AlarmsT = ServiceDeploymentAlarms>
379 m_alarmsHasBeenSet =
true;
380 m_alarms = std::forward<AlarmsT>(value);
382 template <
typename AlarmsT = ServiceDeploymentAlarms>
407 ServiceRevisionSummary m_targetServiceRevision;
415 DeploymentConfiguration m_deploymentConfiguration;
419 ServiceDeploymentCircuitBreaker m_deploymentCircuitBreaker;
421 ServiceDeploymentAlarms m_alarms;
422 bool m_serviceDeploymentArnHasBeenSet =
false;
423 bool m_serviceArnHasBeenSet =
false;
424 bool m_clusterArnHasBeenSet =
false;
425 bool m_createdAtHasBeenSet =
false;
426 bool m_startedAtHasBeenSet =
false;
427 bool m_finishedAtHasBeenSet =
false;
428 bool m_stoppedAtHasBeenSet =
false;
429 bool m_updatedAtHasBeenSet =
false;
430 bool m_sourceServiceRevisionsHasBeenSet =
false;
431 bool m_targetServiceRevisionHasBeenSet =
false;
432 bool m_statusHasBeenSet =
false;
433 bool m_statusReasonHasBeenSet =
false;
434 bool m_lifecycleStageHasBeenSet =
false;
435 bool m_deploymentConfigurationHasBeenSet =
false;
436 bool m_rollbackHasBeenSet =
false;
437 bool m_deploymentCircuitBreakerHasBeenSet =
false;
438 bool m_alarmsHasBeenSet =
false;
void SetTargetServiceRevision(TargetServiceRevisionT &&value)
bool TargetServiceRevisionHasBeenSet() const
bool StatusReasonHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
ServiceDeployment & WithSourceServiceRevisions(SourceServiceRevisionsT &&value)
void SetDeploymentCircuitBreaker(DeploymentCircuitBreakerT &&value)
bool StartedAtHasBeenSet() const
bool DeploymentCircuitBreakerHasBeenSet() const
void SetServiceDeploymentArn(ServiceDeploymentArnT &&value)
const Aws::String & GetServiceArn() const
const Rollback & GetRollback() const
void SetAlarms(AlarmsT &&value)
ServiceDeploymentLifecycleStage GetLifecycleStage() const
const Aws::Utils::DateTime & GetStartedAt() const
bool FinishedAtHasBeenSet() const
const ServiceDeploymentAlarms & GetAlarms() const
const ServiceDeploymentCircuitBreaker & GetDeploymentCircuitBreaker() const
void SetLifecycleStage(ServiceDeploymentLifecycleStage value)
ServiceDeployment & WithClusterArn(ClusterArnT &&value)
ServiceDeployment & AddSourceServiceRevisions(SourceServiceRevisionsT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
ServiceDeployment & WithRollback(RollbackT &&value)
ServiceDeployment & WithServiceArn(ServiceArnT &&value)
bool UpdatedAtHasBeenSet() const
const ServiceRevisionSummary & GetTargetServiceRevision() const
ServiceDeployment & WithStatus(ServiceDeploymentStatus value)
void SetRollback(RollbackT &&value)
bool ClusterArnHasBeenSet() const
const Aws::Utils::DateTime & GetStoppedAt() const
ServiceDeployment & WithUpdatedAt(UpdatedAtT &&value)
ServiceDeployment & WithAlarms(AlarmsT &&value)
void SetDeploymentConfiguration(DeploymentConfigurationT &&value)
void SetStatus(ServiceDeploymentStatus value)
bool CreatedAtHasBeenSet() const
const Aws::String & GetStatusReason() const
const Aws::Vector< ServiceRevisionSummary > & GetSourceServiceRevisions() const
bool LifecycleStageHasBeenSet() const
AWS_ECS_API ServiceDeployment & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DeploymentConfigurationHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
ServiceDeployment & WithCreatedAt(CreatedAtT &&value)
bool ServiceArnHasBeenSet() const
ServiceDeployment & WithStartedAt(StartedAtT &&value)
ServiceDeployment & WithTargetServiceRevision(TargetServiceRevisionT &&value)
void SetSourceServiceRevisions(SourceServiceRevisionsT &&value)
bool RollbackHasBeenSet() const
void SetStoppedAt(StoppedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetStartedAt(StartedAtT &&value)
ServiceDeployment & WithFinishedAt(FinishedAtT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceDeployment & WithDeploymentConfiguration(DeploymentConfigurationT &&value)
const Aws::Utils::DateTime & GetFinishedAt() const
void SetClusterArn(ClusterArnT &&value)
void SetStatusReason(StatusReasonT &&value)
const Aws::String & GetServiceDeploymentArn() const
void SetFinishedAt(FinishedAtT &&value)
ServiceDeployment & WithStatusReason(StatusReasonT &&value)
AWS_ECS_API ServiceDeployment(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API ServiceDeployment()=default
const Aws::String & GetClusterArn() const
ServiceDeployment & WithDeploymentCircuitBreaker(DeploymentCircuitBreakerT &&value)
bool ServiceDeploymentArnHasBeenSet() const
bool AlarmsHasBeenSet() const
bool SourceServiceRevisionsHasBeenSet() const
void SetServiceArn(ServiceArnT &&value)
bool StoppedAtHasBeenSet() const
const DeploymentConfiguration & GetDeploymentConfiguration() const
ServiceDeployment & WithServiceDeploymentArn(ServiceDeploymentArnT &&value)
ServiceDeployment & WithStoppedAt(StoppedAtT &&value)
ServiceDeploymentStatus GetStatus() const
bool StatusHasBeenSet() const
ServiceDeployment & WithLifecycleStage(ServiceDeploymentLifecycleStage value)
ServiceDeploymentLifecycleStage
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue