AWS SDK for C++  1.8.129
AWS SDK for C++
Record.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace RDSDataService
23 {
24 namespace Model
25 {
26 
33  {
34  public:
35  Record();
39 
40 
44  inline const Aws::Vector<Value>& GetValues() const{ return m_values; }
45 
49  inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
50 
54  inline void SetValues(const Aws::Vector<Value>& value) { m_valuesHasBeenSet = true; m_values = value; }
55 
59  inline void SetValues(Aws::Vector<Value>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
60 
64  inline Record& WithValues(const Aws::Vector<Value>& value) { SetValues(value); return *this;}
65 
69  inline Record& WithValues(Aws::Vector<Value>&& value) { SetValues(std::move(value)); return *this;}
70 
74  inline Record& AddValues(const Value& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
75 
79  inline Record& AddValues(Value&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
80 
81  private:
82 
83  Aws::Vector<Value> m_values;
84  bool m_valuesHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace RDSDataService
89 } // namespace Aws
Aws::RDSDataService::Model::Record::GetValues
const Aws::Vector< Value > & GetValues() const
Definition: Record.h:44
AWS_RDSDATASERVICE_API
#define AWS_RDSDATASERVICE_API
Definition: RDSDataService_EXPORTS.h:28
Aws::RDSDataService::Model::Value
Definition: Value.h:39
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDSDataService::Model::Record::SetValues
void SetValues(const Aws::Vector< Value > &value)
Definition: Record.h:54
AWSVector.h
Aws::RDSDataService::Model::Record::operator=
Record & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RDSDataService::Model::Record::Record
Record(Aws::Utils::Json::JsonView jsonValue)
Aws::RDSDataService::Model::Record::SetValues
void SetValues(Aws::Vector< Value > &&value)
Definition: Record.h:59
Aws::RDSDataService::Model::Record::AddValues
Record & AddValues(const Value &value)
Definition: Record.h:74
Aws::RDSDataService::Model::Record::Record
Record()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RDSDataService::Model::Record::WithValues
Record & WithValues(const Aws::Vector< Value > &value)
Definition: Record.h:64
Value.h
RDSDataService_EXPORTS.h
Aws::RDSDataService::Model::Record::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::RDSDataService::Model::Record::AddValues
Record & AddValues(Value &&value)
Definition: Record.h:79
Aws::RDSDataService::Model::Record::ValuesHasBeenSet
bool ValuesHasBeenSet() const
Definition: Record.h:49
Aws::RDSDataService::Model::Record
Definition: Record.h:33
Aws::RDSDataService::Model::Record::WithValues
Record & WithValues(Aws::Vector< Value > &&value)
Definition: Record.h:69