AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValueMappings.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/amplifyuibuilder/model/ValueMapping.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/amplifyuibuilder/model/FormInputBindingPropertiesValue.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace AmplifyUIBuilder
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_AMPLIFYUIBUILDER_API ValueMappings();
40 AWS_AMPLIFYUIBUILDER_API ValueMappings(Aws::Utils::Json::JsonView jsonValue);
41 AWS_AMPLIFYUIBUILDER_API ValueMappings& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Vector<ValueMapping>& GetValues() const{ return m_values; }
50 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
51 inline void SetValues(const Aws::Vector<ValueMapping>& value) { m_valuesHasBeenSet = true; m_values = value; }
52 inline void SetValues(Aws::Vector<ValueMapping>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
53 inline ValueMappings& WithValues(const Aws::Vector<ValueMapping>& value) { SetValues(value); return *this;}
54 inline ValueMappings& WithValues(Aws::Vector<ValueMapping>&& value) { SetValues(std::move(value)); return *this;}
55 inline ValueMappings& AddValues(const ValueMapping& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
56 inline ValueMappings& AddValues(ValueMapping&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
58
60
63 inline const Aws::Map<Aws::String, FormInputBindingPropertiesValue>& GetBindingProperties() const{ return m_bindingProperties; }
64 inline bool BindingPropertiesHasBeenSet() const { return m_bindingPropertiesHasBeenSet; }
65 inline void SetBindingProperties(const Aws::Map<Aws::String, FormInputBindingPropertiesValue>& value) { m_bindingPropertiesHasBeenSet = true; m_bindingProperties = value; }
66 inline void SetBindingProperties(Aws::Map<Aws::String, FormInputBindingPropertiesValue>&& value) { m_bindingPropertiesHasBeenSet = true; m_bindingProperties = std::move(value); }
69 inline ValueMappings& AddBindingProperties(const Aws::String& key, const FormInputBindingPropertiesValue& value) { m_bindingPropertiesHasBeenSet = true; m_bindingProperties.emplace(key, value); return *this; }
70 inline ValueMappings& AddBindingProperties(Aws::String&& key, const FormInputBindingPropertiesValue& value) { m_bindingPropertiesHasBeenSet = true; m_bindingProperties.emplace(std::move(key), value); return *this; }
71 inline ValueMappings& AddBindingProperties(const Aws::String& key, FormInputBindingPropertiesValue&& value) { m_bindingPropertiesHasBeenSet = true; m_bindingProperties.emplace(key, std::move(value)); return *this; }
72 inline ValueMappings& AddBindingProperties(Aws::String&& key, FormInputBindingPropertiesValue&& value) { m_bindingPropertiesHasBeenSet = true; m_bindingProperties.emplace(std::move(key), std::move(value)); return *this; }
73 inline ValueMappings& AddBindingProperties(const char* key, FormInputBindingPropertiesValue&& value) { m_bindingPropertiesHasBeenSet = true; m_bindingProperties.emplace(key, std::move(value)); return *this; }
74 inline ValueMappings& AddBindingProperties(const char* key, const FormInputBindingPropertiesValue& value) { m_bindingPropertiesHasBeenSet = true; m_bindingProperties.emplace(key, value); return *this; }
76 private:
77
79 bool m_valuesHasBeenSet = false;
80
82 bool m_bindingPropertiesHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace AmplifyUIBuilder
87} // namespace Aws
ValueMappings & AddValues(ValueMapping &&value)
void SetValues(const Aws::Vector< ValueMapping > &value)
ValueMappings & AddBindingProperties(Aws::String &&key, const FormInputBindingPropertiesValue &value)
ValueMappings & AddBindingProperties(const char *key, const FormInputBindingPropertiesValue &value)
ValueMappings & WithValues(const Aws::Vector< ValueMapping > &value)
ValueMappings & AddBindingProperties(const Aws::String &key, FormInputBindingPropertiesValue &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYUIBUILDER_API ValueMappings()
ValueMappings & AddBindingProperties(const Aws::String &key, const FormInputBindingPropertiesValue &value)
AWS_AMPLIFYUIBUILDER_API ValueMappings(Aws::Utils::Json::JsonView jsonValue)
ValueMappings & WithValues(Aws::Vector< ValueMapping > &&value)
const Aws::Map< Aws::String, FormInputBindingPropertiesValue > & GetBindingProperties() const
void SetBindingProperties(Aws::Map< Aws::String, FormInputBindingPropertiesValue > &&value)
void SetValues(Aws::Vector< ValueMapping > &&value)
ValueMappings & AddBindingProperties(Aws::String &&key, FormInputBindingPropertiesValue &&value)
void SetBindingProperties(const Aws::Map< Aws::String, FormInputBindingPropertiesValue > &value)
ValueMappings & AddValues(const ValueMapping &value)
const Aws::Vector< ValueMapping > & GetValues() const
ValueMappings & WithBindingProperties(const Aws::Map< Aws::String, FormInputBindingPropertiesValue > &value)
ValueMappings & WithBindingProperties(Aws::Map< Aws::String, FormInputBindingPropertiesValue > &&value)
AWS_AMPLIFYUIBUILDER_API ValueMappings & operator=(Aws::Utils::Json::JsonView jsonValue)
ValueMappings & AddBindingProperties(const char *key, FormInputBindingPropertiesValue &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue