7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/model/ComponentProperty.h>
9#include <aws/amplifyuibuilder/model/MutationActionSetStateParameter.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
22namespace AmplifyUIBuilder {
48 template <
typename TypeT = ComponentProperty>
50 m_typeHasBeenSet =
true;
51 m_type = std::forward<TypeT>(value);
53 template <
typename TypeT = ComponentProperty>
55 SetType(std::forward<TypeT>(value));
67 template <
typename UrlT = ComponentProperty>
69 m_urlHasBeenSet =
true;
70 m_url = std::forward<UrlT>(value);
72 template <
typename UrlT = ComponentProperty>
74 SetUrl(std::forward<UrlT>(value));
86 template <
typename AnchorT = ComponentProperty>
88 m_anchorHasBeenSet =
true;
89 m_anchor = std::forward<AnchorT>(value);
91 template <
typename AnchorT = ComponentProperty>
104 template <
typename TargetT = ComponentProperty>
106 m_targetHasBeenSet =
true;
107 m_target = std::forward<TargetT>(value);
109 template <
typename TargetT = ComponentProperty>
123 template <
typename GlobalT = ComponentProperty>
125 m_globalHasBeenSet =
true;
126 m_global = std::forward<GlobalT>(value);
128 template <
typename GlobalT = ComponentProperty>
142 template <
typename ModelT = Aws::String>
144 m_modelHasBeenSet =
true;
145 m_model = std::forward<ModelT>(value);
147 template <
typename ModelT = Aws::String>
149 SetModel(std::forward<ModelT>(value));
161 template <
typename IdT = ComponentProperty>
163 m_idHasBeenSet =
true;
164 m_id = std::forward<IdT>(value);
166 template <
typename IdT = ComponentProperty>
168 SetId(std::forward<IdT>(value));
181 template <
typename FieldsT = Aws::Map<Aws::String, ComponentProperty>>
183 m_fieldsHasBeenSet =
true;
184 m_fields = std::forward<FieldsT>(value);
186 template <
typename FieldsT = Aws::Map<Aws::String, ComponentProperty>>
191 template <
typename FieldsKeyT = Aws::String,
typename FieldsValueT = ComponentProperty>
193 m_fieldsHasBeenSet =
true;
194 m_fields.emplace(std::forward<FieldsKeyT>(key), std::forward<FieldsValueT>(value));
206 template <
typename StateT = MutationActionSetStateParameter>
208 m_stateHasBeenSet =
true;
209 m_state = std::forward<StateT>(value);
211 template <
typename StateT = MutationActionSetStateParameter>
213 SetState(std::forward<StateT>(value));
235 bool m_typeHasBeenSet =
false;
236 bool m_urlHasBeenSet =
false;
237 bool m_anchorHasBeenSet =
false;
238 bool m_targetHasBeenSet =
false;
239 bool m_globalHasBeenSet =
false;
240 bool m_modelHasBeenSet =
false;
241 bool m_idHasBeenSet =
false;
242 bool m_fieldsHasBeenSet =
false;
243 bool m_stateHasBeenSet =
false;
void SetFields(FieldsT &&value)
ActionParameters & WithId(IdT &&value)
ActionParameters & WithGlobal(GlobalT &&value)
AWS_AMPLIFYUIBUILDER_API ActionParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionParameters & WithType(TypeT &&value)
bool TargetHasBeenSet() const
void SetUrl(UrlT &&value)
bool ModelHasBeenSet() const
bool UrlHasBeenSet() const
ActionParameters & WithTarget(TargetT &&value)
AWS_AMPLIFYUIBUILDER_API ActionParameters(Aws::Utils::Json::JsonView jsonValue)
ActionParameters & WithModel(ModelT &&value)
void SetType(TypeT &&value)
void SetState(StateT &&value)
bool GlobalHasBeenSet() const
bool StateHasBeenSet() const
const ComponentProperty & GetId() const
const Aws::Map< Aws::String, ComponentProperty > & GetFields() const
void SetTarget(TargetT &&value)
const ComponentProperty & GetUrl() const
bool AnchorHasBeenSet() const
const Aws::String & GetModel() const
const ComponentProperty & GetAnchor() const
ActionParameters & WithFields(FieldsT &&value)
AWS_AMPLIFYUIBUILDER_API ActionParameters()=default
void SetModel(ModelT &&value)
void SetGlobal(GlobalT &&value)
bool IdHasBeenSet() const
ActionParameters & WithState(StateT &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool TypeHasBeenSet() const
const ComponentProperty & GetType() const
const ComponentProperty & GetGlobal() const
ActionParameters & WithAnchor(AnchorT &&value)
void SetAnchor(AnchorT &&value)
const ComponentProperty & GetTarget() const
ActionParameters & AddFields(FieldsKeyT &&key, FieldsValueT &&value)
const MutationActionSetStateParameter & GetState() const
ActionParameters & WithUrl(UrlT &&value)
bool FieldsHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue