AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
FormBindingElement.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AmplifyUIBuilder {
20namespace Model {
21
29 public:
30 AWS_AMPLIFYUIBUILDER_API FormBindingElement() = default;
31 AWS_AMPLIFYUIBUILDER_API FormBindingElement(Aws::Utils::Json::JsonView jsonValue);
32 AWS_AMPLIFYUIBUILDER_API FormBindingElement& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetElement() const { return m_element; }
40 inline bool ElementHasBeenSet() const { return m_elementHasBeenSet; }
41 template <typename ElementT = Aws::String>
42 void SetElement(ElementT&& value) {
43 m_elementHasBeenSet = true;
44 m_element = std::forward<ElementT>(value);
45 }
46 template <typename ElementT = Aws::String>
47 FormBindingElement& WithElement(ElementT&& value) {
48 SetElement(std::forward<ElementT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetProperty() const { return m_property; }
58 inline bool PropertyHasBeenSet() const { return m_propertyHasBeenSet; }
59 template <typename PropertyT = Aws::String>
60 void SetProperty(PropertyT&& value) {
61 m_propertyHasBeenSet = true;
62 m_property = std::forward<PropertyT>(value);
63 }
64 template <typename PropertyT = Aws::String>
65 FormBindingElement& WithProperty(PropertyT&& value) {
66 SetProperty(std::forward<PropertyT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_element;
72
73 Aws::String m_property;
74 bool m_elementHasBeenSet = false;
75 bool m_propertyHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace AmplifyUIBuilder
80} // namespace Aws
AWS_AMPLIFYUIBUILDER_API FormBindingElement(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API FormBindingElement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
FormBindingElement & WithElement(ElementT &&value)
AWS_AMPLIFYUIBUILDER_API FormBindingElement()=default
FormBindingElement & WithProperty(PropertyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue