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