7#include <aws/scheduler/Scheduler_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/scheduler/model/PlacementStrategyType.h>
56 inline void SetField(
const char* value) { m_fieldHasBeenSet =
true; m_field.assign(value); }
82 bool m_fieldHasBeenSet =
false;
85 bool m_typeHasBeenSet =
false;
PlacementStrategy & WithField(const char *value)
PlacementStrategy & WithField(Aws::String &&value)
AWS_SCHEDULER_API PlacementStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FieldHasBeenSet() const
PlacementStrategy & WithField(const Aws::String &value)
void SetType(const PlacementStrategyType &value)
bool TypeHasBeenSet() const
PlacementStrategy & WithType(PlacementStrategyType &&value)
void SetField(const char *value)
void SetType(PlacementStrategyType &&value)
AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetField() const
const PlacementStrategyType & GetType() const
AWS_SCHEDULER_API PlacementStrategy()
void SetField(const Aws::String &value)
void SetField(Aws::String &&value)
PlacementStrategy & WithType(const PlacementStrategyType &value)
AWS_SCHEDULER_API PlacementStrategy(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue