AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetParameterName(const Aws::String& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; }
50 inline void SetParameterName(Aws::String&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::move(value); }
51 inline void SetParameterName(const char* value) { m_parameterNameHasBeenSet = true; m_parameterName.assign(value); }
52 inline Parameter& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;}
53 inline Parameter& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;}
54 inline Parameter& WithParameterName(const char* value) { SetParameterName(value); return *this;}
56
58
61 inline const Aws::String& GetParameterValue() const{ return m_parameterValue; }
62 inline bool ParameterValueHasBeenSet() const { return m_parameterValueHasBeenSet; }
63 inline void SetParameterValue(const Aws::String& value) { m_parameterValueHasBeenSet = true; m_parameterValue = value; }
64 inline void SetParameterValue(Aws::String&& value) { m_parameterValueHasBeenSet = true; m_parameterValue = std::move(value); }
65 inline void SetParameterValue(const char* value) { m_parameterValueHasBeenSet = true; m_parameterValue.assign(value); }
66 inline Parameter& WithParameterValue(const Aws::String& value) { SetParameterValue(value); return *this;}
67 inline Parameter& WithParameterValue(Aws::String&& value) { SetParameterValue(std::move(value)); return *this;}
68 inline Parameter& WithParameterValue(const char* value) { SetParameterValue(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline Parameter& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline Parameter& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline Parameter& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
89 inline const Aws::String& GetSource() const{ return m_source; }
90 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
91 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
92 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
93 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
94 inline Parameter& WithSource(const Aws::String& value) { SetSource(value); return *this;}
95 inline Parameter& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
96 inline Parameter& WithSource(const char* value) { SetSource(value); return *this;}
98
100
103 inline const Aws::String& GetApplyType() const{ return m_applyType; }
104 inline bool ApplyTypeHasBeenSet() const { return m_applyTypeHasBeenSet; }
105 inline void SetApplyType(const Aws::String& value) { m_applyTypeHasBeenSet = true; m_applyType = value; }
106 inline void SetApplyType(Aws::String&& value) { m_applyTypeHasBeenSet = true; m_applyType = std::move(value); }
107 inline void SetApplyType(const char* value) { m_applyTypeHasBeenSet = true; m_applyType.assign(value); }
108 inline Parameter& WithApplyType(const Aws::String& value) { SetApplyType(value); return *this;}
109 inline Parameter& WithApplyType(Aws::String&& value) { SetApplyType(std::move(value)); return *this;}
110 inline Parameter& WithApplyType(const char* value) { SetApplyType(value); return *this;}
112
114
117 inline const Aws::String& GetDataType() const{ return m_dataType; }
118 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
119 inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
120 inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
121 inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); }
122 inline Parameter& WithDataType(const Aws::String& value) { SetDataType(value); return *this;}
123 inline Parameter& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;}
124 inline Parameter& WithDataType(const char* value) { SetDataType(value); return *this;}
126
128
131 inline const Aws::String& GetAllowedValues() const{ return m_allowedValues; }
132 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
133 inline void SetAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; }
134 inline void SetAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); }
135 inline void SetAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.assign(value); }
136 inline Parameter& WithAllowedValues(const Aws::String& value) { SetAllowedValues(value); return *this;}
137 inline Parameter& WithAllowedValues(Aws::String&& value) { SetAllowedValues(std::move(value)); return *this;}
138 inline Parameter& WithAllowedValues(const char* value) { SetAllowedValues(value); return *this;}
140
142
147 inline bool GetIsModifiable() const{ return m_isModifiable; }
148 inline bool IsModifiableHasBeenSet() const { return m_isModifiableHasBeenSet; }
149 inline void SetIsModifiable(bool value) { m_isModifiableHasBeenSet = true; m_isModifiable = value; }
150 inline Parameter& WithIsModifiable(bool value) { SetIsModifiable(value); return *this;}
152
154
157 inline const Aws::String& GetMinimumEngineVersion() const{ return m_minimumEngineVersion; }
158 inline bool MinimumEngineVersionHasBeenSet() const { return m_minimumEngineVersionHasBeenSet; }
159 inline void SetMinimumEngineVersion(const Aws::String& value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion = value; }
160 inline void SetMinimumEngineVersion(Aws::String&& value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion = std::move(value); }
161 inline void SetMinimumEngineVersion(const char* value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion.assign(value); }
162 inline Parameter& WithMinimumEngineVersion(const Aws::String& value) { SetMinimumEngineVersion(value); return *this;}
163 inline Parameter& WithMinimumEngineVersion(Aws::String&& value) { SetMinimumEngineVersion(std::move(value)); return *this;}
164 inline Parameter& WithMinimumEngineVersion(const char* value) { SetMinimumEngineVersion(value); return *this;}
166
168
171 inline const ApplyMethod& GetApplyMethod() const{ return m_applyMethod; }
172 inline bool ApplyMethodHasBeenSet() const { return m_applyMethodHasBeenSet; }
173 inline void SetApplyMethod(const ApplyMethod& value) { m_applyMethodHasBeenSet = true; m_applyMethod = value; }
174 inline void SetApplyMethod(ApplyMethod&& value) { m_applyMethodHasBeenSet = true; m_applyMethod = std::move(value); }
175 inline Parameter& WithApplyMethod(const ApplyMethod& value) { SetApplyMethod(value); return *this;}
176 inline Parameter& WithApplyMethod(ApplyMethod&& value) { SetApplyMethod(std::move(value)); return *this;}
178 private:
179
180 Aws::String m_parameterName;
181 bool m_parameterNameHasBeenSet = false;
182
183 Aws::String m_parameterValue;
184 bool m_parameterValueHasBeenSet = false;
185
186 Aws::String m_description;
187 bool m_descriptionHasBeenSet = false;
188
189 Aws::String m_source;
190 bool m_sourceHasBeenSet = false;
191
192 Aws::String m_applyType;
193 bool m_applyTypeHasBeenSet = false;
194
195 Aws::String m_dataType;
196 bool m_dataTypeHasBeenSet = false;
197
198 Aws::String m_allowedValues;
199 bool m_allowedValuesHasBeenSet = false;
200
201 bool m_isModifiable;
202 bool m_isModifiableHasBeenSet = false;
203
204 Aws::String m_minimumEngineVersion;
205 bool m_minimumEngineVersionHasBeenSet = false;
206
207 ApplyMethod m_applyMethod;
208 bool m_applyMethodHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace Neptune
213} // namespace Aws
void SetAllowedValues(const Aws::String &value)
Definition Parameter.h:133
void SetParameterValue(Aws::String &&value)
Definition Parameter.h:64
Parameter & WithApplyType(const char *value)
Definition Parameter.h:110
bool IsModifiableHasBeenSet() const
Definition Parameter.h:148
Parameter & WithParameterName(Aws::String &&value)
Definition Parameter.h:53
const Aws::String & GetDescription() const
Definition Parameter.h:75
Parameter & WithIsModifiable(bool value)
Definition Parameter.h:150
bool ParameterValueHasBeenSet() const
Definition Parameter.h:62
Parameter & WithDescription(const Aws::String &value)
Definition Parameter.h:80
bool ParameterNameHasBeenSet() const
Definition Parameter.h:48
void SetDataType(const Aws::String &value)
Definition Parameter.h:119
Parameter & WithDataType(const Aws::String &value)
Definition Parameter.h:122
void SetSource(Aws::String &&value)
Definition Parameter.h:92
void SetIsModifiable(bool value)
Definition Parameter.h:149
const Aws::String & GetParameterValue() const
Definition Parameter.h:61
bool AllowedValuesHasBeenSet() const
Definition Parameter.h:132
Parameter & WithParameterValue(const Aws::String &value)
Definition Parameter.h:66
const Aws::String & GetAllowedValues() const
Definition Parameter.h:131
void SetAllowedValues(const char *value)
Definition Parameter.h:135
const Aws::String & GetSource() const
Definition Parameter.h:89
void SetSource(const Aws::String &value)
Definition Parameter.h:91
Parameter & WithSource(const char *value)
Definition Parameter.h:96
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetApplyType(const char *value)
Definition Parameter.h:107
void SetApplyType(Aws::String &&value)
Definition Parameter.h:106
void SetMinimumEngineVersion(const Aws::String &value)
Definition Parameter.h:159
Parameter & WithApplyMethod(const ApplyMethod &value)
Definition Parameter.h:175
void SetAllowedValues(Aws::String &&value)
Definition Parameter.h:134
Parameter & WithParameterName(const char *value)
Definition Parameter.h:54
Parameter & WithParameterValue(Aws::String &&value)
Definition Parameter.h:67
Parameter & WithDataType(Aws::String &&value)
Definition Parameter.h:123
const ApplyMethod & GetApplyMethod() const
Definition Parameter.h:171
void SetDataType(Aws::String &&value)
Definition Parameter.h:120
void SetParameterName(const char *value)
Definition Parameter.h:51
Parameter & WithApplyType(Aws::String &&value)
Definition Parameter.h:109
void SetApplyMethod(const ApplyMethod &value)
Definition Parameter.h:173
Parameter & WithMinimumEngineVersion(const char *value)
Definition Parameter.h:164
Parameter & WithAllowedValues(const Aws::String &value)
Definition Parameter.h:136
void SetParameterName(Aws::String &&value)
Definition Parameter.h:50
void SetParameterName(const Aws::String &value)
Definition Parameter.h:49
void SetMinimumEngineVersion(const char *value)
Definition Parameter.h:161
AWS_NEPTUNE_API Parameter(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetApplyMethod(ApplyMethod &&value)
Definition Parameter.h:174
Parameter & WithMinimumEngineVersion(const Aws::String &value)
Definition Parameter.h:162
void SetDescription(const char *value)
Definition Parameter.h:79
void SetMinimumEngineVersion(Aws::String &&value)
Definition Parameter.h:160
void SetSource(const char *value)
Definition Parameter.h:93
bool MinimumEngineVersionHasBeenSet() const
Definition Parameter.h:158
AWS_NEPTUNE_API Parameter & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool DescriptionHasBeenSet() const
Definition Parameter.h:76
const Aws::String & GetApplyType() const
Definition Parameter.h:103
const Aws::String & GetMinimumEngineVersion() const
Definition Parameter.h:157
Parameter & WithAllowedValues(const char *value)
Definition Parameter.h:138
Parameter & WithDescription(const char *value)
Definition Parameter.h:82
const Aws::String & GetDataType() const
Definition Parameter.h:117
void SetDescription(const Aws::String &value)
Definition Parameter.h:77
Parameter & WithSource(const Aws::String &value)
Definition Parameter.h:94
Parameter & WithParameterName(const Aws::String &value)
Definition Parameter.h:52
Parameter & WithDataType(const char *value)
Definition Parameter.h:124
Parameter & WithApplyType(const Aws::String &value)
Definition Parameter.h:108
Parameter & WithApplyMethod(ApplyMethod &&value)
Definition Parameter.h:176
Parameter & WithAllowedValues(Aws::String &&value)
Definition Parameter.h:137
void SetApplyType(const Aws::String &value)
Definition Parameter.h:105
Parameter & WithSource(Aws::String &&value)
Definition Parameter.h:95
const Aws::String & GetParameterName() const
Definition Parameter.h:47
void SetParameterValue(const char *value)
Definition Parameter.h:65
void SetParameterValue(const Aws::String &value)
Definition Parameter.h:63
void SetDataType(const char *value)
Definition Parameter.h:121
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Parameter & WithParameterValue(const char *value)
Definition Parameter.h:68
Parameter & WithMinimumEngineVersion(Aws::String &&value)
Definition Parameter.h:163
void SetDescription(Aws::String &&value)
Definition Parameter.h:78
Parameter & WithDescription(Aws::String &&value)
Definition Parameter.h:81
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream