AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComponentBindingPropertiesValueProperties.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/amplifyuibuilder/model/Predicate.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AmplifyUIBuilder
24{
25namespace Model
26{
27
37 {
38 public:
42 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetModel() const{ return m_model; }
50 inline bool ModelHasBeenSet() const { return m_modelHasBeenSet; }
51 inline void SetModel(const Aws::String& value) { m_modelHasBeenSet = true; m_model = value; }
52 inline void SetModel(Aws::String&& value) { m_modelHasBeenSet = true; m_model = std::move(value); }
53 inline void SetModel(const char* value) { m_modelHasBeenSet = true; m_model.assign(value); }
54 inline ComponentBindingPropertiesValueProperties& WithModel(const Aws::String& value) { SetModel(value); return *this;}
55 inline ComponentBindingPropertiesValueProperties& WithModel(Aws::String&& value) { SetModel(std::move(value)); return *this;}
56 inline ComponentBindingPropertiesValueProperties& WithModel(const char* value) { SetModel(value); return *this;}
58
60
63 inline const Aws::String& GetField() const{ return m_field; }
64 inline bool FieldHasBeenSet() const { return m_fieldHasBeenSet; }
65 inline void SetField(const Aws::String& value) { m_fieldHasBeenSet = true; m_field = value; }
66 inline void SetField(Aws::String&& value) { m_fieldHasBeenSet = true; m_field = std::move(value); }
67 inline void SetField(const char* value) { m_fieldHasBeenSet = true; m_field.assign(value); }
68 inline ComponentBindingPropertiesValueProperties& WithField(const Aws::String& value) { SetField(value); return *this;}
69 inline ComponentBindingPropertiesValueProperties& WithField(Aws::String&& value) { SetField(std::move(value)); return *this;}
70 inline ComponentBindingPropertiesValueProperties& WithField(const char* value) { SetField(value); return *this;}
72
74
77 inline const Aws::Vector<Predicate>& GetPredicates() const{ return m_predicates; }
78 inline bool PredicatesHasBeenSet() const { return m_predicatesHasBeenSet; }
79 inline void SetPredicates(const Aws::Vector<Predicate>& value) { m_predicatesHasBeenSet = true; m_predicates = value; }
80 inline void SetPredicates(Aws::Vector<Predicate>&& value) { m_predicatesHasBeenSet = true; m_predicates = std::move(value); }
83 inline ComponentBindingPropertiesValueProperties& AddPredicates(const Predicate& value) { m_predicatesHasBeenSet = true; m_predicates.push_back(value); return *this; }
84 inline ComponentBindingPropertiesValueProperties& AddPredicates(Predicate&& value) { m_predicatesHasBeenSet = true; m_predicates.push_back(std::move(value)); return *this; }
86
88
91 inline const Aws::String& GetUserAttribute() const{ return m_userAttribute; }
92 inline bool UserAttributeHasBeenSet() const { return m_userAttributeHasBeenSet; }
93 inline void SetUserAttribute(const Aws::String& value) { m_userAttributeHasBeenSet = true; m_userAttribute = value; }
94 inline void SetUserAttribute(Aws::String&& value) { m_userAttributeHasBeenSet = true; m_userAttribute = std::move(value); }
95 inline void SetUserAttribute(const char* value) { m_userAttributeHasBeenSet = true; m_userAttribute.assign(value); }
98 inline ComponentBindingPropertiesValueProperties& WithUserAttribute(const char* value) { SetUserAttribute(value); return *this;}
100
102
105 inline const Aws::String& GetBucket() const{ return m_bucket; }
106 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
107 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
108 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
109 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
110 inline ComponentBindingPropertiesValueProperties& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
111 inline ComponentBindingPropertiesValueProperties& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
112 inline ComponentBindingPropertiesValueProperties& WithBucket(const char* value) { SetBucket(value); return *this;}
114
116
119 inline const Aws::String& GetKey() const{ return m_key; }
120 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
121 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
122 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
123 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
124 inline ComponentBindingPropertiesValueProperties& WithKey(const Aws::String& value) { SetKey(value); return *this;}
125 inline ComponentBindingPropertiesValueProperties& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
126 inline ComponentBindingPropertiesValueProperties& WithKey(const char* value) { SetKey(value); return *this;}
128
130
133 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
134 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
135 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
136 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
137 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
140 inline ComponentBindingPropertiesValueProperties& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
142
144
147 inline const Aws::String& GetSlotName() const{ return m_slotName; }
148 inline bool SlotNameHasBeenSet() const { return m_slotNameHasBeenSet; }
149 inline void SetSlotName(const Aws::String& value) { m_slotNameHasBeenSet = true; m_slotName = value; }
150 inline void SetSlotName(Aws::String&& value) { m_slotNameHasBeenSet = true; m_slotName = std::move(value); }
151 inline void SetSlotName(const char* value) { m_slotNameHasBeenSet = true; m_slotName.assign(value); }
153 inline ComponentBindingPropertiesValueProperties& WithSlotName(Aws::String&& value) { SetSlotName(std::move(value)); return *this;}
154 inline ComponentBindingPropertiesValueProperties& WithSlotName(const char* value) { SetSlotName(value); return *this;}
156 private:
157
158 Aws::String m_model;
159 bool m_modelHasBeenSet = false;
160
161 Aws::String m_field;
162 bool m_fieldHasBeenSet = false;
163
164 Aws::Vector<Predicate> m_predicates;
165 bool m_predicatesHasBeenSet = false;
166
167 Aws::String m_userAttribute;
168 bool m_userAttributeHasBeenSet = false;
169
170 Aws::String m_bucket;
171 bool m_bucketHasBeenSet = false;
172
173 Aws::String m_key;
174 bool m_keyHasBeenSet = false;
175
176 Aws::String m_defaultValue;
177 bool m_defaultValueHasBeenSet = false;
178
179 Aws::String m_slotName;
180 bool m_slotNameHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace AmplifyUIBuilder
185} // namespace Aws
ComponentBindingPropertiesValueProperties & WithModel(const Aws::String &value)
ComponentBindingPropertiesValueProperties & WithDefaultValue(Aws::String &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentBindingPropertiesValueProperties & WithField(const Aws::String &value)
ComponentBindingPropertiesValueProperties & WithUserAttribute(const Aws::String &value)
ComponentBindingPropertiesValueProperties & WithSlotName(const Aws::String &value)
ComponentBindingPropertiesValueProperties & WithKey(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API ComponentBindingPropertiesValueProperties(Aws::Utils::Json::JsonView jsonValue)
ComponentBindingPropertiesValueProperties & WithDefaultValue(const Aws::String &value)
ComponentBindingPropertiesValueProperties & AddPredicates(const Predicate &value)
ComponentBindingPropertiesValueProperties & WithBucket(const Aws::String &value)
ComponentBindingPropertiesValueProperties & WithUserAttribute(const char *value)
ComponentBindingPropertiesValueProperties & WithUserAttribute(Aws::String &&value)
ComponentBindingPropertiesValueProperties & WithPredicates(const Aws::Vector< Predicate > &value)
ComponentBindingPropertiesValueProperties & WithSlotName(Aws::String &&value)
AWS_AMPLIFYUIBUILDER_API ComponentBindingPropertiesValueProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentBindingPropertiesValueProperties & WithPredicates(Aws::Vector< Predicate > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue