7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/PlacementConstraintType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
75 inline void SetExpression(
const char* value) { m_expressionHasBeenSet =
true; m_expression.assign(value); }
83 bool m_typeHasBeenSet =
false;
86 bool m_expressionHasBeenSet =
false;
const Aws::String & GetExpression() const
const PlacementConstraintType & GetType() const
PlacementConstraint & WithExpression(const char *value)
AWS_ECS_API PlacementConstraint(Aws::Utils::Json::JsonView jsonValue)
void SetExpression(const Aws::String &value)
PlacementConstraint & WithType(PlacementConstraintType &&value)
bool ExpressionHasBeenSet() const
AWS_ECS_API PlacementConstraint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API PlacementConstraint()
PlacementConstraint & WithExpression(const Aws::String &value)
PlacementConstraint & WithExpression(Aws::String &&value)
void SetExpression(Aws::String &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
bool TypeHasBeenSet() const
void SetType(const PlacementConstraintType &value)
PlacementConstraint & WithType(const PlacementConstraintType &value)
void SetType(PlacementConstraintType &&value)
void SetExpression(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue