AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Parameter.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/neptune/model/ApplyMethod.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace Neptune
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_NEPTUNE_API Parameter() = default;
36 AWS_NEPTUNE_API Parameter(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_NEPTUNE_API Parameter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetParameterName() const { return m_parameterName; }
48 inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
49 template<typename ParameterNameT = Aws::String>
50 void SetParameterName(ParameterNameT&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::forward<ParameterNameT>(value); }
51 template<typename ParameterNameT = Aws::String>
52 Parameter& WithParameterName(ParameterNameT&& value) { SetParameterName(std::forward<ParameterNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetParameterValue() const { return m_parameterValue; }
60 inline bool ParameterValueHasBeenSet() const { return m_parameterValueHasBeenSet; }
61 template<typename ParameterValueT = Aws::String>
62 void SetParameterValue(ParameterValueT&& value) { m_parameterValueHasBeenSet = true; m_parameterValue = std::forward<ParameterValueT>(value); }
63 template<typename ParameterValueT = Aws::String>
64 Parameter& WithParameterValue(ParameterValueT&& value) { SetParameterValue(std::forward<ParameterValueT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 template<typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
75 template<typename DescriptionT = Aws::String>
76 Parameter& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
78
80
83 inline const Aws::String& GetSource() const { return m_source; }
84 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
85 template<typename SourceT = Aws::String>
86 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
87 template<typename SourceT = Aws::String>
88 Parameter& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
90
92
95 inline const Aws::String& GetApplyType() const { return m_applyType; }
96 inline bool ApplyTypeHasBeenSet() const { return m_applyTypeHasBeenSet; }
97 template<typename ApplyTypeT = Aws::String>
98 void SetApplyType(ApplyTypeT&& value) { m_applyTypeHasBeenSet = true; m_applyType = std::forward<ApplyTypeT>(value); }
99 template<typename ApplyTypeT = Aws::String>
100 Parameter& WithApplyType(ApplyTypeT&& value) { SetApplyType(std::forward<ApplyTypeT>(value)); return *this;}
102
104
107 inline const Aws::String& GetDataType() const { return m_dataType; }
108 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
109 template<typename DataTypeT = Aws::String>
110 void SetDataType(DataTypeT&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::forward<DataTypeT>(value); }
111 template<typename DataTypeT = Aws::String>
112 Parameter& WithDataType(DataTypeT&& value) { SetDataType(std::forward<DataTypeT>(value)); return *this;}
114
116
119 inline const Aws::String& GetAllowedValues() const { return m_allowedValues; }
120 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
121 template<typename AllowedValuesT = Aws::String>
122 void SetAllowedValues(AllowedValuesT&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::forward<AllowedValuesT>(value); }
123 template<typename AllowedValuesT = Aws::String>
124 Parameter& WithAllowedValues(AllowedValuesT&& value) { SetAllowedValues(std::forward<AllowedValuesT>(value)); return *this;}
126
128
133 inline bool GetIsModifiable() const { return m_isModifiable; }
134 inline bool IsModifiableHasBeenSet() const { return m_isModifiableHasBeenSet; }
135 inline void SetIsModifiable(bool value) { m_isModifiableHasBeenSet = true; m_isModifiable = value; }
136 inline Parameter& WithIsModifiable(bool value) { SetIsModifiable(value); return *this;}
138
140
143 inline const Aws::String& GetMinimumEngineVersion() const { return m_minimumEngineVersion; }
144 inline bool MinimumEngineVersionHasBeenSet() const { return m_minimumEngineVersionHasBeenSet; }
145 template<typename MinimumEngineVersionT = Aws::String>
146 void SetMinimumEngineVersion(MinimumEngineVersionT&& value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion = std::forward<MinimumEngineVersionT>(value); }
147 template<typename MinimumEngineVersionT = Aws::String>
148 Parameter& WithMinimumEngineVersion(MinimumEngineVersionT&& value) { SetMinimumEngineVersion(std::forward<MinimumEngineVersionT>(value)); return *this;}
150
152
155 inline ApplyMethod GetApplyMethod() const { return m_applyMethod; }
156 inline bool ApplyMethodHasBeenSet() const { return m_applyMethodHasBeenSet; }
157 inline void SetApplyMethod(ApplyMethod value) { m_applyMethodHasBeenSet = true; m_applyMethod = value; }
158 inline Parameter& WithApplyMethod(ApplyMethod value) { SetApplyMethod(value); return *this;}
160 private:
161
162 Aws::String m_parameterName;
163 bool m_parameterNameHasBeenSet = false;
164
165 Aws::String m_parameterValue;
166 bool m_parameterValueHasBeenSet = false;
167
168 Aws::String m_description;
169 bool m_descriptionHasBeenSet = false;
170
171 Aws::String m_source;
172 bool m_sourceHasBeenSet = false;
173
174 Aws::String m_applyType;
175 bool m_applyTypeHasBeenSet = false;
176
177 Aws::String m_dataType;
178 bool m_dataTypeHasBeenSet = false;
179
180 Aws::String m_allowedValues;
181 bool m_allowedValuesHasBeenSet = false;
182
183 bool m_isModifiable{false};
184 bool m_isModifiableHasBeenSet = false;
185
186 Aws::String m_minimumEngineVersion;
187 bool m_minimumEngineVersionHasBeenSet = false;
188
189 ApplyMethod m_applyMethod{ApplyMethod::NOT_SET};
190 bool m_applyMethodHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace Neptune
195} // namespace Aws
bool IsModifiableHasBeenSet() const
Definition Parameter.h:134
Parameter & WithApplyMethod(ApplyMethod value)
Definition Parameter.h:158
const Aws::String & GetDescription() const
Definition Parameter.h:71
Parameter & WithDescription(DescriptionT &&value)
Definition Parameter.h:76
Parameter & WithIsModifiable(bool value)
Definition Parameter.h:136
bool ParameterValueHasBeenSet() const
Definition Parameter.h:60
bool ParameterNameHasBeenSet() const
Definition Parameter.h:48
void SetSource(SourceT &&value)
Definition Parameter.h:86
Parameter & WithMinimumEngineVersion(MinimumEngineVersionT &&value)
Definition Parameter.h:148
void SetIsModifiable(bool value)
Definition Parameter.h:135
const Aws::String & GetParameterValue() const
Definition Parameter.h:59
bool AllowedValuesHasBeenSet() const
Definition Parameter.h:120
const Aws::String & GetAllowedValues() const
Definition Parameter.h:119
Parameter & WithParameterName(ParameterNameT &&value)
Definition Parameter.h:52
void SetDescription(DescriptionT &&value)
Definition Parameter.h:74
const Aws::String & GetSource() const
Definition Parameter.h:83
Parameter & WithSource(SourceT &&value)
Definition Parameter.h:88
void SetMinimumEngineVersion(MinimumEngineVersionT &&value)
Definition Parameter.h:146
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Parameter & WithParameterValue(ParameterValueT &&value)
Definition Parameter.h:64
Parameter & WithApplyType(ApplyTypeT &&value)
Definition Parameter.h:100
void SetAllowedValues(AllowedValuesT &&value)
Definition Parameter.h:122
AWS_NEPTUNE_API Parameter(const Aws::Utils::Xml::XmlNode &xmlNode)
bool MinimumEngineVersionHasBeenSet() const
Definition Parameter.h:144
AWS_NEPTUNE_API Parameter & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool DescriptionHasBeenSet() const
Definition Parameter.h:72
const Aws::String & GetApplyType() const
Definition Parameter.h:95
AWS_NEPTUNE_API Parameter()=default
const Aws::String & GetMinimumEngineVersion() const
Definition Parameter.h:143
void SetParameterName(ParameterNameT &&value)
Definition Parameter.h:50
Parameter & WithAllowedValues(AllowedValuesT &&value)
Definition Parameter.h:124
const Aws::String & GetDataType() const
Definition Parameter.h:107
void SetParameterValue(ParameterValueT &&value)
Definition Parameter.h:62
void SetApplyType(ApplyTypeT &&value)
Definition Parameter.h:98
ApplyMethod GetApplyMethod() const
Definition Parameter.h:155
void SetDataType(DataTypeT &&value)
Definition Parameter.h:110
void SetApplyMethod(ApplyMethod value)
Definition Parameter.h:157
Parameter & WithDataType(DataTypeT &&value)
Definition Parameter.h:112
const Aws::String & GetParameterName() const
Definition Parameter.h:47
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream