7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ecs/model/ServiceRevisionSummary.h>
12#include <aws/ecs/model/ServiceDeploymentStatus.h>
13#include <aws/ecs/model/DeploymentConfiguration.h>
14#include <aws/ecs/model/Rollback.h>
15#include <aws/ecs/model/ServiceDeploymentCircuitBreaker.h>
16#include <aws/ecs/model/ServiceDeploymentAlarms.h>
62 inline void SetServiceDeploymentArn(
const char* value) { m_serviceDeploymentArnHasBeenSet =
true; m_serviceDeploymentArn.assign(value); }
76 inline void SetServiceArn(
const char* value) { m_serviceArnHasBeenSet =
true; m_serviceArn.assign(value); }
90 inline void SetClusterArn(
const char* value) { m_clusterArnHasBeenSet =
true; m_clusterArn.assign(value); }
211 inline void SetStatusReason(
const char* value) { m_statusReasonHasBeenSet =
true; m_statusReason.assign(value); }
267 bool m_serviceDeploymentArnHasBeenSet =
false;
270 bool m_serviceArnHasBeenSet =
false;
273 bool m_clusterArnHasBeenSet =
false;
276 bool m_createdAtHasBeenSet =
false;
279 bool m_startedAtHasBeenSet =
false;
282 bool m_finishedAtHasBeenSet =
false;
285 bool m_stoppedAtHasBeenSet =
false;
288 bool m_updatedAtHasBeenSet =
false;
291 bool m_sourceServiceRevisionsHasBeenSet =
false;
294 bool m_targetServiceRevisionHasBeenSet =
false;
297 bool m_statusHasBeenSet =
false;
300 bool m_statusReasonHasBeenSet =
false;
303 bool m_deploymentConfigurationHasBeenSet =
false;
306 bool m_rollbackHasBeenSet =
false;
309 bool m_deploymentCircuitBreakerHasBeenSet =
false;
312 bool m_alarmsHasBeenSet =
false;
void SetStatusReason(Aws::String &&value)
void SetDeploymentConfiguration(const DeploymentConfiguration &value)
bool TargetServiceRevisionHasBeenSet() const
bool StatusReasonHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
ServiceDeployment & WithAlarms(const ServiceDeploymentAlarms &value)
ServiceDeployment & WithFinishedAt(const Aws::Utils::DateTime &value)
void SetClusterArn(const Aws::String &value)
ServiceDeployment & WithStatusReason(Aws::String &&value)
ServiceDeployment & WithServiceArn(const char *value)
bool StartedAtHasBeenSet() const
void SetStoppedAt(Aws::Utils::DateTime &&value)
void SetServiceDeploymentArn(const char *value)
bool DeploymentCircuitBreakerHasBeenSet() const
ServiceDeployment & WithServiceDeploymentArn(const char *value)
ServiceDeployment & WithStatusReason(const Aws::String &value)
ServiceDeployment & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetServiceArn() const
ServiceDeployment & WithUpdatedAt(const Aws::Utils::DateTime &value)
const Rollback & GetRollback() const
void SetStartedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
ServiceDeployment & WithDeploymentCircuitBreaker(ServiceDeploymentCircuitBreaker &&value)
const Aws::Utils::DateTime & GetStartedAt() const
ServiceDeployment & WithSourceServiceRevisions(Aws::Vector< ServiceRevisionSummary > &&value)
bool FinishedAtHasBeenSet() const
const ServiceDeploymentAlarms & GetAlarms() const
const ServiceDeploymentCircuitBreaker & GetDeploymentCircuitBreaker() const
ServiceDeployment & WithSourceServiceRevisions(const Aws::Vector< ServiceRevisionSummary > &value)
ServiceDeployment & WithStartedAt(Aws::Utils::DateTime &&value)
ServiceDeployment & WithRollback(const Rollback &value)
void SetFinishedAt(const Aws::Utils::DateTime &value)
ServiceDeployment & WithStartedAt(const Aws::Utils::DateTime &value)
void SetClusterArn(Aws::String &&value)
ServiceDeployment & WithAlarms(ServiceDeploymentAlarms &&value)
ServiceDeployment & WithRollback(Rollback &&value)
void SetClusterArn(const char *value)
bool UpdatedAtHasBeenSet() const
ServiceDeployment & WithStatus(const ServiceDeploymentStatus &value)
const ServiceRevisionSummary & GetTargetServiceRevision() const
ServiceDeployment & WithStatusReason(const char *value)
bool ClusterArnHasBeenSet() const
const Aws::Utils::DateTime & GetStoppedAt() const
ServiceDeployment & WithDeploymentCircuitBreaker(const ServiceDeploymentCircuitBreaker &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
ServiceDeployment & WithDeploymentConfiguration(const DeploymentConfiguration &value)
ServiceDeployment & WithClusterArn(const Aws::String &value)
ServiceDeployment & WithStatus(ServiceDeploymentStatus &&value)
bool CreatedAtHasBeenSet() const
ServiceDeployment & WithFinishedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetStatusReason() const
const Aws::Vector< ServiceRevisionSummary > & GetSourceServiceRevisions() const
ServiceDeployment & WithStoppedAt(Aws::Utils::DateTime &&value)
void SetServiceDeploymentArn(Aws::String &&value)
AWS_ECS_API ServiceDeployment & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DeploymentConfigurationHasBeenSet() const
ServiceDeployment & WithServiceArn(Aws::String &&value)
ServiceDeployment & WithTargetServiceRevision(ServiceRevisionSummary &&value)
void SetFinishedAt(Aws::Utils::DateTime &&value)
bool ServiceArnHasBeenSet() const
void SetAlarms(ServiceDeploymentAlarms &&value)
ServiceDeployment & WithCreatedAt(Aws::Utils::DateTime &&value)
ServiceDeployment & AddSourceServiceRevisions(ServiceRevisionSummary &&value)
void SetDeploymentConfiguration(DeploymentConfiguration &&value)
ServiceDeployment & WithClusterArn(Aws::String &&value)
bool RollbackHasBeenSet() const
void SetStatusReason(const char *value)
const Aws::Utils::DateTime & GetUpdatedAt() const
ServiceDeployment & WithStoppedAt(const Aws::Utils::DateTime &value)
void SetStatus(ServiceDeploymentStatus &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStartedAt(Aws::Utils::DateTime &&value)
void SetRollback(const Rollback &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetFinishedAt() const
void SetServiceArn(const Aws::String &value)
void SetAlarms(const ServiceDeploymentAlarms &value)
const Aws::String & GetServiceDeploymentArn() const
void SetServiceArn(Aws::String &&value)
ServiceDeployment & WithServiceDeploymentArn(Aws::String &&value)
void SetSourceServiceRevisions(const Aws::Vector< ServiceRevisionSummary > &value)
AWS_ECS_API ServiceDeployment()
ServiceDeployment & WithUpdatedAt(Aws::Utils::DateTime &&value)
ServiceDeployment & AddSourceServiceRevisions(const ServiceRevisionSummary &value)
AWS_ECS_API ServiceDeployment(Aws::Utils::Json::JsonView jsonValue)
void SetTargetServiceRevision(ServiceRevisionSummary &&value)
const Aws::String & GetClusterArn() const
void SetDeploymentCircuitBreaker(ServiceDeploymentCircuitBreaker &&value)
bool ServiceDeploymentArnHasBeenSet() const
bool AlarmsHasBeenSet() const
void SetTargetServiceRevision(const ServiceRevisionSummary &value)
bool SourceServiceRevisionsHasBeenSet() const
ServiceDeployment & WithServiceDeploymentArn(const Aws::String &value)
bool StoppedAtHasBeenSet() const
ServiceDeployment & WithDeploymentConfiguration(DeploymentConfiguration &&value)
const DeploymentConfiguration & GetDeploymentConfiguration() const
void SetDeploymentCircuitBreaker(const ServiceDeploymentCircuitBreaker &value)
void SetRollback(Rollback &&value)
ServiceDeployment & WithClusterArn(const char *value)
const ServiceDeploymentStatus & GetStatus() const
void SetStatus(const ServiceDeploymentStatus &value)
void SetServiceArn(const char *value)
ServiceDeployment & WithServiceArn(const Aws::String &value)
void SetStoppedAt(const Aws::Utils::DateTime &value)
void SetServiceDeploymentArn(const Aws::String &value)
bool StatusHasBeenSet() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
ServiceDeployment & WithTargetServiceRevision(const ServiceRevisionSummary &value)
void SetStatusReason(const Aws::String &value)
void SetSourceServiceRevisions(Aws::Vector< ServiceRevisionSummary > &&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