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