7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/PlacementConstraintType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
71 template<
typename ExpressionT = Aws::String>
72 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet =
true; m_expression = std::forward<ExpressionT>(value); }
73 template<
typename ExpressionT = Aws::String>
79 bool m_typeHasBeenSet =
false;
82 bool m_expressionHasBeenSet =
false;
const Aws::String & GetExpression() const
void SetExpression(ExpressionT &&value)
AWS_ECS_API PlacementConstraint(Aws::Utils::Json::JsonView jsonValue)
PlacementConstraint & WithExpression(ExpressionT &&value)
AWS_ECS_API PlacementConstraint()=default
bool ExpressionHasBeenSet() const
AWS_ECS_API PlacementConstraint & operator=(Aws::Utils::Json::JsonView jsonValue)
PlacementConstraint & WithType(PlacementConstraintType value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
bool TypeHasBeenSet() const
PlacementConstraintType GetType() const
void SetType(PlacementConstraintType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue