7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/amplifyuibuilder/model/ActionParameters.h>
22namespace AmplifyUIBuilder
50 template<
typename ActionT = Aws::String>
51 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
52 template<
typename ActionT = Aws::String>
62 template<
typename ParametersT = ActionParameters>
63 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
64 template<
typename ParametersT = ActionParameters>
75 template<
typename BindingEventT = Aws::String>
76 void SetBindingEvent(BindingEventT&& value) { m_bindingEventHasBeenSet =
true; m_bindingEvent = std::forward<BindingEventT>(value); }
77 template<
typename BindingEventT = Aws::String>
83 bool m_actionHasBeenSet =
false;
86 bool m_parametersHasBeenSet =
false;
89 bool m_bindingEventHasBeenSet =
false;
AWS_AMPLIFYUIBUILDER_API ComponentEvent()=default
const ActionParameters & GetParameters() const
AWS_AMPLIFYUIBUILDER_API ComponentEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API ComponentEvent(Aws::Utils::Json::JsonView jsonValue)
ComponentEvent & WithBindingEvent(BindingEventT &&value)
ComponentEvent & WithAction(ActionT &&value)
const Aws::String & GetBindingEvent() const
bool BindingEventHasBeenSet() const
void SetAction(ActionT &&value)
ComponentEvent & WithParameters(ParametersT &&value)
void SetParameters(ParametersT &&value)
void SetBindingEvent(BindingEventT &&value)
const Aws::String & GetAction() const
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ActionHasBeenSet() const
bool ParametersHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue