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/ecs/model/LaunchType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ecs/model/NetworkConfiguration.h>
13#include <aws/ecs/model/Scale.h>
14#include <aws/ecs/model/StabilityStatus.h>
15#include <aws/ecs/model/DeploymentEphemeralStorage.h>
16#include <aws/ecs/model/CapacityProviderStrategyItem.h>
17#include <aws/ecs/model/LoadBalancer.h>
18#include <aws/ecs/model/ServiceRegistry.h>
19#include <aws/ecs/model/Tag.h>
61 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
62 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
76 inline void SetTaskSetArn(
const char* value) { m_taskSetArnHasBeenSet =
true; m_taskSetArn.assign(value); }
90 inline void SetServiceArn(
const char* value) { m_serviceArnHasBeenSet =
true; m_serviceArn.assign(value); }
105 inline void SetClusterArn(
const char* value) { m_clusterArnHasBeenSet =
true; m_clusterArn.assign(value); }
122 inline void SetStartedBy(
const char* value) { m_startedByHasBeenSet =
true; m_startedBy.assign(value); }
141 inline void SetExternalId(
const char* value) { m_externalIdHasBeenSet =
true; m_externalId.assign(value); }
160 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
174 inline void SetTaskDefinition(
const char* value) { m_taskDefinitionHasBeenSet =
true; m_taskDefinition.assign(value); }
203 inline void SetPendingCount(
int value) { m_pendingCountHasBeenSet =
true; m_pendingCount = value; }
215 inline void SetRunningCount(
int value) { m_runningCountHasBeenSet =
true; m_runningCount = value; }
286 inline void SetPlatformVersion(
const char* value) { m_platformVersionHasBeenSet =
true; m_platformVersion.assign(value); }
302 inline void SetPlatformFamily(
const char* value) { m_platformFamilyHasBeenSet =
true; m_platformFamily.assign(value); }
358 inline void SetScale(
const Scale& value) { m_scaleHasBeenSet =
true; m_scale = value; }
359 inline void SetScale(
Scale&& value) { m_scaleHasBeenSet =
true; m_scale = std::move(value); }
423 inline TaskSet&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
424 inline TaskSet&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
441 bool m_idHasBeenSet =
false;
444 bool m_taskSetArnHasBeenSet =
false;
447 bool m_serviceArnHasBeenSet =
false;
450 bool m_clusterArnHasBeenSet =
false;
453 bool m_startedByHasBeenSet =
false;
456 bool m_externalIdHasBeenSet =
false;
459 bool m_statusHasBeenSet =
false;
462 bool m_taskDefinitionHasBeenSet =
false;
464 int m_computedDesiredCount;
465 bool m_computedDesiredCountHasBeenSet =
false;
468 bool m_pendingCountHasBeenSet =
false;
471 bool m_runningCountHasBeenSet =
false;
474 bool m_createdAtHasBeenSet =
false;
477 bool m_updatedAtHasBeenSet =
false;
480 bool m_launchTypeHasBeenSet =
false;
483 bool m_capacityProviderStrategyHasBeenSet =
false;
486 bool m_platformVersionHasBeenSet =
false;
489 bool m_platformFamilyHasBeenSet =
false;
492 bool m_networkConfigurationHasBeenSet =
false;
495 bool m_loadBalancersHasBeenSet =
false;
498 bool m_serviceRegistriesHasBeenSet =
false;
501 bool m_scaleHasBeenSet =
false;
504 bool m_stabilityStatusHasBeenSet =
false;
507 bool m_stabilityStatusAtHasBeenSet =
false;
510 bool m_tagsHasBeenSet =
false;
513 bool m_fargateEphemeralStorageHasBeenSet =
false;
TaskSet & WithServiceArn(const char *value)
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
void SetId(const char *value)
bool StabilityStatusAtHasBeenSet() const
bool TaskSetArnHasBeenSet() const
const NetworkConfiguration & GetNetworkConfiguration() const
const Aws::String & GetStatus() const
TaskSet & AddLoadBalancers(LoadBalancer &&value)
const Aws::String & GetPlatformFamily() const
TaskSet & WithLaunchType(LaunchType &&value)
void SetExternalId(Aws::String &&value)
bool TaskDefinitionHasBeenSet() const
void SetPlatformVersion(const char *value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNetworkConfiguration(NetworkConfiguration &&value)
void SetNetworkConfiguration(const NetworkConfiguration &value)
int GetComputedDesiredCount() const
const StabilityStatus & GetStabilityStatus() const
TaskSet & AddCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
void SetServiceArn(const Aws::String &value)
void SetFargateEphemeralStorage(const DeploymentEphemeralStorage &value)
TaskSet & WithExternalId(Aws::String &&value)
TaskSet & WithPlatformFamily(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
bool ExternalIdHasBeenSet() const
TaskSet & WithUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetServiceArn() const
void SetTaskSetArn(const Aws::String &value)
TaskSet & WithClusterArn(Aws::String &&value)
TaskSet & WithPlatformFamily(Aws::String &&value)
TaskSet & WithFargateEphemeralStorage(DeploymentEphemeralStorage &&value)
void SetExternalId(const char *value)
bool LaunchTypeHasBeenSet() const
void SetLaunchType(LaunchType &&value)
bool CreatedAtHasBeenSet() const
TaskSet & WithStartedBy(const char *value)
void SetPlatformVersion(Aws::String &&value)
bool RunningCountHasBeenSet() const
void SetLaunchType(const LaunchType &value)
void SetScale(const Scale &value)
TaskSet & WithTaskSetArn(const char *value)
const Aws::String & GetClusterArn() const
TaskSet & AddCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
AWS_ECS_API TaskSet(Aws::Utils::Json::JsonView jsonValue)
void SetRunningCount(int value)
TaskSet & WithStartedBy(const Aws::String &value)
TaskSet & WithServiceRegistries(Aws::Vector< ServiceRegistry > &&value)
TaskSet & WithNetworkConfiguration(const NetworkConfiguration &value)
bool PlatformFamilyHasBeenSet() const
void SetStatus(const Aws::String &value)
void SetStartedBy(Aws::String &&value)
TaskSet & WithStatus(const char *value)
void SetStabilityStatus(const StabilityStatus &value)
bool CapacityProviderStrategyHasBeenSet() const
void SetClusterArn(const char *value)
int GetRunningCount() const
void SetStartedBy(const Aws::String &value)
const Scale & GetScale() const
void SetId(Aws::String &&value)
void SetPlatformFamily(Aws::String &&value)
void SetTaskSetArn(Aws::String &&value)
void SetServiceArn(const char *value)
TaskSet & WithPlatformVersion(const Aws::String &value)
void SetServiceRegistries(const Aws::Vector< ServiceRegistry > &value)
TaskSet & WithTaskDefinition(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const DeploymentEphemeralStorage & GetFargateEphemeralStorage() const
bool StabilityStatusHasBeenSet() const
bool ScaleHasBeenSet() const
TaskSet & WithClusterArn(const char *value)
bool ServiceArnHasBeenSet() const
bool StatusHasBeenSet() const
const Aws::String & GetPlatformVersion() const
TaskSet & WithId(const char *value)
void SetClusterArn(const Aws::String &value)
TaskSet & WithExternalId(const Aws::String &value)
TaskSet & WithTaskSetArn(Aws::String &&value)
void SetScale(Scale &&value)
void SetPlatformFamily(const char *value)
TaskSet & WithServiceRegistries(const Aws::Vector< ServiceRegistry > &value)
void SetStatus(Aws::String &&value)
const Aws::Vector< LoadBalancer > & GetLoadBalancers() const
TaskSet & WithStabilityStatusAt(Aws::Utils::DateTime &&value)
void SetStartedBy(const char *value)
const Aws::Vector< Tag > & GetTags() const
int GetPendingCount() const
bool FargateEphemeralStorageHasBeenSet() const
bool StartedByHasBeenSet() const
const Aws::Utils::DateTime & GetStabilityStatusAt() const
TaskSet & WithExternalId(const char *value)
AWS_ECS_API TaskSet & operator=(Aws::Utils::Json::JsonView jsonValue)
const LaunchType & GetLaunchType() const
TaskSet & WithTaskDefinition(Aws::String &&value)
TaskSet & WithPlatformFamily(const char *value)
TaskSet & WithStatus(Aws::String &&value)
void SetServiceRegistries(Aws::Vector< ServiceRegistry > &&value)
TaskSet & WithCreatedAt(Aws::Utils::DateTime &&value)
TaskSet & WithScale(const Scale &value)
TaskSet & WithPendingCount(int value)
TaskSet & WithUpdatedAt(const Aws::Utils::DateTime &value)
TaskSet & WithRunningCount(int value)
bool IdHasBeenSet() const
void SetTaskDefinition(const Aws::String &value)
void SetComputedDesiredCount(int value)
bool ServiceRegistriesHasBeenSet() const
TaskSet & AddTags(const Tag &value)
bool UpdatedAtHasBeenSet() const
TaskSet & WithServiceArn(Aws::String &&value)
TaskSet & WithStatus(const Aws::String &value)
void SetStabilityStatusAt(Aws::Utils::DateTime &&value)
void SetServiceArn(Aws::String &&value)
TaskSet & WithLoadBalancers(const Aws::Vector< LoadBalancer > &value)
void SetCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
TaskSet & WithScale(Scale &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
TaskSet & WithComputedDesiredCount(int value)
const Aws::String & GetExternalId() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetStartedBy() const
void SetId(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool ClusterArnHasBeenSet() const
void SetTaskDefinition(Aws::String &&value)
TaskSet & WithCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
void SetTaskDefinition(const char *value)
void SetClusterArn(Aws::String &&value)
void SetPendingCount(int value)
void SetPlatformVersion(const Aws::String &value)
void SetLoadBalancers(Aws::Vector< LoadBalancer > &&value)
TaskSet & WithNetworkConfiguration(NetworkConfiguration &&value)
void SetExternalId(const Aws::String &value)
void SetStabilityStatus(StabilityStatus &&value)
TaskSet & WithLaunchType(const LaunchType &value)
const Aws::String & GetTaskDefinition() const
TaskSet & WithPlatformVersion(const char *value)
void SetStabilityStatusAt(const Aws::Utils::DateTime &value)
void SetCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
TaskSet & WithCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
TaskSet & AddServiceRegistries(ServiceRegistry &&value)
TaskSet & WithServiceArn(const Aws::String &value)
TaskSet & WithLoadBalancers(Aws::Vector< LoadBalancer > &&value)
const Aws::String & GetTaskSetArn() const
void SetFargateEphemeralStorage(DeploymentEphemeralStorage &&value)
const Aws::String & GetId() const
TaskSet & WithPlatformVersion(Aws::String &&value)
TaskSet & AddLoadBalancers(const LoadBalancer &value)
bool TagsHasBeenSet() const
TaskSet & WithCreatedAt(const Aws::Utils::DateTime &value)
bool NetworkConfigurationHasBeenSet() const
const Aws::Vector< ServiceRegistry > & GetServiceRegistries() const
bool PendingCountHasBeenSet() const
TaskSet & AddTags(Tag &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
TaskSet & WithClusterArn(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
bool PlatformVersionHasBeenSet() const
TaskSet & WithStartedBy(Aws::String &&value)
TaskSet & WithStabilityStatusAt(const Aws::Utils::DateTime &value)
TaskSet & AddServiceRegistries(const ServiceRegistry &value)
void SetTaskSetArn(const char *value)
void SetStatus(const char *value)
bool LoadBalancersHasBeenSet() const
TaskSet & WithStabilityStatus(StabilityStatus &&value)
bool ComputedDesiredCountHasBeenSet() const
TaskSet & WithStabilityStatus(const StabilityStatus &value)
TaskSet & WithTags(const Aws::Vector< Tag > &value)
void SetPlatformFamily(const Aws::String &value)
void SetLoadBalancers(const Aws::Vector< LoadBalancer > &value)
TaskSet & WithId(Aws::String &&value)
TaskSet & WithTags(Aws::Vector< Tag > &&value)
TaskSet & WithId(const Aws::String &value)
TaskSet & WithTaskSetArn(const Aws::String &value)
TaskSet & WithTaskDefinition(const char *value)
TaskSet & WithFargateEphemeralStorage(const DeploymentEphemeralStorage &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