AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ComponentBindingPropertiesValue.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/amplifyuibuilder/model/ComponentBindingPropertiesValueProperties.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AmplifyUIBuilder
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_AMPLIFYUIBUILDER_API ComponentBindingPropertiesValue() = default;
41 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetType() const { return m_type; }
49 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 template<typename TypeT = Aws::String>
51 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
52 template<typename TypeT = Aws::String>
53 ComponentBindingPropertiesValue& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
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) { m_bindingPropertiesHasBeenSet = true; m_bindingProperties = std::forward<BindingPropertiesT>(value); }
64 template<typename BindingPropertiesT = ComponentBindingPropertiesValueProperties>
65 ComponentBindingPropertiesValue& WithBindingProperties(BindingPropertiesT&& value) { SetBindingProperties(std::forward<BindingPropertiesT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDefaultValue() const { return m_defaultValue; }
73 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
74 template<typename DefaultValueT = Aws::String>
75 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::forward<DefaultValueT>(value); }
76 template<typename DefaultValueT = Aws::String>
77 ComponentBindingPropertiesValue& WithDefaultValue(DefaultValueT&& value) { SetDefaultValue(std::forward<DefaultValueT>(value)); return *this;}
79 private:
80
81 Aws::String m_type;
82 bool m_typeHasBeenSet = false;
83
85 bool m_bindingPropertiesHasBeenSet = false;
86
87 Aws::String m_defaultValue;
88 bool m_defaultValueHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace AmplifyUIBuilder
93} // 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