7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/ECSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ecs/model/NetworkConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ecs/model/LaunchType.h>
13#include <aws/ecs/model/Scale.h>
14#include <aws/ecs/model/LoadBalancer.h>
15#include <aws/ecs/model/ServiceRegistry.h>
16#include <aws/ecs/model/CapacityProviderStrategyItem.h>
17#include <aws/ecs/model/Tag.h>
54 inline void SetService(
const char* value) { m_serviceHasBeenSet =
true; m_service.assign(value); }
69 inline void SetCluster(
const char* value) { m_clusterHasBeenSet =
true; m_cluster.assign(value); }
86 inline void SetExternalId(
const char* value) { m_externalIdHasBeenSet =
true; m_externalId.assign(value); }
101 inline void SetTaskDefinition(
const char* value) { m_taskDefinitionHasBeenSet =
true; m_taskDefinition.assign(value); }
215 inline void SetPlatformVersion(
const char* value) { m_platformVersionHasBeenSet =
true; m_platformVersion.assign(value); }
228 inline void SetScale(
const Scale& value) { m_scaleHasBeenSet =
true; m_scale = value; }
229 inline void SetScale(
Scale&& value) { m_scaleHasBeenSet =
true; m_scale = std::move(value); }
244 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
282 bool m_serviceHasBeenSet =
false;
285 bool m_clusterHasBeenSet =
false;
288 bool m_externalIdHasBeenSet =
false;
291 bool m_taskDefinitionHasBeenSet =
false;
294 bool m_networkConfigurationHasBeenSet =
false;
297 bool m_loadBalancersHasBeenSet =
false;
300 bool m_serviceRegistriesHasBeenSet =
false;
303 bool m_launchTypeHasBeenSet =
false;
306 bool m_capacityProviderStrategyHasBeenSet =
false;
309 bool m_platformVersionHasBeenSet =
false;
312 bool m_scaleHasBeenSet =
false;
315 bool m_clientTokenHasBeenSet =
false;
318 bool m_tagsHasBeenSet =
false;
CreateTaskSetRequest & WithService(const char *value)
bool LaunchTypeHasBeenSet() const
void SetLaunchType(LaunchType &&value)
CreateTaskSetRequest & AddCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
void SetExternalId(Aws::String &&value)
void SetLaunchType(const LaunchType &value)
void SetLoadBalancers(const Aws::Vector< LoadBalancer > &value)
CreateTaskSetRequest & WithCluster(const Aws::String &value)
bool TaskDefinitionHasBeenSet() const
CreateTaskSetRequest & WithCluster(Aws::String &&value)
CreateTaskSetRequest & AddServiceRegistries(const ServiceRegistry &value)
CreateTaskSetRequest & WithServiceRegistries(const Aws::Vector< ServiceRegistry > &value)
CreateTaskSetRequest & WithLaunchType(const LaunchType &value)
CreateTaskSetRequest & WithTags(const Aws::Vector< Tag > &value)
bool TagsHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
void SetService(Aws::String &&value)
bool ClientTokenHasBeenSet() const
CreateTaskSetRequest & WithCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
CreateTaskSetRequest & WithPlatformVersion(const char *value)
CreateTaskSetRequest & WithTaskDefinition(const char *value)
CreateTaskSetRequest & AddLoadBalancers(const LoadBalancer &value)
void SetLoadBalancers(Aws::Vector< LoadBalancer > &&value)
CreateTaskSetRequest & WithService(const Aws::String &value)
const Aws::String & GetExternalId() const
void SetExternalId(const Aws::String &value)
const NetworkConfiguration & GetNetworkConfiguration() const
bool LoadBalancersHasBeenSet() const
void SetCluster(const char *value)
CreateTaskSetRequest & WithExternalId(const Aws::String &value)
CreateTaskSetRequest & WithCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
CreateTaskSetRequest & WithServiceRegistries(Aws::Vector< ServiceRegistry > &&value)
void SetClientToken(const Aws::String &value)
void SetCluster(Aws::String &&value)
AWS_ECS_API Aws::String SerializePayload() const override
const Aws::String & GetTaskDefinition() const
const Aws::String & GetService() const
const Aws::String & GetPlatformVersion() const
CreateTaskSetRequest & AddLoadBalancers(LoadBalancer &&value)
bool CapacityProviderStrategyHasBeenSet() const
void SetPlatformVersion(Aws::String &&value)
bool ClusterHasBeenSet() const
void SetTaskDefinition(const char *value)
void SetCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
CreateTaskSetRequest & AddCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
CreateTaskSetRequest & WithLoadBalancers(Aws::Vector< LoadBalancer > &&value)
CreateTaskSetRequest & WithClientToken(const Aws::String &value)
CreateTaskSetRequest & WithClientToken(const char *value)
void SetTaskDefinition(const Aws::String &value)
CreateTaskSetRequest & WithPlatformVersion(const Aws::String &value)
CreateTaskSetRequest & WithScale(Scale &&value)
const Aws::Vector< Tag > & GetTags() const
void SetPlatformVersion(const Aws::String &value)
void SetTaskDefinition(Aws::String &&value)
void SetServiceRegistries(Aws::Vector< ServiceRegistry > &&value)
CreateTaskSetRequest & WithTaskDefinition(const Aws::String &value)
CreateTaskSetRequest & WithTaskDefinition(Aws::String &&value)
const LaunchType & GetLaunchType() const
CreateTaskSetRequest & AddTags(Tag &&value)
void SetNetworkConfiguration(const NetworkConfiguration &value)
bool ServiceRegistriesHasBeenSet() const
CreateTaskSetRequest & WithExternalId(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
CreateTaskSetRequest & WithScale(const Scale &value)
CreateTaskSetRequest & WithLoadBalancers(const Aws::Vector< LoadBalancer > &value)
bool ServiceHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::Vector< LoadBalancer > & GetLoadBalancers() const
CreateTaskSetRequest & WithLaunchType(LaunchType &&value)
void SetService(const char *value)
CreateTaskSetRequest & WithNetworkConfiguration(const NetworkConfiguration &value)
void SetNetworkConfiguration(NetworkConfiguration &&value)
void SetClientToken(const char *value)
const Aws::String & GetCluster() const
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
CreateTaskSetRequest & WithCluster(const char *value)
CreateTaskSetRequest & WithPlatformVersion(Aws::String &&value)
void SetServiceRegistries(const Aws::Vector< ServiceRegistry > &value)
void SetCluster(const Aws::String &value)
void SetScale(const Scale &value)
CreateTaskSetRequest & AddServiceRegistries(ServiceRegistry &&value)
void SetService(const Aws::String &value)
void SetCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
CreateTaskSetRequest & WithNetworkConfiguration(NetworkConfiguration &&value)
const Aws::String & GetClientToken() const
CreateTaskSetRequest & WithService(Aws::String &&value)
const Aws::Vector< ServiceRegistry > & GetServiceRegistries() const
const Scale & GetScale() const
bool ExternalIdHasBeenSet() const
bool NetworkConfigurationHasBeenSet() const
CreateTaskSetRequest & AddTags(const Tag &value)
bool PlatformVersionHasBeenSet() const
CreateTaskSetRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ScaleHasBeenSet() const
CreateTaskSetRequest & WithExternalId(Aws::String &&value)
AWS_ECS_API CreateTaskSetRequest()
CreateTaskSetRequest & WithClientToken(Aws::String &&value)
void SetClientToken(Aws::String &&value)
void SetScale(Scale &&value)
void SetPlatformVersion(const char *value)
void SetExternalId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector