7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eventbridge/EventBridge_EXPORTS.h>
9#include <aws/eventbridge/model/PlacementStrategyType.h>
20namespace EventBridge {
51 m_typeHasBeenSet =
true;
71 template <
typename FieldT = Aws::String>
73 m_fieldHasBeenSet =
true;
74 m_field = std::forward<FieldT>(value);
76 template <
typename FieldT = Aws::String>
78 SetField(std::forward<FieldT>(value));
86 bool m_typeHasBeenSet =
false;
87 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