AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
ComponentPropertyBindingProperties.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
30 public:
31 AWS_AMPLIFYUIBUILDER_API ComponentPropertyBindingProperties() = default;
34 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetProperty() const { return m_property; }
41 inline bool PropertyHasBeenSet() const { return m_propertyHasBeenSet; }
42 template <typename PropertyT = Aws::String>
43 void SetProperty(PropertyT&& value) {
44 m_propertyHasBeenSet = true;
45 m_property = std::forward<PropertyT>(value);
46 }
47 template <typename PropertyT = Aws::String>
49 SetProperty(std::forward<PropertyT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetField() const { return m_field; }
59 inline bool FieldHasBeenSet() const { return m_fieldHasBeenSet; }
60 template <typename FieldT = Aws::String>
61 void SetField(FieldT&& value) {
62 m_fieldHasBeenSet = true;
63 m_field = std::forward<FieldT>(value);
64 }
65 template <typename FieldT = Aws::String>
67 SetField(std::forward<FieldT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_property;
73
74 Aws::String m_field;
75 bool m_propertyHasBeenSet = false;
76 bool m_fieldHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace AmplifyUIBuilder
81} // namespace Aws
AWS_AMPLIFYUIBUILDER_API ComponentPropertyBindingProperties()=default
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentPropertyBindingProperties & WithProperty(PropertyT &&value)
AWS_AMPLIFYUIBUILDER_API ComponentPropertyBindingProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API ComponentPropertyBindingProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue