AWS SDK for C++  1.8.126
AWS SDK for C++
ArrayValue.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace RDSDataService
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::Vector<ArrayValue>& GetArrayValues() const{ return m_arrayValues; }
46 
50  inline bool ArrayValuesHasBeenSet() const { return m_arrayValuesHasBeenSet; }
51 
55  inline void SetArrayValues(const Aws::Vector<ArrayValue>& value) { m_arrayValuesHasBeenSet = true; m_arrayValues = value; }
56 
60  inline void SetArrayValues(Aws::Vector<ArrayValue>&& value) { m_arrayValuesHasBeenSet = true; m_arrayValues = std::move(value); }
61 
65  inline ArrayValue& WithArrayValues(const Aws::Vector<ArrayValue>& value) { SetArrayValues(value); return *this;}
66 
70  inline ArrayValue& WithArrayValues(Aws::Vector<ArrayValue>&& value) { SetArrayValues(std::move(value)); return *this;}
71 
75  inline ArrayValue& AddArrayValues(const ArrayValue& value) { m_arrayValuesHasBeenSet = true; m_arrayValues.push_back(value); return *this; }
76 
80  inline ArrayValue& AddArrayValues(ArrayValue&& value) { m_arrayValuesHasBeenSet = true; m_arrayValues.push_back(std::move(value)); return *this; }
81 
82 
86  inline const Aws::Vector<bool>& GetBooleanValues() const{ return m_booleanValues; }
87 
91  inline bool BooleanValuesHasBeenSet() const { return m_booleanValuesHasBeenSet; }
92 
96  inline void SetBooleanValues(const Aws::Vector<bool>& value) { m_booleanValuesHasBeenSet = true; m_booleanValues = value; }
97 
101  inline void SetBooleanValues(Aws::Vector<bool>&& value) { m_booleanValuesHasBeenSet = true; m_booleanValues = std::move(value); }
102 
106  inline ArrayValue& WithBooleanValues(const Aws::Vector<bool>& value) { SetBooleanValues(value); return *this;}
107 
111  inline ArrayValue& WithBooleanValues(Aws::Vector<bool>&& value) { SetBooleanValues(std::move(value)); return *this;}
112 
116  inline ArrayValue& AddBooleanValues(bool value) { m_booleanValuesHasBeenSet = true; m_booleanValues.push_back(value); return *this; }
117 
118 
122  inline const Aws::Vector<double>& GetDoubleValues() const{ return m_doubleValues; }
123 
127  inline bool DoubleValuesHasBeenSet() const { return m_doubleValuesHasBeenSet; }
128 
132  inline void SetDoubleValues(const Aws::Vector<double>& value) { m_doubleValuesHasBeenSet = true; m_doubleValues = value; }
133 
137  inline void SetDoubleValues(Aws::Vector<double>&& value) { m_doubleValuesHasBeenSet = true; m_doubleValues = std::move(value); }
138 
142  inline ArrayValue& WithDoubleValues(const Aws::Vector<double>& value) { SetDoubleValues(value); return *this;}
143 
147  inline ArrayValue& WithDoubleValues(Aws::Vector<double>&& value) { SetDoubleValues(std::move(value)); return *this;}
148 
152  inline ArrayValue& AddDoubleValues(double value) { m_doubleValuesHasBeenSet = true; m_doubleValues.push_back(value); return *this; }
153 
154 
158  inline const Aws::Vector<long long>& GetLongValues() const{ return m_longValues; }
159 
163  inline bool LongValuesHasBeenSet() const { return m_longValuesHasBeenSet; }
164 
168  inline void SetLongValues(const Aws::Vector<long long>& value) { m_longValuesHasBeenSet = true; m_longValues = value; }
169 
173  inline void SetLongValues(Aws::Vector<long long>&& value) { m_longValuesHasBeenSet = true; m_longValues = std::move(value); }
174 
178  inline ArrayValue& WithLongValues(const Aws::Vector<long long>& value) { SetLongValues(value); return *this;}
179 
183  inline ArrayValue& WithLongValues(Aws::Vector<long long>&& value) { SetLongValues(std::move(value)); return *this;}
184 
188  inline ArrayValue& AddLongValues(long long value) { m_longValuesHasBeenSet = true; m_longValues.push_back(value); return *this; }
189 
190 
194  inline const Aws::Vector<Aws::String>& GetStringValues() const{ return m_stringValues; }
195 
199  inline bool StringValuesHasBeenSet() const { return m_stringValuesHasBeenSet; }
200 
204  inline void SetStringValues(const Aws::Vector<Aws::String>& value) { m_stringValuesHasBeenSet = true; m_stringValues = value; }
205 
209  inline void SetStringValues(Aws::Vector<Aws::String>&& value) { m_stringValuesHasBeenSet = true; m_stringValues = std::move(value); }
210 
214  inline ArrayValue& WithStringValues(const Aws::Vector<Aws::String>& value) { SetStringValues(value); return *this;}
215 
219  inline ArrayValue& WithStringValues(Aws::Vector<Aws::String>&& value) { SetStringValues(std::move(value)); return *this;}
220 
224  inline ArrayValue& AddStringValues(const Aws::String& value) { m_stringValuesHasBeenSet = true; m_stringValues.push_back(value); return *this; }
225 
229  inline ArrayValue& AddStringValues(Aws::String&& value) { m_stringValuesHasBeenSet = true; m_stringValues.push_back(std::move(value)); return *this; }
230 
234  inline ArrayValue& AddStringValues(const char* value) { m_stringValuesHasBeenSet = true; m_stringValues.push_back(value); return *this; }
235 
236  private:
237 
238  Aws::Vector<ArrayValue> m_arrayValues;
239  bool m_arrayValuesHasBeenSet;
240 
241  Aws::Vector<bool> m_booleanValues;
242  bool m_booleanValuesHasBeenSet;
243 
244  Aws::Vector<double> m_doubleValues;
245  bool m_doubleValuesHasBeenSet;
246 
247  Aws::Vector<long long> m_longValues;
248  bool m_longValuesHasBeenSet;
249 
250  Aws::Vector<Aws::String> m_stringValues;
251  bool m_stringValuesHasBeenSet;
252  };
253 
254 } // namespace Model
255 } // namespace RDSDataService
256 } // namespace Aws
Aws::RDSDataService::Model::ArrayValue::GetLongValues
const Aws::Vector< long long > & GetLongValues() const
Definition: ArrayValue.h:158
Aws::RDSDataService::Model::ArrayValue::ArrayValue
ArrayValue(Aws::Utils::Json::JsonView jsonValue)
Aws::RDSDataService::Model::ArrayValue::WithStringValues
ArrayValue & WithStringValues(Aws::Vector< Aws::String > &&value)
Definition: ArrayValue.h:219
AWS_RDSDATASERVICE_API
#define AWS_RDSDATASERVICE_API
Definition: RDSDataService_EXPORTS.h:28
Aws::RDSDataService::Model::ArrayValue::StringValuesHasBeenSet
bool StringValuesHasBeenSet() const
Definition: ArrayValue.h:199
Aws::RDSDataService::Model::ArrayValue::GetBooleanValues
const Aws::Vector< bool > & GetBooleanValues() const
Definition: ArrayValue.h:86
Aws::RDSDataService::Model::ArrayValue::WithBooleanValues
ArrayValue & WithBooleanValues(const Aws::Vector< bool > &value)
Definition: ArrayValue.h:106
Aws::RDSDataService::Model::ArrayValue::GetDoubleValues
const Aws::Vector< double > & GetDoubleValues() const
Definition: ArrayValue.h:122
Aws::RDSDataService::Model::ArrayValue
Definition: ArrayValue.h:34
Aws::RDSDataService::Model::ArrayValue::WithStringValues
ArrayValue & WithStringValues(const Aws::Vector< Aws::String > &value)
Definition: ArrayValue.h:214
Aws::RDSDataService::Model::ArrayValue::SetDoubleValues
void SetDoubleValues(Aws::Vector< double > &&value)
Definition: ArrayValue.h:137
Aws::RDSDataService::Model::ArrayValue::SetArrayValues
void SetArrayValues(const Aws::Vector< ArrayValue > &value)
Definition: ArrayValue.h:55
Aws::RDSDataService::Model::ArrayValue::SetBooleanValues
void SetBooleanValues(const Aws::Vector< bool > &value)
Definition: ArrayValue.h:96
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDSDataService::Model::ArrayValue::SetStringValues
void SetStringValues(const Aws::Vector< Aws::String > &value)
Definition: ArrayValue.h:204
Aws::RDSDataService::Model::ArrayValue::ArrayValue
ArrayValue()
AWSVector.h
Aws::RDSDataService::Model::ArrayValue::WithDoubleValues
ArrayValue & WithDoubleValues(const Aws::Vector< double > &value)
Definition: ArrayValue.h:142
Aws::RDSDataService::Model::ArrayValue::AddBooleanValues
ArrayValue & AddBooleanValues(bool value)
Definition: ArrayValue.h:116
Aws::RDSDataService::Model::ArrayValue::DoubleValuesHasBeenSet
bool DoubleValuesHasBeenSet() const
Definition: ArrayValue.h:127
Aws::RDSDataService::Model::ArrayValue::LongValuesHasBeenSet
bool LongValuesHasBeenSet() const
Definition: ArrayValue.h:163
Aws::RDSDataService::Model::ArrayValue::AddLongValues
ArrayValue & AddLongValues(long long value)
Definition: ArrayValue.h:188
Aws::RDSDataService::Model::ArrayValue::SetLongValues
void SetLongValues(const Aws::Vector< long long > &value)
Definition: ArrayValue.h:168
Aws::RDSDataService::Model::ArrayValue::GetArrayValues
const Aws::Vector< ArrayValue > & GetArrayValues() const
Definition: ArrayValue.h:45
Aws::RDSDataService::Model::ArrayValue::ArrayValuesHasBeenSet
bool ArrayValuesHasBeenSet() const
Definition: ArrayValue.h:50
Aws::RDSDataService::Model::ArrayValue::AddArrayValues
ArrayValue & AddArrayValues(ArrayValue &&value)
Definition: ArrayValue.h:80
Aws::RDSDataService::Model::ArrayValue::WithLongValues
ArrayValue & WithLongValues(const Aws::Vector< long long > &value)
Definition: ArrayValue.h:178
Aws::RDSDataService::Model::ArrayValue::AddArrayValues
ArrayValue & AddArrayValues(const ArrayValue &value)
Definition: ArrayValue.h:75
Aws::RDSDataService::Model::ArrayValue::SetDoubleValues
void SetDoubleValues(const Aws::Vector< double > &value)
Definition: ArrayValue.h:132
Aws::RDSDataService::Model::ArrayValue::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::RDSDataService::Model::ArrayValue::BooleanValuesHasBeenSet
bool BooleanValuesHasBeenSet() const
Definition: ArrayValue.h:91
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RDSDataService::Model::ArrayValue::WithArrayValues
ArrayValue & WithArrayValues(const Aws::Vector< ArrayValue > &value)
Definition: ArrayValue.h:65
Aws::RDSDataService::Model::ArrayValue::AddStringValues
ArrayValue & AddStringValues(const char *value)
Definition: ArrayValue.h:234
RDSDataService_EXPORTS.h
Aws::RDSDataService::Model::ArrayValue::AddStringValues
ArrayValue & AddStringValues(const Aws::String &value)
Definition: ArrayValue.h:224
Aws::RDSDataService::Model::ArrayValue::WithArrayValues
ArrayValue & WithArrayValues(Aws::Vector< ArrayValue > &&value)
Definition: ArrayValue.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::RDSDataService::Model::ArrayValue::operator=
ArrayValue & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RDSDataService::Model::ArrayValue::AddStringValues
ArrayValue & AddStringValues(Aws::String &&value)
Definition: ArrayValue.h:229
Aws::RDSDataService::Model::ArrayValue::WithLongValues
ArrayValue & WithLongValues(Aws::Vector< long long > &&value)
Definition: ArrayValue.h:183
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDSDataService::Model::ArrayValue::WithDoubleValues
ArrayValue & WithDoubleValues(Aws::Vector< double > &&value)
Definition: ArrayValue.h:147
Aws::RDSDataService::Model::ArrayValue::SetStringValues
void SetStringValues(Aws::Vector< Aws::String > &&value)
Definition: ArrayValue.h:209
ArrayValue.h
Aws::RDSDataService::Model::ArrayValue::AddDoubleValues
ArrayValue & AddDoubleValues(double value)
Definition: ArrayValue.h:152
Aws::RDSDataService::Model::ArrayValue::SetArrayValues
void SetArrayValues(Aws::Vector< ArrayValue > &&value)
Definition: ArrayValue.h:60
Aws::RDSDataService::Model::ArrayValue::SetBooleanValues
void SetBooleanValues(Aws::Vector< bool > &&value)
Definition: ArrayValue.h:101
Aws::RDSDataService::Model::ArrayValue::WithBooleanValues
ArrayValue & WithBooleanValues(Aws::Vector< bool > &&value)
Definition: ArrayValue.h:111
Aws::RDSDataService::Model::ArrayValue::GetStringValues
const Aws::Vector< Aws::String > & GetStringValues() const
Definition: ArrayValue.h:194
Aws::RDSDataService::Model::ArrayValue::SetLongValues
void SetLongValues(Aws::Vector< long long > &&value)
Definition: ArrayValue.h:173