AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
FormInputValueProperty.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/model/FormInputValuePropertyBindingProperties.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AmplifyUIBuilder {
22namespace Model {
23
32 public:
33 AWS_AMPLIFYUIBUILDER_API FormInputValueProperty() = default;
34 AWS_AMPLIFYUIBUILDER_API FormInputValueProperty(Aws::Utils::Json::JsonView jsonValue);
35 AWS_AMPLIFYUIBUILDER_API FormInputValueProperty& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetValue() const { return m_value; }
43 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
44 template <typename ValueT = Aws::String>
45 void SetValue(ValueT&& value) {
46 m_valueHasBeenSet = true;
47 m_value = std::forward<ValueT>(value);
48 }
49 template <typename ValueT = Aws::String>
51 SetValue(std::forward<ValueT>(value));
52 return *this;
53 }
55
57
60 inline const FormInputValuePropertyBindingProperties& GetBindingProperties() const { return m_bindingProperties; }
61 inline bool BindingPropertiesHasBeenSet() const { return m_bindingPropertiesHasBeenSet; }
62 template <typename BindingPropertiesT = FormInputValuePropertyBindingProperties>
63 void SetBindingProperties(BindingPropertiesT&& value) {
64 m_bindingPropertiesHasBeenSet = true;
65 m_bindingProperties = std::forward<BindingPropertiesT>(value);
66 }
67 template <typename BindingPropertiesT = FormInputValuePropertyBindingProperties>
68 FormInputValueProperty& WithBindingProperties(BindingPropertiesT&& value) {
69 SetBindingProperties(std::forward<BindingPropertiesT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::Vector<FormInputValueProperty>& GetConcat() const { return m_concat; }
80 inline bool ConcatHasBeenSet() const { return m_concatHasBeenSet; }
81 template <typename ConcatT = Aws::Vector<FormInputValueProperty>>
82 void SetConcat(ConcatT&& value) {
83 m_concatHasBeenSet = true;
84 m_concat = std::forward<ConcatT>(value);
85 }
86 template <typename ConcatT = Aws::Vector<FormInputValueProperty>>
88 SetConcat(std::forward<ConcatT>(value));
89 return *this;
90 }
91 template <typename ConcatT = FormInputValueProperty>
93 m_concatHasBeenSet = true;
94 m_concat.emplace_back(std::forward<ConcatT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_value;
100
101 FormInputValuePropertyBindingProperties m_bindingProperties;
102
104 bool m_valueHasBeenSet = false;
105 bool m_bindingPropertiesHasBeenSet = false;
106 bool m_concatHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace AmplifyUIBuilder
111} // namespace Aws
AWS_AMPLIFYUIBUILDER_API FormInputValueProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< FormInputValueProperty > & GetConcat() const
FormInputValueProperty & AddConcat(ConcatT &&value)
FormInputValueProperty & WithBindingProperties(BindingPropertiesT &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYUIBUILDER_API FormInputValueProperty(Aws::Utils::Json::JsonView jsonValue)
const FormInputValuePropertyBindingProperties & GetBindingProperties() const
FormInputValueProperty & WithConcat(ConcatT &&value)
FormInputValueProperty & WithValue(ValueT &&value)
AWS_AMPLIFYUIBUILDER_API FormInputValueProperty()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue