AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetData(const Aws::Utils::ByteBuffer& value) { m_dataHasBeenSet = true; m_data = value; }
48 inline void SetData(Aws::Utils::ByteBuffer&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
49 inline Record& WithData(const Aws::Utils::ByteBuffer& value) { SetData(value); return *this;}
50 inline Record& WithData(Aws::Utils::ByteBuffer&& value) { SetData(std::move(value)); return *this;}
52 private:
53
55 bool m_dataHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace Firehose
60} // namespace Aws
AWS_FIREHOSE_API Record(Aws::Utils::Json::JsonView jsonValue)
Record & WithData(Aws::Utils::ByteBuffer &&value)
Definition Record.h:50
const Aws::Utils::ByteBuffer & GetData() const
Definition Record.h:45
AWS_FIREHOSE_API Record()
void SetData(const Aws::Utils::ByteBuffer &value)
Definition Record.h:47
void SetData(Aws::Utils::ByteBuffer &&value)
Definition Record.h:48
bool DataHasBeenSet() const
Definition Record.h:46
Record & WithData(const Aws::Utils::ByteBuffer &value)
Definition Record.h:49
AWS_FIREHOSE_API Record & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue