AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResultSetMetadata.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/athena/model/ColumnInfo.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Athena
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_ATHENA_API ResultSetMetadata();
40 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<ColumnInfo>& GetColumnInfo() const{ return m_columnInfo; }
48 inline bool ColumnInfoHasBeenSet() const { return m_columnInfoHasBeenSet; }
49 inline void SetColumnInfo(const Aws::Vector<ColumnInfo>& value) { m_columnInfoHasBeenSet = true; m_columnInfo = value; }
50 inline void SetColumnInfo(Aws::Vector<ColumnInfo>&& value) { m_columnInfoHasBeenSet = true; m_columnInfo = std::move(value); }
51 inline ResultSetMetadata& WithColumnInfo(const Aws::Vector<ColumnInfo>& value) { SetColumnInfo(value); return *this;}
52 inline ResultSetMetadata& WithColumnInfo(Aws::Vector<ColumnInfo>&& value) { SetColumnInfo(std::move(value)); return *this;}
53 inline ResultSetMetadata& AddColumnInfo(const ColumnInfo& value) { m_columnInfoHasBeenSet = true; m_columnInfo.push_back(value); return *this; }
54 inline ResultSetMetadata& AddColumnInfo(ColumnInfo&& value) { m_columnInfoHasBeenSet = true; m_columnInfo.push_back(std::move(value)); return *this; }
56 private:
57
58 Aws::Vector<ColumnInfo> m_columnInfo;
59 bool m_columnInfoHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Athena
64} // namespace Aws
ResultSetMetadata & WithColumnInfo(Aws::Vector< ColumnInfo > &&value)
ResultSetMetadata & AddColumnInfo(ColumnInfo &&value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetColumnInfo(const Aws::Vector< ColumnInfo > &value)
void SetColumnInfo(Aws::Vector< ColumnInfo > &&value)
ResultSetMetadata & WithColumnInfo(const Aws::Vector< ColumnInfo > &value)
ResultSetMetadata & AddColumnInfo(const ColumnInfo &value)
AWS_ATHENA_API ResultSetMetadata(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ColumnInfo > & GetColumnInfo() const
AWS_ATHENA_API ResultSetMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue