/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The unit of data in a delivery stream.See Also:
AWS API
* Reference
The data blob, which is base64-encoded when the blob is serialized. The * maximum size of the data blob, before base64-encoding, is 1,000 KiB.
*/ inline const Aws::Utils::ByteBuffer& GetData() const{ return m_data; } /** *The data blob, which is base64-encoded when the blob is serialized. The * maximum size of the data blob, before base64-encoding, is 1,000 KiB.
*/ inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } /** *The data blob, which is base64-encoded when the blob is serialized. The * maximum size of the data blob, before base64-encoding, is 1,000 KiB.
*/ inline void SetData(const Aws::Utils::ByteBuffer& value) { m_dataHasBeenSet = true; m_data = value; } /** *The data blob, which is base64-encoded when the blob is serialized. The * maximum size of the data blob, before base64-encoding, is 1,000 KiB.
*/ inline void SetData(Aws::Utils::ByteBuffer&& value) { m_dataHasBeenSet = true; m_data = std::move(value); } /** *The data blob, which is base64-encoded when the blob is serialized. The * maximum size of the data blob, before base64-encoding, is 1,000 KiB.
*/ inline Record& WithData(const Aws::Utils::ByteBuffer& value) { SetData(value); return *this;} /** *The data blob, which is base64-encoded when the blob is serialized. The * maximum size of the data blob, before base64-encoding, is 1,000 KiB.
*/ inline Record& WithData(Aws::Utils::ByteBuffer&& value) { SetData(std::move(value)); return *this;} private: Aws::Utils::ByteBuffer m_data; bool m_dataHasBeenSet; }; } // namespace Model } // namespace Firehose } // namespace Aws