7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9#include <aws/ecs/model/PlacementStrategyType.h>
53 m_typeHasBeenSet =
true;
74 template <
typename FieldT = Aws::String>
76 m_fieldHasBeenSet =
true;
77 m_field = std::forward<FieldT>(value);
79 template <
typename FieldT = Aws::String>
81 SetField(std::forward<FieldT>(value));
89 bool m_typeHasBeenSet =
false;
90 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