7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/model/PlacementStrategyType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
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_EVENTBRIDGE_API PlacementStrategy(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetField() const
void SetField(const Aws::String &value)
const PlacementStrategyType & GetType() const
PlacementStrategy & WithType(const PlacementStrategyType &value)
PlacementStrategy & WithField(const char *value)
PlacementStrategy & WithType(PlacementStrategyType &&value)
void SetField(const char *value)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
PlacementStrategy & WithField(Aws::String &&value)
AWS_EVENTBRIDGE_API PlacementStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(const PlacementStrategyType &value)
PlacementStrategy & WithField(const Aws::String &value)
bool TypeHasBeenSet() const
void SetField(Aws::String &&value)
AWS_EVENTBRIDGE_API PlacementStrategy()
bool FieldHasBeenSet() const
void SetType(PlacementStrategyType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue