AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
ComponentBindingPropertiesValue.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/model/ComponentBindingPropertiesValueProperties.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AmplifyUIBuilder {
21namespace Model {
22
32 public:
33 AWS_AMPLIFYUIBUILDER_API ComponentBindingPropertiesValue() = default;
36 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetType() const { return m_type; }
43 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
44 template <typename TypeT = Aws::String>
45 void SetType(TypeT&& value) {
46 m_typeHasBeenSet = true;
47 m_type = std::forward<TypeT>(value);
48 }
49 template <typename TypeT = Aws::String>
51 SetType(std::forward<TypeT>(value));
52 return *this;
53 }
55
57
60 inline const ComponentBindingPropertiesValueProperties& GetBindingProperties() const { return m_bindingProperties; }
61 inline bool BindingPropertiesHasBeenSet() const { return m_bindingPropertiesHasBeenSet; }
62 template <typename BindingPropertiesT = ComponentBindingPropertiesValueProperties>
63 void SetBindingProperties(BindingPropertiesT&& value) {
64 m_bindingPropertiesHasBeenSet = true;
65 m_bindingProperties = std::forward<BindingPropertiesT>(value);
66 }
67 template <typename BindingPropertiesT = ComponentBindingPropertiesValueProperties>
69 SetBindingProperties(std::forward<BindingPropertiesT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetDefaultValue() const { return m_defaultValue; }
79 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
80 template <typename DefaultValueT = Aws::String>
81 void SetDefaultValue(DefaultValueT&& value) {
82 m_defaultValueHasBeenSet = true;
83 m_defaultValue = std::forward<DefaultValueT>(value);
84 }
85 template <typename DefaultValueT = Aws::String>
87 SetDefaultValue(std::forward<DefaultValueT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_type;
93
95
96 Aws::String m_defaultValue;
97 bool m_typeHasBeenSet = false;
98 bool m_bindingPropertiesHasBeenSet = false;
99 bool m_defaultValueHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace AmplifyUIBuilder
104} // namespace Aws
AWS_AMPLIFYUIBUILDER_API ComponentBindingPropertiesValue(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API ComponentBindingPropertiesValue & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentBindingPropertiesValue & WithDefaultValue(DefaultValueT &&value)
ComponentBindingPropertiesValue & WithBindingProperties(BindingPropertiesT &&value)
AWS_AMPLIFYUIBUILDER_API ComponentBindingPropertiesValue()=default
const ComponentBindingPropertiesValueProperties & GetBindingProperties() const
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