AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RelationalDatabaseParameter.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Lightsail
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_LIGHTSAIL_API RelationalDatabaseParameter();
37 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetAllowedValues() const{ return m_allowedValues; }
45 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
46 inline void SetAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; }
47 inline void SetAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); }
48 inline void SetAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.assign(value); }
49 inline RelationalDatabaseParameter& WithAllowedValues(const Aws::String& value) { SetAllowedValues(value); return *this;}
50 inline RelationalDatabaseParameter& WithAllowedValues(Aws::String&& value) { SetAllowedValues(std::move(value)); return *this;}
51 inline RelationalDatabaseParameter& WithAllowedValues(const char* value) { SetAllowedValues(value); return *this;}
53
55
59 inline const Aws::String& GetApplyMethod() const{ return m_applyMethod; }
60 inline bool ApplyMethodHasBeenSet() const { return m_applyMethodHasBeenSet; }
61 inline void SetApplyMethod(const Aws::String& value) { m_applyMethodHasBeenSet = true; m_applyMethod = value; }
62 inline void SetApplyMethod(Aws::String&& value) { m_applyMethodHasBeenSet = true; m_applyMethod = std::move(value); }
63 inline void SetApplyMethod(const char* value) { m_applyMethodHasBeenSet = true; m_applyMethod.assign(value); }
64 inline RelationalDatabaseParameter& WithApplyMethod(const Aws::String& value) { SetApplyMethod(value); return *this;}
65 inline RelationalDatabaseParameter& WithApplyMethod(Aws::String&& value) { SetApplyMethod(std::move(value)); return *this;}
66 inline RelationalDatabaseParameter& WithApplyMethod(const char* value) { SetApplyMethod(value); return *this;}
68
70
73 inline const Aws::String& GetApplyType() const{ return m_applyType; }
74 inline bool ApplyTypeHasBeenSet() const { return m_applyTypeHasBeenSet; }
75 inline void SetApplyType(const Aws::String& value) { m_applyTypeHasBeenSet = true; m_applyType = value; }
76 inline void SetApplyType(Aws::String&& value) { m_applyTypeHasBeenSet = true; m_applyType = std::move(value); }
77 inline void SetApplyType(const char* value) { m_applyTypeHasBeenSet = true; m_applyType.assign(value); }
78 inline RelationalDatabaseParameter& WithApplyType(const Aws::String& value) { SetApplyType(value); return *this;}
79 inline RelationalDatabaseParameter& WithApplyType(Aws::String&& value) { SetApplyType(std::move(value)); return *this;}
80 inline RelationalDatabaseParameter& WithApplyType(const char* value) { SetApplyType(value); return *this;}
82
84
87 inline const Aws::String& GetDataType() const{ return m_dataType; }
88 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
89 inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
90 inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
91 inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); }
92 inline RelationalDatabaseParameter& WithDataType(const Aws::String& value) { SetDataType(value); return *this;}
93 inline RelationalDatabaseParameter& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;}
94 inline RelationalDatabaseParameter& WithDataType(const char* value) { SetDataType(value); return *this;}
96
98
101 inline const Aws::String& GetDescription() const{ return m_description; }
102 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
103 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
104 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
105 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
106 inline RelationalDatabaseParameter& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
107 inline RelationalDatabaseParameter& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
108 inline RelationalDatabaseParameter& WithDescription(const char* value) { SetDescription(value); return *this;}
110
112
115 inline bool GetIsModifiable() const{ return m_isModifiable; }
116 inline bool IsModifiableHasBeenSet() const { return m_isModifiableHasBeenSet; }
117 inline void SetIsModifiable(bool value) { m_isModifiableHasBeenSet = true; m_isModifiable = value; }
118 inline RelationalDatabaseParameter& WithIsModifiable(bool value) { SetIsModifiable(value); return *this;}
120
122
125 inline const Aws::String& GetParameterName() const{ return m_parameterName; }
126 inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
127 inline void SetParameterName(const Aws::String& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; }
128 inline void SetParameterName(Aws::String&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::move(value); }
129 inline void SetParameterName(const char* value) { m_parameterNameHasBeenSet = true; m_parameterName.assign(value); }
130 inline RelationalDatabaseParameter& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;}
131 inline RelationalDatabaseParameter& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;}
132 inline RelationalDatabaseParameter& WithParameterName(const char* value) { SetParameterName(value); return *this;}
134
136
139 inline const Aws::String& GetParameterValue() const{ return m_parameterValue; }
140 inline bool ParameterValueHasBeenSet() const { return m_parameterValueHasBeenSet; }
141 inline void SetParameterValue(const Aws::String& value) { m_parameterValueHasBeenSet = true; m_parameterValue = value; }
142 inline void SetParameterValue(Aws::String&& value) { m_parameterValueHasBeenSet = true; m_parameterValue = std::move(value); }
143 inline void SetParameterValue(const char* value) { m_parameterValueHasBeenSet = true; m_parameterValue.assign(value); }
145 inline RelationalDatabaseParameter& WithParameterValue(Aws::String&& value) { SetParameterValue(std::move(value)); return *this;}
146 inline RelationalDatabaseParameter& WithParameterValue(const char* value) { SetParameterValue(value); return *this;}
148 private:
149
150 Aws::String m_allowedValues;
151 bool m_allowedValuesHasBeenSet = false;
152
153 Aws::String m_applyMethod;
154 bool m_applyMethodHasBeenSet = false;
155
156 Aws::String m_applyType;
157 bool m_applyTypeHasBeenSet = false;
158
159 Aws::String m_dataType;
160 bool m_dataTypeHasBeenSet = false;
161
162 Aws::String m_description;
163 bool m_descriptionHasBeenSet = false;
164
165 bool m_isModifiable;
166 bool m_isModifiableHasBeenSet = false;
167
168 Aws::String m_parameterName;
169 bool m_parameterNameHasBeenSet = false;
170
171 Aws::String m_parameterValue;
172 bool m_parameterValueHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace Lightsail
177} // namespace Aws
RelationalDatabaseParameter & WithParameterValue(Aws::String &&value)
RelationalDatabaseParameter & WithAllowedValues(Aws::String &&value)
RelationalDatabaseParameter & WithParameterName(const Aws::String &value)
RelationalDatabaseParameter & WithAllowedValues(const char *value)
RelationalDatabaseParameter & WithParameterName(const char *value)
AWS_LIGHTSAIL_API RelationalDatabaseParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
RelationalDatabaseParameter & WithParameterValue(const Aws::String &value)
RelationalDatabaseParameter & WithDescription(const char *value)
AWS_LIGHTSAIL_API RelationalDatabaseParameter(Aws::Utils::Json::JsonView jsonValue)
RelationalDatabaseParameter & WithAllowedValues(const Aws::String &value)
RelationalDatabaseParameter & WithDescription(const Aws::String &value)
RelationalDatabaseParameter & WithDataType(Aws::String &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
RelationalDatabaseParameter & WithApplyMethod(const char *value)
RelationalDatabaseParameter & WithParameterName(Aws::String &&value)
RelationalDatabaseParameter & WithDataType(const char *value)
RelationalDatabaseParameter & WithApplyType(const char *value)
RelationalDatabaseParameter & WithIsModifiable(bool value)
RelationalDatabaseParameter & WithDescription(Aws::String &&value)
RelationalDatabaseParameter & WithApplyType(Aws::String &&value)
RelationalDatabaseParameter & WithApplyType(const Aws::String &value)
RelationalDatabaseParameter & WithApplyMethod(Aws::String &&value)
RelationalDatabaseParameter & WithApplyMethod(const Aws::String &value)
RelationalDatabaseParameter & WithDataType(const Aws::String &value)
RelationalDatabaseParameter & WithParameterValue(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue