7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/PlacementStrategyType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
74 template<
typename FieldT = Aws::String>
75 void SetField(FieldT&& value) { m_fieldHasBeenSet =
true; m_field = std::forward<FieldT>(value); }
76 template<
typename FieldT = Aws::String>
82 bool m_typeHasBeenSet =
false;
85 bool m_fieldHasBeenSet =
false;
const Aws::String & GetField() const
void SetType(PlacementStrategyType value)
AWS_ECS_API PlacementStrategy(Aws::Utils::Json::JsonView jsonValue)
bool FieldHasBeenSet() const
AWS_ECS_API PlacementStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API PlacementStrategy()=default
PlacementStrategyType GetType() const
bool TypeHasBeenSet() const
PlacementStrategy & WithType(PlacementStrategyType value)
PlacementStrategy & WithField(FieldT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetField(FieldT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue