AWS SDK for C++  1.9.104
AWS SDK for C++
Row.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 Athena
23 {
24 namespace Model
25 {
26 
33  {
34  public:
35  Row();
39 
40 
44  inline const Aws::Vector<Datum>& GetData() const{ return m_data; }
45 
49  inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
50 
54  inline void SetData(const Aws::Vector<Datum>& value) { m_dataHasBeenSet = true; m_data = value; }
55 
59  inline void SetData(Aws::Vector<Datum>&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
60 
64  inline Row& WithData(const Aws::Vector<Datum>& value) { SetData(value); return *this;}
65 
69  inline Row& WithData(Aws::Vector<Datum>&& value) { SetData(std::move(value)); return *this;}
70 
74  inline Row& AddData(const Datum& value) { m_dataHasBeenSet = true; m_data.push_back(value); return *this; }
75 
79  inline Row& AddData(Datum&& value) { m_dataHasBeenSet = true; m_data.push_back(std::move(value)); return *this; }
80 
81  private:
82 
83  Aws::Vector<Datum> m_data;
84  bool m_dataHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace Athena
89 } // namespace Aws
Aws::Athena::Model::Row::Row
Row()
Aws::Athena::Model::Row::DataHasBeenSet
bool DataHasBeenSet() const
Definition: Row.h:49
Aws::Athena::Model::Row::AddData
Row & AddData(Datum &&value)
Definition: Row.h:79
Aws::Athena::Model::Datum
Definition: Datum.h:32
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::Row
Definition: Row.h:33
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Athena::Model::Row::operator=
Row & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::Row::GetData
const Aws::Vector< Datum > & GetData() const
Definition: Row.h:44
AWSVector.h
Aws::Athena::Model::Row::SetData
void SetData(Aws::Vector< Datum > &&value)
Definition: Row.h:59
Aws::Athena::Model::Row::WithData
Row & WithData(const Aws::Vector< Datum > &value)
Definition: Row.h:64
Aws::Athena::Model::Row::Row
Row(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Athena_EXPORTS.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Datum.h
Aws::Athena::Model::Row::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Athena::Model::Row::SetData
void SetData(const Aws::Vector< Datum > &value)
Definition: Row.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::Row::WithData
Row & WithData(Aws::Vector< Datum > &&value)
Definition: Row.h:69
Aws::Athena::Model::Row::AddData
Row & AddData(const Datum &value)
Definition: Row.h:74