AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
51 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
52 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
53 inline ComponentBindingPropertiesValue& WithType(const Aws::String& value) { SetType(value); return *this;}
54 inline ComponentBindingPropertiesValue& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
55 inline ComponentBindingPropertiesValue& WithType(const char* value) { SetType(value); return *this;}
57
59
62 inline const ComponentBindingPropertiesValueProperties& GetBindingProperties() const{ return m_bindingProperties; }
63 inline bool BindingPropertiesHasBeenSet() const { return m_bindingPropertiesHasBeenSet; }
64 inline void SetBindingProperties(const ComponentBindingPropertiesValueProperties& value) { m_bindingPropertiesHasBeenSet = true; m_bindingProperties = value; }
65 inline void SetBindingProperties(ComponentBindingPropertiesValueProperties&& value) { m_bindingPropertiesHasBeenSet = true; m_bindingProperties = std::move(value); }
69
71
74 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
75 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
76 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
77 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
78 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
79 inline ComponentBindingPropertiesValue& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
80 inline ComponentBindingPropertiesValue& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
81 inline ComponentBindingPropertiesValue& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
83 private:
84
85 Aws::String m_type;
86 bool m_typeHasBeenSet = false;
87
89 bool m_bindingPropertiesHasBeenSet = false;
90
91 Aws::String m_defaultValue;
92 bool m_defaultValueHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace AmplifyUIBuilder
97} // namespace Aws
AWS_AMPLIFYUIBUILDER_API ComponentBindingPropertiesValue(Aws::Utils::Json::JsonView jsonValue)
ComponentBindingPropertiesValue & WithType(const char *value)
AWS_AMPLIFYUIBUILDER_API ComponentBindingPropertiesValue & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentBindingPropertiesValue & WithDefaultValue(const char *value)
ComponentBindingPropertiesValue & WithType(Aws::String &&value)
void SetBindingProperties(const ComponentBindingPropertiesValueProperties &value)
ComponentBindingPropertiesValue & WithDefaultValue(const Aws::String &value)
const ComponentBindingPropertiesValueProperties & GetBindingProperties() const
ComponentBindingPropertiesValue & WithDefaultValue(Aws::String &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBindingProperties(ComponentBindingPropertiesValueProperties &&value)
ComponentBindingPropertiesValue & WithBindingProperties(ComponentBindingPropertiesValueProperties &&value)
ComponentBindingPropertiesValue & WithBindingProperties(const ComponentBindingPropertiesValueProperties &value)
ComponentBindingPropertiesValue & WithType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue