AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
MutationActionSetStateParameter.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/model/ComponentProperty.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AmplifyUIBuilder {
21namespace Model {
22
30 public:
31 AWS_AMPLIFYUIBUILDER_API MutationActionSetStateParameter() = default;
34 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetComponentName() const { return m_componentName; }
41 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
42 template <typename ComponentNameT = Aws::String>
43 void SetComponentName(ComponentNameT&& value) {
44 m_componentNameHasBeenSet = true;
45 m_componentName = std::forward<ComponentNameT>(value);
46 }
47 template <typename ComponentNameT = Aws::String>
49 SetComponentName(std::forward<ComponentNameT>(value));
50 return *this;
51 }
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) {
62 m_propertyHasBeenSet = true;
63 m_property = std::forward<PropertyT>(value);
64 }
65 template <typename PropertyT = Aws::String>
67 SetProperty(std::forward<PropertyT>(value));
68 return *this;
69 }
71
73
76 inline const ComponentProperty& GetSet() const { return m_set; }
77 inline bool SetHasBeenSet() const { return m_setHasBeenSet; }
78 template <typename SetT = ComponentProperty>
79 void SetSet(SetT&& value) {
80 m_setHasBeenSet = true;
81 m_set = std::forward<SetT>(value);
82 }
83 template <typename SetT = ComponentProperty>
85 SetSet(std::forward<SetT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_componentName;
91
92 Aws::String m_property;
93
95 bool m_componentNameHasBeenSet = false;
96 bool m_propertyHasBeenSet = false;
97 bool m_setHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace AmplifyUIBuilder
102} // 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