AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
KeyspacesRow.h
1
6#pragma once
7#include <aws/keyspacesstreams/KeyspacesStreams_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/keyspacesstreams/model/KeyspacesMetadata.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/keyspacesstreams/model/KeyspacesCell.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace KeyspacesStreams
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_KEYSPACESSTREAMS_API KeyspacesRow() = default;
40 AWS_KEYSPACESSTREAMS_API KeyspacesRow(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KEYSPACESSTREAMS_API KeyspacesRow& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_KEYSPACESSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::Map<Aws::String, KeyspacesCell>& GetValueCells() const { return m_valueCells; }
51 inline bool ValueCellsHasBeenSet() const { return m_valueCellsHasBeenSet; }
52 template<typename ValueCellsT = Aws::Map<Aws::String, KeyspacesCell>>
53 void SetValueCells(ValueCellsT&& value) { m_valueCellsHasBeenSet = true; m_valueCells = std::forward<ValueCellsT>(value); }
54 template<typename ValueCellsT = Aws::Map<Aws::String, KeyspacesCell>>
55 KeyspacesRow& WithValueCells(ValueCellsT&& value) { SetValueCells(std::forward<ValueCellsT>(value)); return *this;}
56 template<typename ValueCellsKeyT = Aws::String, typename ValueCellsValueT = KeyspacesCell>
57 KeyspacesRow& AddValueCells(ValueCellsKeyT&& key, ValueCellsValueT&& value) {
58 m_valueCellsHasBeenSet = true; m_valueCells.emplace(std::forward<ValueCellsKeyT>(key), std::forward<ValueCellsValueT>(value)); return *this;
59 }
61
63
67 inline const Aws::Map<Aws::String, KeyspacesCell>& GetStaticCells() const { return m_staticCells; }
68 inline bool StaticCellsHasBeenSet() const { return m_staticCellsHasBeenSet; }
69 template<typename StaticCellsT = Aws::Map<Aws::String, KeyspacesCell>>
70 void SetStaticCells(StaticCellsT&& value) { m_staticCellsHasBeenSet = true; m_staticCells = std::forward<StaticCellsT>(value); }
71 template<typename StaticCellsT = Aws::Map<Aws::String, KeyspacesCell>>
72 KeyspacesRow& WithStaticCells(StaticCellsT&& value) { SetStaticCells(std::forward<StaticCellsT>(value)); return *this;}
73 template<typename StaticCellsKeyT = Aws::String, typename StaticCellsValueT = KeyspacesCell>
74 KeyspacesRow& AddStaticCells(StaticCellsKeyT&& key, StaticCellsValueT&& value) {
75 m_staticCellsHasBeenSet = true; m_staticCells.emplace(std::forward<StaticCellsKeyT>(key), std::forward<StaticCellsValueT>(value)); return *this;
76 }
78
80
84 inline const KeyspacesMetadata& GetRowMetadata() const { return m_rowMetadata; }
85 inline bool RowMetadataHasBeenSet() const { return m_rowMetadataHasBeenSet; }
86 template<typename RowMetadataT = KeyspacesMetadata>
87 void SetRowMetadata(RowMetadataT&& value) { m_rowMetadataHasBeenSet = true; m_rowMetadata = std::forward<RowMetadataT>(value); }
88 template<typename RowMetadataT = KeyspacesMetadata>
89 KeyspacesRow& WithRowMetadata(RowMetadataT&& value) { SetRowMetadata(std::forward<RowMetadataT>(value)); return *this;}
91 private:
92
94 bool m_valueCellsHasBeenSet = false;
95
97 bool m_staticCellsHasBeenSet = false;
98
99 KeyspacesMetadata m_rowMetadata;
100 bool m_rowMetadataHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace KeyspacesStreams
105} // namespace Aws
KeyspacesRow & AddValueCells(ValueCellsKeyT &&key, ValueCellsValueT &&value)
AWS_KEYSPACESSTREAMS_API KeyspacesRow & operator=(Aws::Utils::Json::JsonView jsonValue)
const KeyspacesMetadata & GetRowMetadata() const
void SetValueCells(ValueCellsT &&value)
KeyspacesRow & WithValueCells(ValueCellsT &&value)
const Aws::Map< Aws::String, KeyspacesCell > & GetStaticCells() const
AWS_KEYSPACESSTREAMS_API KeyspacesRow(Aws::Utils::Json::JsonView jsonValue)
KeyspacesRow & WithStaticCells(StaticCellsT &&value)
KeyspacesRow & WithRowMetadata(RowMetadataT &&value)
AWS_KEYSPACESSTREAMS_API KeyspacesRow()=default
AWS_KEYSPACESSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
KeyspacesRow & AddStaticCells(StaticCellsKeyT &&key, StaticCellsValueT &&value)
void SetRowMetadata(RowMetadataT &&value)
void SetStaticCells(StaticCellsT &&value)
const Aws::Map< Aws::String, KeyspacesCell > & GetValueCells() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue