7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eventbridge/model/LaunchType.h>
10#include <aws/eventbridge/model/NetworkConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/eventbridge/model/PropagateTags.h>
13#include <aws/eventbridge/model/CapacityProviderStrategyItem.h>
14#include <aws/eventbridge/model/PlacementConstraint.h>
15#include <aws/eventbridge/model/PlacementStrategy.h>
16#include <aws/eventbridge/model/Tag.h>
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;
AWS_EVENTBRIDGE_API EcsParameters()
const Aws::Vector< PlacementConstraint > & GetPlacementConstraints() const
AWS_EVENTBRIDGE_API EcsParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GroupHasBeenSet() const
bool PlatformVersionHasBeenSet() const
EcsParameters & WithReferenceId(const Aws::String &value)
void SetPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
void SetTaskDefinitionArn(const Aws::String &value)
void SetReferenceId(const Aws::String &value)
bool PlacementConstraintsHasBeenSet() const
void SetReferenceId(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
EcsParameters & WithTags(Aws::Vector< Tag > &&value)
EcsParameters & WithEnableExecuteCommand(bool value)
EcsParameters & WithCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
EcsParameters & WithLaunchType(const LaunchType &value)
EcsParameters & WithPropagateTags(const PropagateTags &value)
EcsParameters & AddCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
bool LaunchTypeHasBeenSet() const
const Aws::String & GetTaskDefinitionArn() const
EcsParameters & AddPlacementConstraints(PlacementConstraint &&value)
void SetNetworkConfiguration(NetworkConfiguration &&value)
void SetEnableExecuteCommand(bool value)
const Aws::Vector< PlacementStrategy > & GetPlacementStrategy() const
bool TaskCountHasBeenSet() const
void SetReferenceId(Aws::String &&value)
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
EcsParameters & WithPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
EcsParameters & WithPlatformVersion(Aws::String &&value)
const Aws::String & GetPlatformVersion() const
void SetPropagateTags(const PropagateTags &value)
EcsParameters & WithTaskDefinitionArn(const char *value)
EcsParameters & WithTags(const Aws::Vector< Tag > &value)
void SetPlatformVersion(Aws::String &&value)
bool TaskDefinitionArnHasBeenSet() const
EcsParameters & AddPlacementStrategy(const PlacementStrategy &value)
const Aws::Vector< Tag > & GetTags() const
bool GetEnableExecuteCommand() const
EcsParameters & WithTaskCount(int value)
bool NetworkConfigurationHasBeenSet() const
bool GetEnableECSManagedTags() const
EcsParameters & AddCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
bool PropagateTagsHasBeenSet() const
EcsParameters & WithGroup(Aws::String &&value)
void SetPropagateTags(PropagateTags &&value)
const PropagateTags & GetPropagateTags() const
void SetPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
bool ReferenceIdHasBeenSet() const
EcsParameters & WithTaskDefinitionArn(const Aws::String &value)
bool CapacityProviderStrategyHasBeenSet() const
EcsParameters & WithGroup(const char *value)
void SetEnableECSManagedTags(bool value)
void SetCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
EcsParameters & WithPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
EcsParameters & WithNetworkConfiguration(const NetworkConfiguration &value)
bool EnableExecuteCommandHasBeenSet() const
void SetLaunchType(const LaunchType &value)
EcsParameters & WithGroup(const Aws::String &value)
EcsParameters & WithReferenceId(Aws::String &&value)
EcsParameters & WithPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
void SetGroup(const char *value)
EcsParameters & AddTags(Tag &&value)
void SetPlatformVersion(const Aws::String &value)
EcsParameters & WithPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
void SetTaskCount(int value)
void SetLaunchType(LaunchType &&value)
EcsParameters & WithEnableECSManagedTags(bool value)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
EcsParameters & WithCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
void SetNetworkConfiguration(const NetworkConfiguration &value)
bool PlacementStrategyHasBeenSet() const
void SetTaskDefinitionArn(Aws::String &&value)
EcsParameters & WithPlatformVersion(const char *value)
bool EnableECSManagedTagsHasBeenSet() const
EcsParameters & WithTaskDefinitionArn(Aws::String &&value)
void SetGroup(const Aws::String &value)
EcsParameters & AddTags(const Tag &value)
const Aws::String & GetGroup() const
void SetGroup(Aws::String &&value)
void SetPlatformVersion(const char *value)
bool TagsHasBeenSet() const
void SetCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
EcsParameters & WithNetworkConfiguration(NetworkConfiguration &&value)
void SetTaskDefinitionArn(const char *value)
const NetworkConfiguration & GetNetworkConfiguration() const
EcsParameters & WithReferenceId(const char *value)
const Aws::String & GetReferenceId() const
void SetTags(Aws::Vector< Tag > &&value)
EcsParameters & WithPropagateTags(PropagateTags &&value)
AWS_EVENTBRIDGE_API EcsParameters(Aws::Utils::Json::JsonView jsonValue)
const LaunchType & GetLaunchType() const
EcsParameters & AddPlacementConstraints(const PlacementConstraint &value)
EcsParameters & AddPlacementStrategy(PlacementStrategy &&value)
void SetPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
EcsParameters & WithLaunchType(LaunchType &&value)
void SetPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
EcsParameters & WithPlatformVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue