AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
TableRow.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kendra/model/TableCell.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 kendra
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_KENDRA_API TableRow() = default;
36 AWS_KENDRA_API TableRow(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KENDRA_API TableRow& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<TableCell>& GetCells() const { return m_cells; }
46 inline bool CellsHasBeenSet() const { return m_cellsHasBeenSet; }
47 template<typename CellsT = Aws::Vector<TableCell>>
48 void SetCells(CellsT&& value) { m_cellsHasBeenSet = true; m_cells = std::forward<CellsT>(value); }
49 template<typename CellsT = Aws::Vector<TableCell>>
50 TableRow& WithCells(CellsT&& value) { SetCells(std::forward<CellsT>(value)); return *this;}
51 template<typename CellsT = TableCell>
52 TableRow& AddCells(CellsT&& value) { m_cellsHasBeenSet = true; m_cells.emplace_back(std::forward<CellsT>(value)); return *this; }
54 private:
55
57 bool m_cellsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace kendra
62} // namespace Aws
AWS_KENDRA_API TableRow & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TableCell > & GetCells() const
Definition TableRow.h:45
TableRow & AddCells(CellsT &&value)
Definition TableRow.h:52
void SetCells(CellsT &&value)
Definition TableRow.h:48
AWS_KENDRA_API TableRow()=default
TableRow & WithCells(CellsT &&value)
Definition TableRow.h:50
AWS_KENDRA_API TableRow(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
bool CellsHasBeenSet() const
Definition TableRow.h:46
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue