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