7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/PlacementStrategyType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
78 inline void SetField(
const char* value) { m_fieldHasBeenSet =
true; m_field.assign(value); }
86 bool m_typeHasBeenSet =
false;
89 bool m_fieldHasBeenSet =
false;
void SetType(PlacementStrategyType &&value)
PlacementStrategy & WithType(PlacementStrategyType &&value)
AWS_ECS_API PlacementStrategy()
PlacementStrategy & WithField(const char *value)
const Aws::String & GetField() const
void SetField(const Aws::String &value)
AWS_ECS_API PlacementStrategy(Aws::Utils::Json::JsonView jsonValue)
bool FieldHasBeenSet() const
AWS_ECS_API PlacementStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
PlacementStrategy & WithType(const PlacementStrategyType &value)
const PlacementStrategyType & GetType() const
bool TypeHasBeenSet() const
PlacementStrategy & WithField(Aws::String &&value)
void SetField(const char *value)
void SetField(Aws::String &&value)
PlacementStrategy & WithField(const Aws::String &value)
void SetType(const PlacementStrategyType &value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue