7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ecs/ECSRequest.h>
10#include <aws/ecs/ECS_EXPORTS.h>
11#include <aws/ecs/model/CapacityProviderStrategyItem.h>
12#include <aws/ecs/model/LaunchType.h>
13#include <aws/ecs/model/LoadBalancer.h>
14#include <aws/ecs/model/NetworkConfiguration.h>
15#include <aws/ecs/model/Scale.h>
16#include <aws/ecs/model/ServiceRegistry.h>
17#include <aws/ecs/model/Tag.h>
48 template <
typename ServiceT = Aws::String>
50 m_serviceHasBeenSet =
true;
51 m_service = std::forward<ServiceT>(value);
53 template <
typename ServiceT = Aws::String>
67 template <
typename ClusterT = Aws::String>
69 m_clusterHasBeenSet =
true;
70 m_cluster = std::forward<ClusterT>(value);
72 template <
typename ClusterT = Aws::String>
88 template <
typename ExternalIdT = Aws::String>
90 m_externalIdHasBeenSet =
true;
91 m_externalId = std::forward<ExternalIdT>(value);
93 template <
typename ExternalIdT = Aws::String>
107 template <
typename TaskDefinitionT = Aws::String>
109 m_taskDefinitionHasBeenSet =
true;
110 m_taskDefinition = std::forward<TaskDefinitionT>(value);
112 template <
typename TaskDefinitionT = Aws::String>
125 template <
typename NetworkConfigurationT = NetworkConfiguration>
127 m_networkConfigurationHasBeenSet =
true;
128 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
130 template <
typename NetworkConfigurationT = NetworkConfiguration>
145 template <
typename LoadBalancersT = Aws::Vector<LoadBalancer>>
147 m_loadBalancersHasBeenSet =
true;
148 m_loadBalancers = std::forward<LoadBalancersT>(value);
150 template <
typename LoadBalancersT = Aws::Vector<LoadBalancer>>
155 template <
typename LoadBalancersT = LoadBalancer>
157 m_loadBalancersHasBeenSet =
true;
158 m_loadBalancers.emplace_back(std::forward<LoadBalancersT>(value));
172 template <
typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
174 m_serviceRegistriesHasBeenSet =
true;
175 m_serviceRegistries = std::forward<ServiceRegistriesT>(value);
177 template <
typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
182 template <
typename ServiceRegistriesT = ServiceRegistry>
184 m_serviceRegistriesHasBeenSet =
true;
185 m_serviceRegistries.emplace_back(std::forward<ServiceRegistriesT>(value));
202 m_launchTypeHasBeenSet =
true;
203 m_launchType = value;
239 template <
typename CapacityProv
iderStrategyT = Aws::Vector<CapacityProv
iderStrategyItem>>
241 m_capacityProviderStrategyHasBeenSet =
true;
242 m_capacityProviderStrategy = std::forward<CapacityProviderStrategyT>(value);
244 template <
typename CapacityProv
iderStrategyT = Aws::Vector<CapacityProv
iderStrategyItem>>
249 template <
typename CapacityProv
iderStrategyT = CapacityProv
iderStrategyItem>
251 m_capacityProviderStrategyHasBeenSet =
true;
252 m_capacityProviderStrategy.emplace_back(std::forward<CapacityProviderStrategyT>(value));
265 template <
typename PlatformVersionT = Aws::String>
267 m_platformVersionHasBeenSet =
true;
268 m_platformVersion = std::forward<PlatformVersionT>(value);
270 template <
typename PlatformVersionT = Aws::String>
284 template <
typename ScaleT = Scale>
286 m_scaleHasBeenSet =
true;
287 m_scale = std::forward<ScaleT>(value);
289 template <
typename ScaleT = Scale>
291 SetScale(std::forward<ScaleT>(value));
304 template <
typename ClientTokenT = Aws::String>
306 m_clientTokenHasBeenSet =
true;
307 m_clientToken = std::forward<ClientTokenT>(value);
309 template <
typename ClientTokenT = Aws::String>
338 template <
typename TagsT = Aws::Vector<Tag>>
340 m_tagsHasBeenSet =
true;
341 m_tags = std::forward<TagsT>(value);
343 template <
typename TagsT = Aws::Vector<Tag>>
345 SetTags(std::forward<TagsT>(value));
348 template <
typename TagsT = Tag>
350 m_tagsHasBeenSet =
true;
351 m_tags.emplace_back(std::forward<TagsT>(value));
381 bool m_serviceHasBeenSet =
false;
382 bool m_clusterHasBeenSet =
false;
383 bool m_externalIdHasBeenSet =
false;
384 bool m_taskDefinitionHasBeenSet =
false;
385 bool m_networkConfigurationHasBeenSet =
false;
386 bool m_loadBalancersHasBeenSet =
false;
387 bool m_serviceRegistriesHasBeenSet =
false;
388 bool m_launchTypeHasBeenSet =
false;
389 bool m_capacityProviderStrategyHasBeenSet =
false;
390 bool m_platformVersionHasBeenSet =
false;
391 bool m_scaleHasBeenSet =
false;
392 bool m_clientTokenHasBeenSet =
false;
393 bool m_tagsHasBeenSet =
false;
bool LaunchTypeHasBeenSet() const
CreateTaskSetRequest & WithCluster(ClusterT &&value)
bool TaskDefinitionHasBeenSet() const
void SetPlatformVersion(PlatformVersionT &&value)
void SetServiceRegistries(ServiceRegistriesT &&value)
void SetClientToken(ClientTokenT &&value)
CreateTaskSetRequest & WithService(ServiceT &&value)
void SetCluster(ClusterT &&value)
bool TagsHasBeenSet() const
bool ClientTokenHasBeenSet() const
void SetExternalId(ExternalIdT &&value)
CreateTaskSetRequest & WithTags(TagsT &&value)
CreateTaskSetRequest & WithClientToken(ClientTokenT &&value)
CreateTaskSetRequest & WithServiceRegistries(ServiceRegistriesT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetExternalId() const
void SetLoadBalancers(LoadBalancersT &&value)
const NetworkConfiguration & GetNetworkConfiguration() const
bool LoadBalancersHasBeenSet() const
CreateTaskSetRequest & WithTaskDefinition(TaskDefinitionT &&value)
CreateTaskSetRequest & WithNetworkConfiguration(NetworkConfigurationT &&value)
void SetNetworkConfiguration(NetworkConfigurationT &&value)
AWS_ECS_API Aws::String SerializePayload() const override
const Aws::String & GetTaskDefinition() const
void SetScale(ScaleT &&value)
CreateTaskSetRequest & AddTags(TagsT &&value)
const Aws::String & GetService() const
const Aws::String & GetPlatformVersion() const
bool CapacityProviderStrategyHasBeenSet() const
bool ClusterHasBeenSet() const
CreateTaskSetRequest & WithLaunchType(LaunchType value)
CreateTaskSetRequest & WithCapacityProviderStrategy(CapacityProviderStrategyT &&value)
void SetLaunchType(LaunchType value)
const Aws::Vector< Tag > & GetTags() const
LaunchType GetLaunchType() const
CreateTaskSetRequest & WithLoadBalancers(LoadBalancersT &&value)
void SetTaskDefinition(TaskDefinitionT &&value)
CreateTaskSetRequest & WithExternalId(ExternalIdT &&value)
bool ServiceRegistriesHasBeenSet() const
CreateTaskSetRequest & AddLoadBalancers(LoadBalancersT &&value)
bool ServiceHasBeenSet() const
CreateTaskSetRequest & WithPlatformVersion(PlatformVersionT &&value)
void SetService(ServiceT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< LoadBalancer > & GetLoadBalancers() const
void SetCapacityProviderStrategy(CapacityProviderStrategyT &&value)
const Aws::String & GetCluster() const
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
CreateTaskSetRequest & AddServiceRegistries(ServiceRegistriesT &&value)
CreateTaskSetRequest & AddCapacityProviderStrategy(CapacityProviderStrategyT &&value)
const Aws::String & GetClientToken() const
AWS_ECS_API CreateTaskSetRequest()=default
const Aws::Vector< ServiceRegistry > & GetServiceRegistries() const
const Scale & GetScale() const
bool ExternalIdHasBeenSet() const
bool NetworkConfigurationHasBeenSet() const
bool PlatformVersionHasBeenSet() const
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ScaleHasBeenSet() const
CreateTaskSetRequest & WithScale(ScaleT &&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