AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
RelationalDatabaseParameter.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Lightsail {
20namespace Model {
21
28 public:
29 AWS_LIGHTSAIL_API RelationalDatabaseParameter() = default;
32 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetAllowedValues() const { return m_allowedValues; }
39 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
40 template <typename AllowedValuesT = Aws::String>
41 void SetAllowedValues(AllowedValuesT&& value) {
42 m_allowedValuesHasBeenSet = true;
43 m_allowedValues = std::forward<AllowedValuesT>(value);
44 }
45 template <typename AllowedValuesT = Aws::String>
47 SetAllowedValues(std::forward<AllowedValuesT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetApplyMethod() const { return m_applyMethod; }
58 inline bool ApplyMethodHasBeenSet() const { return m_applyMethodHasBeenSet; }
59 template <typename ApplyMethodT = Aws::String>
60 void SetApplyMethod(ApplyMethodT&& value) {
61 m_applyMethodHasBeenSet = true;
62 m_applyMethod = std::forward<ApplyMethodT>(value);
63 }
64 template <typename ApplyMethodT = Aws::String>
66 SetApplyMethod(std::forward<ApplyMethodT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetApplyType() const { return m_applyType; }
76 inline bool ApplyTypeHasBeenSet() const { return m_applyTypeHasBeenSet; }
77 template <typename ApplyTypeT = Aws::String>
78 void SetApplyType(ApplyTypeT&& value) {
79 m_applyTypeHasBeenSet = true;
80 m_applyType = std::forward<ApplyTypeT>(value);
81 }
82 template <typename ApplyTypeT = Aws::String>
84 SetApplyType(std::forward<ApplyTypeT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetDataType() const { return m_dataType; }
94 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
95 template <typename DataTypeT = Aws::String>
96 void SetDataType(DataTypeT&& value) {
97 m_dataTypeHasBeenSet = true;
98 m_dataType = std::forward<DataTypeT>(value);
99 }
100 template <typename DataTypeT = Aws::String>
102 SetDataType(std::forward<DataTypeT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetDescription() const { return m_description; }
112 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
113 template <typename DescriptionT = Aws::String>
114 void SetDescription(DescriptionT&& value) {
115 m_descriptionHasBeenSet = true;
116 m_description = std::forward<DescriptionT>(value);
117 }
118 template <typename DescriptionT = Aws::String>
120 SetDescription(std::forward<DescriptionT>(value));
121 return *this;
122 }
124
126
129 inline bool GetIsModifiable() const { return m_isModifiable; }
130 inline bool IsModifiableHasBeenSet() const { return m_isModifiableHasBeenSet; }
131 inline void SetIsModifiable(bool value) {
132 m_isModifiableHasBeenSet = true;
133 m_isModifiable = value;
134 }
136 SetIsModifiable(value);
137 return *this;
138 }
140
142
145 inline const Aws::String& GetParameterName() const { return m_parameterName; }
146 inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
147 template <typename ParameterNameT = Aws::String>
148 void SetParameterName(ParameterNameT&& value) {
149 m_parameterNameHasBeenSet = true;
150 m_parameterName = std::forward<ParameterNameT>(value);
151 }
152 template <typename ParameterNameT = Aws::String>
154 SetParameterName(std::forward<ParameterNameT>(value));
155 return *this;
156 }
158
160
163 inline const Aws::String& GetParameterValue() const { return m_parameterValue; }
164 inline bool ParameterValueHasBeenSet() const { return m_parameterValueHasBeenSet; }
165 template <typename ParameterValueT = Aws::String>
166 void SetParameterValue(ParameterValueT&& value) {
167 m_parameterValueHasBeenSet = true;
168 m_parameterValue = std::forward<ParameterValueT>(value);
169 }
170 template <typename ParameterValueT = Aws::String>
172 SetParameterValue(std::forward<ParameterValueT>(value));
173 return *this;
174 }
176 private:
177 Aws::String m_allowedValues;
178
179 Aws::String m_applyMethod;
180
181 Aws::String m_applyType;
182
183 Aws::String m_dataType;
184
185 Aws::String m_description;
186
187 bool m_isModifiable{false};
188
189 Aws::String m_parameterName;
190
191 Aws::String m_parameterValue;
192 bool m_allowedValuesHasBeenSet = false;
193 bool m_applyMethodHasBeenSet = false;
194 bool m_applyTypeHasBeenSet = false;
195 bool m_dataTypeHasBeenSet = false;
196 bool m_descriptionHasBeenSet = false;
197 bool m_isModifiableHasBeenSet = false;
198 bool m_parameterNameHasBeenSet = false;
199 bool m_parameterValueHasBeenSet = false;
200};
201
202} // namespace Model
203} // namespace Lightsail
204} // namespace Aws
AWS_LIGHTSAIL_API RelationalDatabaseParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API RelationalDatabaseParameter(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
RelationalDatabaseParameter & WithDataType(DataTypeT &&value)
RelationalDatabaseParameter & WithIsModifiable(bool value)
RelationalDatabaseParameter & WithDescription(DescriptionT &&value)
RelationalDatabaseParameter & WithApplyMethod(ApplyMethodT &&value)
RelationalDatabaseParameter & WithAllowedValues(AllowedValuesT &&value)
RelationalDatabaseParameter & WithParameterName(ParameterNameT &&value)
AWS_LIGHTSAIL_API RelationalDatabaseParameter()=default
RelationalDatabaseParameter & WithParameterValue(ParameterValueT &&value)
RelationalDatabaseParameter & WithApplyType(ApplyTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue