AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Row.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/Document.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 IoTTwinMaker
23{
24namespace Model
25{
26
32 class Row
33 {
34 public:
35 AWS_IOTTWINMAKER_API Row() = default;
36 AWS_IOTTWINMAKER_API Row(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTTWINMAKER_API Row& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<Aws::Utils::Document>& GetRowData() const { return m_rowData; }
46 inline bool RowDataHasBeenSet() const { return m_rowDataHasBeenSet; }
47 template<typename RowDataT = Aws::Vector<Aws::Utils::Document>>
48 void SetRowData(RowDataT&& value) { m_rowDataHasBeenSet = true; m_rowData = std::forward<RowDataT>(value); }
49 template<typename RowDataT = Aws::Vector<Aws::Utils::Document>>
50 Row& WithRowData(RowDataT&& value) { SetRowData(std::forward<RowDataT>(value)); return *this;}
51 template<typename RowDataT = Aws::Utils::Document>
52 Row& AddRowData(RowDataT&& value) { m_rowDataHasBeenSet = true; m_rowData.emplace_back(std::forward<RowDataT>(value)); return *this; }
54 private:
55
57 bool m_rowDataHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace IoTTwinMaker
62} // namespace Aws
Row & WithRowData(RowDataT &&value)
Definition Row.h:50
AWS_IOTTWINMAKER_API Row()=default
AWS_IOTTWINMAKER_API Row(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::Utils::Document > & GetRowData() const
Definition Row.h:45
Row & AddRowData(RowDataT &&value)
Definition Row.h:52
bool RowDataHasBeenSet() const
Definition Row.h:46
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRowData(RowDataT &&value)
Definition Row.h:48
AWS_IOTTWINMAKER_API Row & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue