AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRowData(const Aws::Vector<Aws::Utils::Document>& value) { m_rowDataHasBeenSet = true; m_rowData = value; }
48 inline void SetRowData(Aws::Vector<Aws::Utils::Document>&& value) { m_rowDataHasBeenSet = true; m_rowData = std::move(value); }
49 inline Row& WithRowData(const Aws::Vector<Aws::Utils::Document>& value) { SetRowData(value); return *this;}
50 inline Row& WithRowData(Aws::Vector<Aws::Utils::Document>&& value) { SetRowData(std::move(value)); return *this;}
51 inline Row& AddRowData(const Aws::Utils::Document& value) { m_rowDataHasBeenSet = true; m_rowData.push_back(value); return *this; }
52 inline Row& AddRowData(Aws::Utils::Document&& value) { m_rowDataHasBeenSet = true; m_rowData.push_back(std::move(value)); return *this; }
54 private:
55
57 bool m_rowDataHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace IoTTwinMaker
62} // namespace Aws
AWS_IOTTWINMAKER_API Row(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::Utils::Document > & GetRowData() const
Definition Row.h:45
AWS_IOTTWINMAKER_API Row()
bool RowDataHasBeenSet() const
Definition Row.h:46
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Row & WithRowData(Aws::Vector< Aws::Utils::Document > &&value)
Definition Row.h:50
Row & AddRowData(Aws::Utils::Document &&value)
Definition Row.h:52
Row & AddRowData(const Aws::Utils::Document &value)
Definition Row.h:51
void SetRowData(const Aws::Vector< Aws::Utils::Document > &value)
Definition Row.h:47
void SetRowData(Aws::Vector< Aws::Utils::Document > &&value)
Definition Row.h:48
Row & WithRowData(const Aws::Vector< Aws::Utils::Document > &value)
Definition Row.h:49
AWS_IOTTWINMAKER_API Row & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue