7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/model/PlacementStrategyType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
71 template<
typename FieldT = Aws::String>
72 void SetField(FieldT&& value) { m_fieldHasBeenSet =
true; m_field = std::forward<FieldT>(value); }
73 template<
typename FieldT = Aws::String>
79 bool m_typeHasBeenSet =
false;
82 bool m_fieldHasBeenSet =
false;
AWS_EVENTBRIDGE_API PlacementStrategy(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetField() const
void SetField(FieldT &&value)
AWS_EVENTBRIDGE_API PlacementStrategy()=default
void SetType(PlacementStrategyType value)
PlacementStrategy & WithField(FieldT &&value)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EVENTBRIDGE_API PlacementStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
PlacementStrategyType GetType() const
bool FieldHasBeenSet() const
PlacementStrategy & WithType(PlacementStrategyType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue