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/LaunchType.h>
12#include <aws/ecs/model/NetworkConfiguration.h>
13#include <aws/ecs/model/DeploymentRolloutState.h>
14#include <aws/ecs/model/ServiceConnectConfiguration.h>
15#include <aws/ecs/model/DeploymentEphemeralStorage.h>
16#include <aws/ecs/model/CapacityProviderStrategyItem.h>
17#include <aws/ecs/model/ServiceConnectServiceResource.h>
18#include <aws/ecs/model/ServiceVolumeConfiguration.h>
59 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
60 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
79 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
94 inline void SetTaskDefinition(
const char* value) { m_taskDefinitionHasBeenSet =
true; m_taskDefinition.assign(value); }
107 inline void SetDesiredCount(
int value) { m_desiredCountHasBeenSet =
true; m_desiredCount = value; }
118 inline void SetPendingCount(
int value) { m_pendingCountHasBeenSet =
true; m_pendingCount = value; }
129 inline void SetRunningCount(
int value) { m_runningCountHasBeenSet =
true; m_runningCount = value; }
144 inline void SetFailedTasks(
int value) { m_failedTasksHasBeenSet =
true; m_failedTasks = value; }
217 inline void SetPlatformVersion(
const char* value) { m_platformVersionHasBeenSet =
true; m_platformVersion.assign(value); }
235 inline void SetPlatformFamily(
const char* value) { m_platformFamilyHasBeenSet =
true; m_platformFamily.assign(value); }
284 inline void SetRolloutStateReason(
const char* value) { m_rolloutStateReasonHasBeenSet =
true; m_rolloutStateReason.assign(value); }
362 bool m_idHasBeenSet =
false;
365 bool m_statusHasBeenSet =
false;
368 bool m_taskDefinitionHasBeenSet =
false;
371 bool m_desiredCountHasBeenSet =
false;
374 bool m_pendingCountHasBeenSet =
false;
377 bool m_runningCountHasBeenSet =
false;
380 bool m_failedTasksHasBeenSet =
false;
383 bool m_createdAtHasBeenSet =
false;
386 bool m_updatedAtHasBeenSet =
false;
389 bool m_capacityProviderStrategyHasBeenSet =
false;
392 bool m_launchTypeHasBeenSet =
false;
395 bool m_platformVersionHasBeenSet =
false;
398 bool m_platformFamilyHasBeenSet =
false;
401 bool m_networkConfigurationHasBeenSet =
false;
404 bool m_rolloutStateHasBeenSet =
false;
407 bool m_rolloutStateReasonHasBeenSet =
false;
410 bool m_serviceConnectConfigurationHasBeenSet =
false;
413 bool m_serviceConnectResourcesHasBeenSet =
false;
416 bool m_volumeConfigurationsHasBeenSet =
false;
419 bool m_fargateEphemeralStorageHasBeenSet =
false;
Deployment & WithPlatformVersion(Aws::String &&value)
void SetTaskDefinition(Aws::String &&value)
void SetCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
const LaunchType & GetLaunchType() const
void SetFailedTasks(int value)
const NetworkConfiguration & GetNetworkConfiguration() const
Deployment & WithId(Aws::String &&value)
void SetId(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
int GetFailedTasks() const
bool ServiceConnectResourcesHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
bool FailedTasksHasBeenSet() const
Deployment & WithDesiredCount(int value)
void SetId(Aws::String &&value)
void SetVolumeConfigurations(const Aws::Vector< ServiceVolumeConfiguration > &value)
Deployment & AddVolumeConfigurations(ServiceVolumeConfiguration &&value)
const Aws::Vector< ServiceVolumeConfiguration > & GetVolumeConfigurations() const
void SetNetworkConfiguration(NetworkConfiguration &&value)
Deployment & WithVolumeConfigurations(const Aws::Vector< ServiceVolumeConfiguration > &value)
Deployment & WithPlatformFamily(const char *value)
bool FargateEphemeralStorageHasBeenSet() const
Deployment & WithRolloutState(const DeploymentRolloutState &value)
Deployment & WithRolloutStateReason(const Aws::String &value)
const DeploymentEphemeralStorage & GetFargateEphemeralStorage() const
Deployment & WithFargateEphemeralStorage(DeploymentEphemeralStorage &&value)
Deployment & WithStatus(const Aws::String &value)
bool VolumeConfigurationsHasBeenSet() const
Deployment & AddServiceConnectResources(ServiceConnectServiceResource &&value)
void SetStatus(const char *value)
void SetRolloutState(const DeploymentRolloutState &value)
void SetTaskDefinition(const char *value)
Deployment & WithRolloutStateReason(const char *value)
Deployment & WithTaskDefinition(const Aws::String &value)
void SetTaskDefinition(const Aws::String &value)
Deployment & WithRunningCount(int value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool ServiceConnectConfigurationHasBeenSet() const
void SetStatus(const Aws::String &value)
bool RolloutStateReasonHasBeenSet() const
Deployment & WithPlatformVersion(const char *value)
Deployment & AddCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
Deployment & WithNetworkConfiguration(const NetworkConfiguration &value)
const DeploymentRolloutState & GetRolloutState() const
void SetLaunchType(const LaunchType &value)
void SetServiceConnectConfiguration(ServiceConnectConfiguration &&value)
Deployment & WithPlatformFamily(Aws::String &&value)
Deployment & WithFailedTasks(int value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
bool RolloutStateHasBeenSet() const
bool UpdatedAtHasBeenSet() const
Deployment & WithVolumeConfigurations(Aws::Vector< ServiceVolumeConfiguration > &&value)
AWS_ECS_API Deployment(Aws::Utils::Json::JsonView jsonValue)
bool CreatedAtHasBeenSet() const
void SetServiceConnectResources(Aws::Vector< ServiceConnectServiceResource > &&value)
const Aws::Vector< ServiceConnectServiceResource > & GetServiceConnectResources() const
bool NetworkConfigurationHasBeenSet() const
bool DesiredCountHasBeenSet() const
void SetFargateEphemeralStorage(const DeploymentEphemeralStorage &value)
void SetRolloutStateReason(const Aws::String &value)
bool PlatformFamilyHasBeenSet() const
void SetPlatformFamily(Aws::String &&value)
void SetRunningCount(int value)
const ServiceConnectConfiguration & GetServiceConnectConfiguration() const
Deployment & AddServiceConnectResources(const ServiceConnectServiceResource &value)
void SetDesiredCount(int value)
void SetStatus(Aws::String &&value)
bool IdHasBeenSet() const
bool CapacityProviderStrategyHasBeenSet() const
Deployment & WithServiceConnectResources(const Aws::Vector< ServiceConnectServiceResource > &value)
void SetId(const char *value)
void SetRolloutStateReason(const char *value)
void SetPendingCount(int value)
Deployment & AddVolumeConfigurations(const ServiceVolumeConfiguration &value)
int GetPendingCount() const
Deployment & WithLaunchType(LaunchType &&value)
Deployment & WithId(const char *value)
Deployment & WithRolloutState(DeploymentRolloutState &&value)
void SetServiceConnectConfiguration(const ServiceConnectConfiguration &value)
bool PlatformVersionHasBeenSet() const
const Aws::String & GetStatus() const
const Aws::String & GetRolloutStateReason() const
void SetServiceConnectResources(const Aws::Vector< ServiceConnectServiceResource > &value)
void SetNetworkConfiguration(const NetworkConfiguration &value)
const Aws::String & GetPlatformFamily() const
void SetLaunchType(LaunchType &&value)
void SetRolloutStateReason(Aws::String &&value)
void SetVolumeConfigurations(Aws::Vector< ServiceVolumeConfiguration > &&value)
const Aws::String & GetTaskDefinition() const
void SetPlatformVersion(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
Deployment & WithPendingCount(int value)
Deployment & WithServiceConnectConfiguration(ServiceConnectConfiguration &&value)
void SetCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
void SetPlatformFamily(const char *value)
void SetPlatformVersion(const char *value)
Deployment & WithNetworkConfiguration(NetworkConfiguration &&value)
Deployment & WithCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
Deployment & WithUpdatedAt(const Aws::Utils::DateTime &value)
Deployment & WithCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
Deployment & WithPlatformFamily(const Aws::String &value)
Deployment & WithServiceConnectConfiguration(const ServiceConnectConfiguration &value)
int GetDesiredCount() const
bool TaskDefinitionHasBeenSet() const
Deployment & WithTaskDefinition(Aws::String &&value)
Deployment & WithRolloutStateReason(Aws::String &&value)
Deployment & WithPlatformVersion(const Aws::String &value)
bool RunningCountHasBeenSet() const
void SetPlatformFamily(const Aws::String &value)
Deployment & WithUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetPlatformVersion() const
void SetFargateEphemeralStorage(DeploymentEphemeralStorage &&value)
Deployment & WithFargateEphemeralStorage(const DeploymentEphemeralStorage &value)
bool PendingCountHasBeenSet() const
Deployment & WithLaunchType(const LaunchType &value)
Deployment & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetPlatformVersion(Aws::String &&value)
bool LaunchTypeHasBeenSet() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
bool StatusHasBeenSet() const
const Aws::String & GetId() const
int GetRunningCount() const
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
Deployment & WithStatus(Aws::String &&value)
Deployment & AddCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
Deployment & WithServiceConnectResources(Aws::Vector< ServiceConnectServiceResource > &&value)
Deployment & WithStatus(const char *value)
Deployment & WithCreatedAt(Aws::Utils::DateTime &&value)
AWS_ECS_API Deployment & operator=(Aws::Utils::Json::JsonView jsonValue)
Deployment & WithTaskDefinition(const char *value)
Deployment & WithId(const Aws::String &value)
void SetRolloutState(DeploymentRolloutState &&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