7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/scheduler/Scheduler_EXPORTS.h>
11#include <aws/scheduler/model/CapacityProviderStrategyItem.h>
12#include <aws/scheduler/model/LaunchType.h>
13#include <aws/scheduler/model/NetworkConfiguration.h>
14#include <aws/scheduler/model/PlacementConstraint.h>
15#include <aws/scheduler/model/PlacementStrategy.h>
16#include <aws/scheduler/model/PropagateTags.h>
50 template <
typename CapacityProv
iderStrategyT = Aws::Vector<CapacityProv
iderStrategyItem>>
52 m_capacityProviderStrategyHasBeenSet =
true;
53 m_capacityProviderStrategy = std::forward<CapacityProviderStrategyT>(value);
55 template <
typename CapacityProv
iderStrategyT = Aws::Vector<CapacityProv
iderStrategyItem>>
60 template <
typename CapacityProv
iderStrategyT = CapacityProv
iderStrategyItem>
62 m_capacityProviderStrategyHasBeenSet =
true;
63 m_capacityProviderStrategy.emplace_back(std::forward<CapacityProviderStrategyT>(value));
78 m_enableECSManagedTagsHasBeenSet =
true;
79 m_enableECSManagedTags = value;
96 m_enableExecuteCommandHasBeenSet =
true;
97 m_enableExecuteCommand = value;
112 template <
typename GroupT = Aws::String>
114 m_groupHasBeenSet =
true;
115 m_group = std::forward<GroupT>(value);
117 template <
typename GroupT = Aws::String>
119 SetGroup(std::forward<GroupT>(value));
136 m_launchTypeHasBeenSet =
true;
137 m_launchType = value;
151 template <
typename NetworkConfigurationT = NetworkConfiguration>
153 m_networkConfigurationHasBeenSet =
true;
154 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
156 template <
typename NetworkConfigurationT = NetworkConfiguration>
171 template <
typename PlacementConstra
intsT = Aws::Vector<PlacementConstra
int>>
173 m_placementConstraintsHasBeenSet =
true;
174 m_placementConstraints = std::forward<PlacementConstraintsT>(value);
176 template <
typename PlacementConstra
intsT = Aws::Vector<PlacementConstra
int>>
181 template <
typename PlacementConstra
intsT = PlacementConstra
int>
183 m_placementConstraintsHasBeenSet =
true;
184 m_placementConstraints.emplace_back(std::forward<PlacementConstraintsT>(value));
195 template <
typename PlacementStrategyT = Aws::Vector<PlacementStrategy>>
197 m_placementStrategyHasBeenSet =
true;
198 m_placementStrategy = std::forward<PlacementStrategyT>(value);
200 template <
typename PlacementStrategyT = Aws::Vector<PlacementStrategy>>
205 template <
typename PlacementStrategyT = PlacementStrategy>
207 m_placementStrategyHasBeenSet =
true;
208 m_placementStrategy.emplace_back(std::forward<PlacementStrategyT>(value));
220 template <
typename PlatformVersionT = Aws::String>
222 m_platformVersionHasBeenSet =
true;
223 m_platformVersion = std::forward<PlatformVersionT>(value);
225 template <
typename PlatformVersionT = Aws::String>
244 m_propagateTagsHasBeenSet =
true;
245 m_propagateTags = value;
259 template <
typename ReferenceIdT = Aws::String>
261 m_referenceIdHasBeenSet =
true;
262 m_referenceId = std::forward<ReferenceIdT>(value);
264 template <
typename ReferenceIdT = Aws::String>
281 template <
typename TagsT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
283 m_tagsHasBeenSet =
true;
284 m_tags = std::forward<TagsT>(value);
286 template <
typename TagsT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
288 SetTags(std::forward<TagsT>(value));
291 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
293 m_tagsHasBeenSet =
true;
294 m_tags.emplace_back(std::forward<TagsT>(value));
307 m_taskCountHasBeenSet =
true;
323 template <
typename TaskDefinitionArnT = Aws::String>
325 m_taskDefinitionArnHasBeenSet =
true;
326 m_taskDefinitionArn = std::forward<TaskDefinitionArnT>(value);
328 template <
typename TaskDefinitionArnT = Aws::String>
337 bool m_enableECSManagedTags{
false};
339 bool m_enableExecuteCommand{
false};
345 NetworkConfiguration m_networkConfiguration;
362 bool m_capacityProviderStrategyHasBeenSet =
false;
363 bool m_enableECSManagedTagsHasBeenSet =
false;
364 bool m_enableExecuteCommandHasBeenSet =
false;
365 bool m_groupHasBeenSet =
false;
366 bool m_launchTypeHasBeenSet =
false;
367 bool m_networkConfigurationHasBeenSet =
false;
368 bool m_placementConstraintsHasBeenSet =
false;
369 bool m_placementStrategyHasBeenSet =
false;
370 bool m_platformVersionHasBeenSet =
false;
371 bool m_propagateTagsHasBeenSet =
false;
372 bool m_referenceIdHasBeenSet =
false;
373 bool m_tagsHasBeenSet =
false;
374 bool m_taskCountHasBeenSet =
false;
375 bool m_taskDefinitionArnHasBeenSet =
false;
PropagateTags GetPropagateTags() const
bool GroupHasBeenSet() const
bool ReferenceIdHasBeenSet() const
bool EnableECSManagedTagsHasBeenSet() const
EcsParameters & WithReferenceId(ReferenceIdT &&value)
bool LaunchTypeHasBeenSet() const
AWS_SCHEDULER_API EcsParameters(Aws::Utils::Json::JsonView jsonValue)
bool TaskDefinitionArnHasBeenSet() const
void SetPlatformVersion(PlatformVersionT &&value)
bool PlacementConstraintsHasBeenSet() const
EcsParameters & WithEnableExecuteCommand(bool value)
void SetTaskDefinitionArn(TaskDefinitionArnT &&value)
void SetReferenceId(ReferenceIdT &&value)
EcsParameters & WithPlacementConstraints(PlacementConstraintsT &&value)
EcsParameters & WithLaunchType(LaunchType value)
bool PropagateTagsHasBeenSet() const
bool GetEnableECSManagedTags() const
bool TaskCountHasBeenSet() const
EcsParameters & WithTags(TagsT &&value)
const Aws::Vector< PlacementStrategy > & GetPlacementStrategy() const
void SetCapacityProviderStrategy(CapacityProviderStrategyT &&value)
void SetNetworkConfiguration(NetworkConfigurationT &&value)
EcsParameters & AddPlacementStrategy(PlacementStrategyT &&value)
EcsParameters & WithGroup(GroupT &&value)
void SetPlacementStrategy(PlacementStrategyT &&value)
bool PlatformVersionHasBeenSet() const
bool CapacityProviderStrategyHasBeenSet() const
EcsParameters & AddCapacityProviderStrategy(CapacityProviderStrategyT &&value)
bool NetworkConfigurationHasBeenSet() const
bool EnableExecuteCommandHasBeenSet() const
LaunchType GetLaunchType() const
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
EcsParameters & AddTags(TagsT &&value)
void SetTaskCount(int value)
bool GetEnableExecuteCommand() const
EcsParameters & WithNetworkConfiguration(NetworkConfigurationT &&value)
const Aws::String & GetTaskDefinitionArn() const
const Aws::String & GetGroup() const
void SetTags(TagsT &&value)
EcsParameters & WithTaskDefinitionArn(TaskDefinitionArnT &&value)
void SetLaunchType(LaunchType value)
bool TagsHasBeenSet() const
EcsParameters & AddPlacementConstraints(PlacementConstraintsT &&value)
EcsParameters & WithPlatformVersion(PlatformVersionT &&value)
AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const
EcsParameters & WithCapacityProviderStrategy(CapacityProviderStrategyT &&value)
const Aws::String & GetReferenceId() const
void SetEnableECSManagedTags(bool value)
const Aws::Vector< PlacementConstraint > & GetPlacementConstraints() const
EcsParameters & WithPropagateTags(PropagateTags value)
void SetEnableExecuteCommand(bool value)
const Aws::String & GetPlatformVersion() const
EcsParameters & WithEnableECSManagedTags(bool value)
const NetworkConfiguration & GetNetworkConfiguration() const
AWS_SCHEDULER_API EcsParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
EcsParameters & WithTaskCount(int value)
bool PlacementStrategyHasBeenSet() const
EcsParameters & WithPlacementStrategy(PlacementStrategyT &&value)
void SetPlacementConstraints(PlacementConstraintsT &&value)
const Aws::Vector< Aws::Map< Aws::String, Aws::String > > & GetTags() const
void SetPropagateTags(PropagateTags value)
void SetGroup(GroupT &&value)
AWS_SCHEDULER_API EcsParameters()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue