/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a message.See Also:
AWS
* API Reference
The ID you want to assign to the message. Each messageId
must be
* unique within each batch sent.
The ID you want to assign to the message. Each messageId
must be
* unique within each batch sent.
The ID you want to assign to the message. Each messageId
must be
* unique within each batch sent.
The ID you want to assign to the message. Each messageId
must be
* unique within each batch sent.
The ID you want to assign to the message. Each messageId
must be
* unique within each batch sent.
The ID you want to assign to the message. Each messageId
must be
* unique within each batch sent.
The ID you want to assign to the message. Each messageId
must be
* unique within each batch sent.
The ID you want to assign to the message. Each messageId
must be
* unique within each batch sent.
The payload of the message. This can be a JSON string or a base64-encoded * string representing binary data, in which case you must decode it by means of a * pipeline activity.
*/ inline const Aws::Utils::ByteBuffer& GetPayload() const{ return m_payload; } /** *The payload of the message. This can be a JSON string or a base64-encoded * string representing binary data, in which case you must decode it by means of a * pipeline activity.
*/ inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; } /** *The payload of the message. This can be a JSON string or a base64-encoded * string representing binary data, in which case you must decode it by means of a * pipeline activity.
*/ inline void SetPayload(const Aws::Utils::ByteBuffer& value) { m_payloadHasBeenSet = true; m_payload = value; } /** *The payload of the message. This can be a JSON string or a base64-encoded * string representing binary data, in which case you must decode it by means of a * pipeline activity.
*/ inline void SetPayload(Aws::Utils::ByteBuffer&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); } /** *The payload of the message. This can be a JSON string or a base64-encoded * string representing binary data, in which case you must decode it by means of a * pipeline activity.
*/ inline Message& WithPayload(const Aws::Utils::ByteBuffer& value) { SetPayload(value); return *this;} /** *The payload of the message. This can be a JSON string or a base64-encoded * string representing binary data, in which case you must decode it by means of a * pipeline activity.
*/ inline Message& WithPayload(Aws::Utils::ByteBuffer&& value) { SetPayload(std::move(value)); return *this;} private: Aws::String m_messageId; bool m_messageIdHasBeenSet = false; Aws::Utils::ByteBuffer m_payload; bool m_payloadHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws