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