7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/events/model/LaunchType.h>
10#include <aws/events/model/NetworkConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/events/model/PropagateTags.h>
13#include <aws/events/model/CapacityProviderStrategyItem.h>
14#include <aws/events/model/PlacementConstraint.h>
15#include <aws/events/model/PlacementStrategy.h>
16#include <aws/events/model/Tag.h>
29namespace CloudWatchEvents
58 inline void SetTaskDefinitionArn(
const char* value) { m_taskDefinitionArnHasBeenSet =
true; m_taskDefinitionArn.assign(value); }
71 inline void SetTaskCount(
int value) { m_taskCountHasBeenSet =
true; m_taskCount = value; }
125 inline void SetPlatformVersion(
const char* value) { m_platformVersionHasBeenSet =
true; m_platformVersion.assign(value); }
140 inline void SetGroup(
const char* value) { m_groupHasBeenSet =
true; m_group.assign(value); }
244 inline void SetReferenceId(
const char* value) { m_referenceIdHasBeenSet =
true; m_referenceId.assign(value); }
270 bool m_taskDefinitionArnHasBeenSet =
false;
273 bool m_taskCountHasBeenSet =
false;
276 bool m_launchTypeHasBeenSet =
false;
279 bool m_networkConfigurationHasBeenSet =
false;
282 bool m_platformVersionHasBeenSet =
false;
285 bool m_groupHasBeenSet =
false;
288 bool m_capacityProviderStrategyHasBeenSet =
false;
290 bool m_enableECSManagedTags;
291 bool m_enableECSManagedTagsHasBeenSet =
false;
293 bool m_enableExecuteCommand;
294 bool m_enableExecuteCommandHasBeenSet =
false;
297 bool m_placementConstraintsHasBeenSet =
false;
300 bool m_placementStrategyHasBeenSet =
false;
303 bool m_propagateTagsHasBeenSet =
false;
306 bool m_referenceIdHasBeenSet =
false;
309 bool m_tagsHasBeenSet =
false;
void SetTaskDefinitionArn(const Aws::String &value)
void SetTaskCount(int value)
EcsParameters & WithLaunchType(const LaunchType &value)
bool PlacementConstraintsHasBeenSet() const
bool TaskDefinitionArnHasBeenSet() const
void SetPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
EcsParameters & WithLaunchType(LaunchType &&value)
EcsParameters & WithTaskDefinitionArn(const Aws::String &value)
void SetPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
AWS_CLOUDWATCHEVENTS_API EcsParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNetworkConfiguration(NetworkConfiguration &&value)
EcsParameters & AddPlacementConstraints(PlacementConstraint &&value)
bool GetEnableExecuteCommand() const
bool TagsHasBeenSet() const
EcsParameters & WithPropagateTags(const PropagateTags &value)
bool PlatformVersionHasBeenSet() const
AWS_CLOUDWATCHEVENTS_API EcsParameters(Aws::Utils::Json::JsonView jsonValue)
void SetLaunchType(LaunchType &&value)
void SetCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
EcsParameters & AddTags(const Tag &value)
bool EnableExecuteCommandHasBeenSet() const
const Aws::Vector< PlacementStrategy > & GetPlacementStrategy() const
EcsParameters & WithPlatformVersion(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTags(Aws::Vector< Tag > &&value)
void SetGroup(const Aws::String &value)
EcsParameters & WithGroup(Aws::String &&value)
void SetNetworkConfiguration(const NetworkConfiguration &value)
void SetCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
bool GetEnableECSManagedTags() const
const PropagateTags & GetPropagateTags() const
EcsParameters & AddPlacementStrategy(PlacementStrategy &&value)
AWS_CLOUDWATCHEVENTS_API EcsParameters()
EcsParameters & AddPlacementStrategy(const PlacementStrategy &value)
bool PlacementStrategyHasBeenSet() const
EcsParameters & WithTaskDefinitionArn(Aws::String &&value)
bool PropagateTagsHasBeenSet() const
const Aws::String & GetTaskDefinitionArn() const
EcsParameters & WithPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
void SetEnableExecuteCommand(bool value)
void SetPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
void SetTaskDefinitionArn(Aws::String &&value)
EcsParameters & WithPlatformVersion(const char *value)
EcsParameters & AddCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetGroup(const char *value)
EcsParameters & WithEnableExecuteCommand(bool value)
const NetworkConfiguration & GetNetworkConfiguration() const
void SetPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
bool TaskCountHasBeenSet() const
void SetLaunchType(const LaunchType &value)
void SetPropagateTags(PropagateTags &&value)
void SetReferenceId(const Aws::String &value)
bool NetworkConfigurationHasBeenSet() const
EcsParameters & WithGroup(const char *value)
void SetPlatformVersion(const Aws::String &value)
void SetReferenceId(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
const LaunchType & GetLaunchType() const
EcsParameters & WithReferenceId(const char *value)
EcsParameters & WithTaskDefinitionArn(const char *value)
bool CapacityProviderStrategyHasBeenSet() const
EcsParameters & WithTaskCount(int value)
EcsParameters & WithGroup(const Aws::String &value)
EcsParameters & WithTags(Aws::Vector< Tag > &&value)
EcsParameters & WithPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
void SetPlatformVersion(const char *value)
EcsParameters & WithTags(const Aws::Vector< Tag > &value)
EcsParameters & WithCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
EcsParameters & WithCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
EcsParameters & WithNetworkConfiguration(const NetworkConfiguration &value)
void SetPlatformVersion(Aws::String &&value)
EcsParameters & WithReferenceId(Aws::String &&value)
const Aws::String & GetPlatformVersion() const
EcsParameters & WithPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
void SetEnableECSManagedTags(bool value)
void SetGroup(Aws::String &&value)
bool EnableECSManagedTagsHasBeenSet() const
EcsParameters & AddPlacementConstraints(const PlacementConstraint &value)
EcsParameters & WithReferenceId(const Aws::String &value)
EcsParameters & WithNetworkConfiguration(NetworkConfiguration &&value)
const Aws::Vector< PlacementConstraint > & GetPlacementConstraints() const
const Aws::String & GetReferenceId() const
bool LaunchTypeHasBeenSet() const
bool GroupHasBeenSet() const
void SetPropagateTags(const PropagateTags &value)
EcsParameters & AddCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
EcsParameters & AddTags(Tag &&value)
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
EcsParameters & WithPropagateTags(PropagateTags &&value)
void SetReferenceId(const char *value)
EcsParameters & WithPlatformVersion(const Aws::String &value)
bool ReferenceIdHasBeenSet() const
void SetTaskDefinitionArn(const char *value)
EcsParameters & WithEnableECSManagedTags(bool value)
EcsParameters & WithPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
const Aws::String & GetGroup() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue