7#include <aws/scheduler/Scheduler_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/scheduler/model/LaunchType.h>
11#include <aws/scheduler/model/NetworkConfiguration.h>
12#include <aws/scheduler/model/PropagateTags.h>
13#include <aws/scheduler/model/CapacityProviderStrategyItem.h>
14#include <aws/scheduler/model/PlacementConstraint.h>
15#include <aws/scheduler/model/PlacementStrategy.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
73 inline void SetEnableECSManagedTags(
bool value) { m_enableECSManagedTagsHasBeenSet =
true; m_enableECSManagedTags = value; }
85 inline void SetEnableExecuteCommand(
bool value) { m_enableExecuteCommandHasBeenSet =
true; m_enableExecuteCommand = value; }
98 inline void SetGroup(
const char* value) { m_groupHasBeenSet =
true; m_group.assign(value); }
172 inline void SetPlatformVersion(
const char* value) { m_platformVersionHasBeenSet =
true; m_platformVersion.assign(value); }
203 inline void SetReferenceId(
const char* value) { m_referenceIdHasBeenSet =
true; m_referenceId.assign(value); }
234 inline void SetTaskCount(
int value) { m_taskCountHasBeenSet =
true; m_taskCount = value; }
247 inline void SetTaskDefinitionArn(
const char* value) { m_taskDefinitionArnHasBeenSet =
true; m_taskDefinitionArn.assign(value); }
255 bool m_capacityProviderStrategyHasBeenSet =
false;
257 bool m_enableECSManagedTags;
258 bool m_enableECSManagedTagsHasBeenSet =
false;
260 bool m_enableExecuteCommand;
261 bool m_enableExecuteCommandHasBeenSet =
false;
264 bool m_groupHasBeenSet =
false;
267 bool m_launchTypeHasBeenSet =
false;
270 bool m_networkConfigurationHasBeenSet =
false;
273 bool m_placementConstraintsHasBeenSet =
false;
276 bool m_placementStrategyHasBeenSet =
false;
279 bool m_platformVersionHasBeenSet =
false;
282 bool m_propagateTagsHasBeenSet =
false;
285 bool m_referenceIdHasBeenSet =
false;
288 bool m_tagsHasBeenSet =
false;
291 bool m_taskCountHasBeenSet =
false;
294 bool m_taskDefinitionArnHasBeenSet =
false;
EcsParameters & WithPropagateTags(PropagateTags &&value)
EcsParameters & WithGroup(Aws::String &&value)
bool GroupHasBeenSet() const
bool ReferenceIdHasBeenSet() const
bool EnableECSManagedTagsHasBeenSet() const
void SetCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
EcsParameters & WithGroup(const char *value)
void SetGroup(const Aws::String &value)
bool LaunchTypeHasBeenSet() const
AWS_SCHEDULER_API EcsParameters(Aws::Utils::Json::JsonView jsonValue)
bool TaskDefinitionArnHasBeenSet() const
void SetGroup(const char *value)
bool PlacementConstraintsHasBeenSet() const
EcsParameters & AddPlacementStrategy(const PlacementStrategy &value)
EcsParameters & WithEnableExecuteCommand(bool value)
EcsParameters & WithGroup(const Aws::String &value)
void SetPlatformVersion(const char *value)
void SetPropagateTags(const PropagateTags &value)
EcsParameters & WithPlatformVersion(const char *value)
EcsParameters & WithTags(const Aws::Vector< Aws::Map< Aws::String, Aws::String > > &value)
bool PropagateTagsHasBeenSet() const
void SetReferenceId(const char *value)
bool GetEnableECSManagedTags() const
EcsParameters & WithTaskDefinitionArn(const char *value)
EcsParameters & WithReferenceId(const char *value)
bool TaskCountHasBeenSet() const
EcsParameters & WithPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
EcsParameters & WithPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
const Aws::Vector< PlacementStrategy > & GetPlacementStrategy() const
AWS_SCHEDULER_API EcsParameters()
void SetPlatformVersion(Aws::String &&value)
void SetTaskDefinitionArn(const Aws::String &value)
EcsParameters & WithNetworkConfiguration(const NetworkConfiguration &value)
void SetPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
void SetTags(Aws::Vector< Aws::Map< Aws::String, Aws::String > > &&value)
EcsParameters & WithLaunchType(LaunchType &&value)
EcsParameters & WithNetworkConfiguration(NetworkConfiguration &&value)
bool PlatformVersionHasBeenSet() const
bool CapacityProviderStrategyHasBeenSet() const
void SetLaunchType(LaunchType &&value)
EcsParameters & AddPlacementStrategy(PlacementStrategy &&value)
bool NetworkConfigurationHasBeenSet() const
bool EnableExecuteCommandHasBeenSet() const
void SetPlatformVersion(const Aws::String &value)
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
EcsParameters & WithPropagateTags(const PropagateTags &value)
EcsParameters & WithPlatformVersion(const Aws::String &value)
void SetTaskCount(int value)
bool GetEnableExecuteCommand() const
const Aws::String & GetTaskDefinitionArn() const
void SetPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
const PropagateTags & GetPropagateTags() const
const Aws::String & GetGroup() const
EcsParameters & WithReferenceId(Aws::String &&value)
EcsParameters & AddCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
const LaunchType & GetLaunchType() const
void SetCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
EcsParameters & WithCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
EcsParameters & WithTaskDefinitionArn(const Aws::String &value)
EcsParameters & WithLaunchType(const LaunchType &value)
bool TagsHasBeenSet() const
EcsParameters & AddPlacementConstraints(const PlacementConstraint &value)
EcsParameters & AddTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetNetworkConfiguration(const NetworkConfiguration &value)
void SetNetworkConfiguration(NetworkConfiguration &&value)
AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReferenceId(Aws::String &&value)
EcsParameters & WithTaskDefinitionArn(Aws::String &&value)
EcsParameters & WithPlatformVersion(Aws::String &&value)
void SetPropagateTags(PropagateTags &&value)
const Aws::String & GetReferenceId() const
void SetPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
void SetEnableECSManagedTags(bool value)
EcsParameters & AddTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Vector< PlacementConstraint > & GetPlacementConstraints() const
void SetEnableExecuteCommand(bool value)
const Aws::String & GetPlatformVersion() const
void SetPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
EcsParameters & WithEnableECSManagedTags(bool value)
const NetworkConfiguration & GetNetworkConfiguration() const
void SetTaskDefinitionArn(Aws::String &&value)
AWS_SCHEDULER_API EcsParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(const Aws::Vector< Aws::Map< Aws::String, Aws::String > > &value)
EcsParameters & WithTaskCount(int value)
EcsParameters & WithPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
EcsParameters & WithCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
bool PlacementStrategyHasBeenSet() const
EcsParameters & WithPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
EcsParameters & WithTags(Aws::Vector< Aws::Map< Aws::String, Aws::String > > &&value)
void SetLaunchType(const LaunchType &value)
EcsParameters & AddPlacementConstraints(PlacementConstraint &&value)
void SetTaskDefinitionArn(const char *value)
const Aws::Vector< Aws::Map< Aws::String, Aws::String > > & GetTags() const
EcsParameters & WithReferenceId(const Aws::String &value)
void SetGroup(Aws::String &&value)
EcsParameters & AddCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
void SetReferenceId(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue