AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; }
49 inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); }
50 inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); }
52 inline MutationActionSetStateParameter& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
53 inline MutationActionSetStateParameter& WithComponentName(const char* value) { SetComponentName(value); return *this;}
55
57
60 inline const Aws::String& GetProperty() const{ return m_property; }
61 inline bool PropertyHasBeenSet() const { return m_propertyHasBeenSet; }
62 inline void SetProperty(const Aws::String& value) { m_propertyHasBeenSet = true; m_property = value; }
63 inline void SetProperty(Aws::String&& value) { m_propertyHasBeenSet = true; m_property = std::move(value); }
64 inline void SetProperty(const char* value) { m_propertyHasBeenSet = true; m_property.assign(value); }
65 inline MutationActionSetStateParameter& WithProperty(const Aws::String& value) { SetProperty(value); return *this;}
66 inline MutationActionSetStateParameter& WithProperty(Aws::String&& value) { SetProperty(std::move(value)); return *this;}
67 inline MutationActionSetStateParameter& WithProperty(const char* value) { SetProperty(value); return *this;}
69
71
74 inline const ComponentProperty& GetSet() const{ return m_set; }
75 inline bool SetHasBeenSet() const { return m_setHasBeenSet; }
76 inline void SetSet(const ComponentProperty& value) { m_setHasBeenSet = true; m_set = value; }
77 inline void SetSet(ComponentProperty&& value) { m_setHasBeenSet = true; m_set = std::move(value); }
78 inline MutationActionSetStateParameter& WithSet(const ComponentProperty& value) { SetSet(value); return *this;}
79 inline MutationActionSetStateParameter& WithSet(ComponentProperty&& value) { SetSet(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_componentName;
84 bool m_componentNameHasBeenSet = false;
85
86 Aws::String m_property;
87 bool m_propertyHasBeenSet = false;
88
90 bool m_setHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace AmplifyUIBuilder
95} // namespace Aws
MutationActionSetStateParameter & WithProperty(Aws::String &&value)
MutationActionSetStateParameter & WithComponentName(const char *value)
MutationActionSetStateParameter & WithComponentName(const Aws::String &value)
MutationActionSetStateParameter & WithComponentName(Aws::String &&value)
MutationActionSetStateParameter & WithSet(const ComponentProperty &value)
MutationActionSetStateParameter & WithSet(ComponentProperty &&value)
MutationActionSetStateParameter & WithProperty(const char *value)
AWS_AMPLIFYUIBUILDER_API MutationActionSetStateParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API MutationActionSetStateParameter(Aws::Utils::Json::JsonView jsonValue)
MutationActionSetStateParameter & WithProperty(const Aws::String &value)
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