AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComponentEvent.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/amplifyuibuilder/model/ActionParameters.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AmplifyUIBuilder
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_AMPLIFYUIBUILDER_API ComponentEvent();
39 AWS_AMPLIFYUIBUILDER_API ComponentEvent(Aws::Utils::Json::JsonView jsonValue);
40 AWS_AMPLIFYUIBUILDER_API ComponentEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetAction() const{ return m_action; }
49 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
50 inline void SetAction(const Aws::String& value) { m_actionHasBeenSet = true; m_action = value; }
51 inline void SetAction(Aws::String&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
52 inline void SetAction(const char* value) { m_actionHasBeenSet = true; m_action.assign(value); }
53 inline ComponentEvent& WithAction(const Aws::String& value) { SetAction(value); return *this;}
54 inline ComponentEvent& WithAction(Aws::String&& value) { SetAction(std::move(value)); return *this;}
55 inline ComponentEvent& WithAction(const char* value) { SetAction(value); return *this;}
57
59
62 inline const ActionParameters& GetParameters() const{ return m_parameters; }
63 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
64 inline void SetParameters(const ActionParameters& value) { m_parametersHasBeenSet = true; m_parameters = value; }
65 inline void SetParameters(ActionParameters&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
66 inline ComponentEvent& WithParameters(const ActionParameters& value) { SetParameters(value); return *this;}
67 inline ComponentEvent& WithParameters(ActionParameters&& value) { SetParameters(std::move(value)); return *this;}
69
71
75 inline const Aws::String& GetBindingEvent() const{ return m_bindingEvent; }
76 inline bool BindingEventHasBeenSet() const { return m_bindingEventHasBeenSet; }
77 inline void SetBindingEvent(const Aws::String& value) { m_bindingEventHasBeenSet = true; m_bindingEvent = value; }
78 inline void SetBindingEvent(Aws::String&& value) { m_bindingEventHasBeenSet = true; m_bindingEvent = std::move(value); }
79 inline void SetBindingEvent(const char* value) { m_bindingEventHasBeenSet = true; m_bindingEvent.assign(value); }
80 inline ComponentEvent& WithBindingEvent(const Aws::String& value) { SetBindingEvent(value); return *this;}
81 inline ComponentEvent& WithBindingEvent(Aws::String&& value) { SetBindingEvent(std::move(value)); return *this;}
82 inline ComponentEvent& WithBindingEvent(const char* value) { SetBindingEvent(value); return *this;}
84 private:
85
86 Aws::String m_action;
87 bool m_actionHasBeenSet = false;
88
89 ActionParameters m_parameters;
90 bool m_parametersHasBeenSet = false;
91
92 Aws::String m_bindingEvent;
93 bool m_bindingEventHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace AmplifyUIBuilder
98} // namespace Aws
const ActionParameters & GetParameters() const
ComponentEvent & WithBindingEvent(const char *value)
AWS_AMPLIFYUIBUILDER_API ComponentEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API ComponentEvent(Aws::Utils::Json::JsonView jsonValue)
void SetBindingEvent(const Aws::String &value)
const Aws::String & GetBindingEvent() const
void SetParameters(ActionParameters &&value)
void SetParameters(const ActionParameters &value)
ComponentEvent & WithAction(Aws::String &&value)
void SetAction(const Aws::String &value)
ComponentEvent & WithAction(const Aws::String &value)
ComponentEvent & WithParameters(const ActionParameters &value)
ComponentEvent & WithBindingEvent(const Aws::String &value)
ComponentEvent & WithParameters(ActionParameters &&value)
ComponentEvent & WithBindingEvent(Aws::String &&value)
AWS_AMPLIFYUIBUILDER_API ComponentEvent()
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentEvent & WithAction(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue