AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Record.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Firehose
22{
23namespace Model
24{
25
31 class Record
32 {
33 public:
34 AWS_FIREHOSE_API Record() = default;
35 AWS_FIREHOSE_API Record(Aws::Utils::Json::JsonView jsonValue);
36 AWS_FIREHOSE_API Record& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::Utils::ByteBuffer& GetData() const { return m_data; }
46 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
47 template<typename DataT = Aws::Utils::ByteBuffer>
48 void SetData(DataT&& value) { m_dataHasBeenSet = true; m_data = std::forward<DataT>(value); }
49 template<typename DataT = Aws::Utils::ByteBuffer>
50 Record& WithData(DataT&& value) { SetData(std::forward<DataT>(value)); return *this;}
52 private:
53
55 bool m_dataHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace Firehose
60} // namespace Aws
Record & WithData(DataT &&value)
Definition Record.h:50
AWS_FIREHOSE_API Record(Aws::Utils::Json::JsonView jsonValue)
void SetData(DataT &&value)
Definition Record.h:48
const Aws::Utils::ByteBuffer & GetData() const
Definition Record.h:45
bool DataHasBeenSet() const
Definition Record.h:46
AWS_FIREHOSE_API Record & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIREHOSE_API Record()=default
Aws::Utils::Json::JsonValue JsonValue