AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetElement(const Aws::String& value) { m_elementHasBeenSet = true; m_element = value; }
48 inline void SetElement(Aws::String&& value) { m_elementHasBeenSet = true; m_element = std::move(value); }
49 inline void SetElement(const char* value) { m_elementHasBeenSet = true; m_element.assign(value); }
50 inline FormBindingElement& WithElement(const Aws::String& value) { SetElement(value); return *this;}
51 inline FormBindingElement& WithElement(Aws::String&& value) { SetElement(std::move(value)); return *this;}
52 inline FormBindingElement& WithElement(const char* value) { SetElement(value); return *this;}
54
56
59 inline const Aws::String& GetProperty() const{ return m_property; }
60 inline bool PropertyHasBeenSet() const { return m_propertyHasBeenSet; }
61 inline void SetProperty(const Aws::String& value) { m_propertyHasBeenSet = true; m_property = value; }
62 inline void SetProperty(Aws::String&& value) { m_propertyHasBeenSet = true; m_property = std::move(value); }
63 inline void SetProperty(const char* value) { m_propertyHasBeenSet = true; m_property.assign(value); }
64 inline FormBindingElement& WithProperty(const Aws::String& value) { SetProperty(value); return *this;}
65 inline FormBindingElement& WithProperty(Aws::String&& value) { SetProperty(std::move(value)); return *this;}
66 inline FormBindingElement& WithProperty(const char* value) { SetProperty(value); return *this;}
68 private:
69
70 Aws::String m_element;
71 bool m_elementHasBeenSet = false;
72
73 Aws::String m_property;
74 bool m_propertyHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace AmplifyUIBuilder
79} // namespace Aws
FormBindingElement & WithProperty(const char *value)
AWS_AMPLIFYUIBUILDER_API FormBindingElement(Aws::Utils::Json::JsonView jsonValue)
FormBindingElement & WithProperty(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API FormBindingElement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
FormBindingElement & WithElement(const Aws::String &value)
FormBindingElement & WithElement(Aws::String &&value)
FormBindingElement & WithProperty(Aws::String &&value)
FormBindingElement & WithElement(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue