AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AllowedValuesT = Aws::String>
47 void SetAllowedValues(AllowedValuesT&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::forward<AllowedValuesT>(value); }
48 template<typename AllowedValuesT = Aws::String>
49 RelationalDatabaseParameter& WithAllowedValues(AllowedValuesT&& value) { SetAllowedValues(std::forward<AllowedValuesT>(value)); return *this;}
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) { m_applyMethodHasBeenSet = true; m_applyMethod = std::forward<ApplyMethodT>(value); }
61 template<typename ApplyMethodT = Aws::String>
62 RelationalDatabaseParameter& WithApplyMethod(ApplyMethodT&& value) { SetApplyMethod(std::forward<ApplyMethodT>(value)); return *this;}
64
66
69 inline const Aws::String& GetApplyType() const { return m_applyType; }
70 inline bool ApplyTypeHasBeenSet() const { return m_applyTypeHasBeenSet; }
71 template<typename ApplyTypeT = Aws::String>
72 void SetApplyType(ApplyTypeT&& value) { m_applyTypeHasBeenSet = true; m_applyType = std::forward<ApplyTypeT>(value); }
73 template<typename ApplyTypeT = Aws::String>
74 RelationalDatabaseParameter& WithApplyType(ApplyTypeT&& value) { SetApplyType(std::forward<ApplyTypeT>(value)); return *this;}
76
78
81 inline const Aws::String& GetDataType() const { return m_dataType; }
82 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
83 template<typename DataTypeT = Aws::String>
84 void SetDataType(DataTypeT&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::forward<DataTypeT>(value); }
85 template<typename DataTypeT = Aws::String>
86 RelationalDatabaseParameter& WithDataType(DataTypeT&& value) { SetDataType(std::forward<DataTypeT>(value)); return *this;}
88
90
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template<typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
97 template<typename DescriptionT = Aws::String>
98 RelationalDatabaseParameter& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
100
102
105 inline bool GetIsModifiable() const { return m_isModifiable; }
106 inline bool IsModifiableHasBeenSet() const { return m_isModifiableHasBeenSet; }
107 inline void SetIsModifiable(bool value) { m_isModifiableHasBeenSet = true; m_isModifiable = value; }
108 inline RelationalDatabaseParameter& WithIsModifiable(bool value) { SetIsModifiable(value); return *this;}
110
112
115 inline const Aws::String& GetParameterName() const { return m_parameterName; }
116 inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
117 template<typename ParameterNameT = Aws::String>
118 void SetParameterName(ParameterNameT&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::forward<ParameterNameT>(value); }
119 template<typename ParameterNameT = Aws::String>
120 RelationalDatabaseParameter& WithParameterName(ParameterNameT&& value) { SetParameterName(std::forward<ParameterNameT>(value)); return *this;}
122
124
127 inline const Aws::String& GetParameterValue() const { return m_parameterValue; }
128 inline bool ParameterValueHasBeenSet() const { return m_parameterValueHasBeenSet; }
129 template<typename ParameterValueT = Aws::String>
130 void SetParameterValue(ParameterValueT&& value) { m_parameterValueHasBeenSet = true; m_parameterValue = std::forward<ParameterValueT>(value); }
131 template<typename ParameterValueT = Aws::String>
132 RelationalDatabaseParameter& WithParameterValue(ParameterValueT&& value) { SetParameterValue(std::forward<ParameterValueT>(value)); return *this;}
134 private:
135
136 Aws::String m_allowedValues;
137 bool m_allowedValuesHasBeenSet = false;
138
139 Aws::String m_applyMethod;
140 bool m_applyMethodHasBeenSet = false;
141
142 Aws::String m_applyType;
143 bool m_applyTypeHasBeenSet = false;
144
145 Aws::String m_dataType;
146 bool m_dataTypeHasBeenSet = false;
147
148 Aws::String m_description;
149 bool m_descriptionHasBeenSet = false;
150
151 bool m_isModifiable{false};
152 bool m_isModifiableHasBeenSet = false;
153
154 Aws::String m_parameterName;
155 bool m_parameterNameHasBeenSet = false;
156
157 Aws::String m_parameterValue;
158 bool m_parameterValueHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace Lightsail
163} // 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