AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AmplifyUIBuilder
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_AMPLIFYUIBUILDER_API FormBindingElement() = default;
36 AWS_AMPLIFYUIBUILDER_API FormBindingElement(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AMPLIFYUIBUILDER_API FormBindingElement& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetElement() const { return m_element; }
46 inline bool ElementHasBeenSet() const { return m_elementHasBeenSet; }
47 template<typename ElementT = Aws::String>
48 void SetElement(ElementT&& value) { m_elementHasBeenSet = true; m_element = std::forward<ElementT>(value); }
49 template<typename ElementT = Aws::String>
50 FormBindingElement& WithElement(ElementT&& value) { SetElement(std::forward<ElementT>(value)); return *this;}
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) { m_propertyHasBeenSet = true; m_property = std::forward<PropertyT>(value); }
61 template<typename PropertyT = Aws::String>
62 FormBindingElement& WithProperty(PropertyT&& value) { SetProperty(std::forward<PropertyT>(value)); return *this;}
64 private:
65
66 Aws::String m_element;
67 bool m_elementHasBeenSet = false;
68
69 Aws::String m_property;
70 bool m_propertyHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace AmplifyUIBuilder
75} // 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