7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eventbridge/EventBridge_EXPORTS.h>
9#include <aws/eventbridge/model/PlacementConstraintType.h>
20namespace EventBridge {
47 m_typeHasBeenSet =
true;
66 template <
typename ExpressionT = Aws::String>
68 m_expressionHasBeenSet =
true;
69 m_expression = std::forward<ExpressionT>(value);
71 template <
typename ExpressionT = Aws::String>
81 bool m_typeHasBeenSet =
false;
82 bool m_expressionHasBeenSet =
false;
PlacementConstraintType GetType() const
PlacementConstraint & WithType(PlacementConstraintType value)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EVENTBRIDGE_API PlacementConstraint()=default
void SetExpression(ExpressionT &&value)
void SetType(PlacementConstraintType value)
const Aws::String & GetExpression() const
PlacementConstraint & WithExpression(ExpressionT &&value)
bool ExpressionHasBeenSet() const
AWS_EVENTBRIDGE_API PlacementConstraint(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
AWS_EVENTBRIDGE_API PlacementConstraint & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue