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>
52 template<
typename ServiceT = Aws::String>
53 void SetService(ServiceT&& value) { m_serviceHasBeenSet =
true; m_service = std::forward<ServiceT>(value); }
54 template<
typename ServiceT = Aws::String>
65 template<
typename ClusterT = Aws::String>
66 void SetCluster(ClusterT&& value) { m_clusterHasBeenSet =
true; m_cluster = std::forward<ClusterT>(value); }
67 template<
typename ClusterT = Aws::String>
80 template<
typename ExternalIdT = Aws::String>
81 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet =
true; m_externalId = std::forward<ExternalIdT>(value); }
82 template<
typename ExternalIdT = Aws::String>
93 template<
typename TaskDefinitionT = Aws::String>
94 void SetTaskDefinition(TaskDefinitionT&& value) { m_taskDefinitionHasBeenSet =
true; m_taskDefinition = std::forward<TaskDefinitionT>(value); }
95 template<
typename TaskDefinitionT = Aws::String>
105 template<
typename NetworkConfigurationT = NetworkConfiguration>
106 void SetNetworkConfiguration(NetworkConfigurationT&& value) { m_networkConfigurationHasBeenSet =
true; m_networkConfiguration = std::forward<NetworkConfigurationT>(value); }
107 template<
typename NetworkConfigurationT = NetworkConfiguration>
119 template<
typename LoadBalancersT = Aws::Vector<LoadBalancer>>
120 void SetLoadBalancers(LoadBalancersT&& value) { m_loadBalancersHasBeenSet =
true; m_loadBalancers = std::forward<LoadBalancersT>(value); }
121 template<
typename LoadBalancersT = Aws::Vector<LoadBalancer>>
123 template<
typename LoadBalancersT = LoadBalancer>
136 template<
typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
137 void SetServiceRegistries(ServiceRegistriesT&& value) { m_serviceRegistriesHasBeenSet =
true; m_serviceRegistries = std::forward<ServiceRegistriesT>(value); }
138 template<
typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
140 template<
typename ServiceRegistriesT = ServiceRegistry>
187 template<
typename CapacityProv
iderStrategyT = Aws::Vector<CapacityProv
iderStrategyItem>>
188 void SetCapacityProviderStrategy(CapacityProviderStrategyT&& value) { m_capacityProviderStrategyHasBeenSet =
true; m_capacityProviderStrategy = std::forward<CapacityProviderStrategyT>(value); }
189 template<
typename CapacityProv
iderStrategyT = Aws::Vector<CapacityProv
iderStrategyItem>>
191 template<
typename CapacityProv
iderStrategyT = CapacityProv
iderStrategyItem>
203 template<
typename PlatformVersionT = Aws::String>
204 void SetPlatformVersion(PlatformVersionT&& value) { m_platformVersionHasBeenSet =
true; m_platformVersion = std::forward<PlatformVersionT>(value); }
205 template<
typename PlatformVersionT = Aws::String>
216 template<
typename ScaleT = Scale>
217 void SetScale(ScaleT&& value) { m_scaleHasBeenSet =
true; m_scale = std::forward<ScaleT>(value); }
218 template<
typename ScaleT = Scale>
230 template<
typename ClientTokenT = Aws::String>
231 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
232 template<
typename ClientTokenT = Aws::String>
258 template<
typename TagsT = Aws::Vector<Tag>>
259 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
260 template<
typename TagsT = Aws::Vector<Tag>>
262 template<
typename TagsT = Tag>
268 bool m_serviceHasBeenSet =
false;
271 bool m_clusterHasBeenSet =
false;
274 bool m_externalIdHasBeenSet =
false;
277 bool m_taskDefinitionHasBeenSet =
false;
280 bool m_networkConfigurationHasBeenSet =
false;
283 bool m_loadBalancersHasBeenSet =
false;
286 bool m_serviceRegistriesHasBeenSet =
false;
289 bool m_launchTypeHasBeenSet =
false;
292 bool m_capacityProviderStrategyHasBeenSet =
false;
295 bool m_platformVersionHasBeenSet =
false;
298 bool m_scaleHasBeenSet =
false;
301 bool m_clientTokenHasBeenSet =
false;
304 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