AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MutationActionSetStateParameter.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/ComponentProperty.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
34 {
35 public:
36 AWS_AMPLIFYUIBUILDER_API MutationActionSetStateParameter() = default;
39 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetComponentName() const { return m_componentName; }
47 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
48 template<typename ComponentNameT = Aws::String>
49 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet = true; m_componentName = std::forward<ComponentNameT>(value); }
50 template<typename ComponentNameT = Aws::String>
51 MutationActionSetStateParameter& WithComponentName(ComponentNameT&& value) { SetComponentName(std::forward<ComponentNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetProperty() const { return m_property; }
59 inline bool PropertyHasBeenSet() const { return m_propertyHasBeenSet; }
60 template<typename PropertyT = Aws::String>
61 void SetProperty(PropertyT&& value) { m_propertyHasBeenSet = true; m_property = std::forward<PropertyT>(value); }
62 template<typename PropertyT = Aws::String>
63 MutationActionSetStateParameter& WithProperty(PropertyT&& value) { SetProperty(std::forward<PropertyT>(value)); return *this;}
65
67
70 inline const ComponentProperty& GetSet() const { return m_set; }
71 inline bool SetHasBeenSet() const { return m_setHasBeenSet; }
72 template<typename SetT = ComponentProperty>
73 void SetSet(SetT&& value) { m_setHasBeenSet = true; m_set = std::forward<SetT>(value); }
74 template<typename SetT = ComponentProperty>
75 MutationActionSetStateParameter& WithSet(SetT&& value) { SetSet(std::forward<SetT>(value)); return *this;}
77 private:
78
79 Aws::String m_componentName;
80 bool m_componentNameHasBeenSet = false;
81
82 Aws::String m_property;
83 bool m_propertyHasBeenSet = false;
84
86 bool m_setHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace AmplifyUIBuilder
91} // namespace Aws
MutationActionSetStateParameter & WithProperty(PropertyT &&value)
MutationActionSetStateParameter & WithComponentName(ComponentNameT &&value)
AWS_AMPLIFYUIBUILDER_API MutationActionSetStateParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API MutationActionSetStateParameter(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API MutationActionSetStateParameter()=default
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue