/**
* 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 to assign to the message. Within each batch sent, each
* "messageId"
must be unique.
The ID to assign to the message. Within each batch sent, each
* "messageId"
must be unique.
The ID to assign to the message. Within each batch sent, each
* "messageId"
must be unique.
The ID to assign to the message. Within each batch sent, each
* "messageId"
must be unique.
The ID to assign to the message. Within each batch sent, each
* "messageId"
must be unique.
The ID to assign to the message. Within each batch sent, each
* "messageId"
must be unique.
The ID to assign to the message. Within each batch sent, each
* "messageId"
must be unique.
The ID to assign to the message. Within each batch sent, each
* "messageId"
must be unique.
The name of the input into which the message payload is transformed.
*/ inline const Aws::String& GetInputName() const{ return m_inputName; } /** *The name of the input into which the message payload is transformed.
*/ inline bool InputNameHasBeenSet() const { return m_inputNameHasBeenSet; } /** *The name of the input into which the message payload is transformed.
*/ inline void SetInputName(const Aws::String& value) { m_inputNameHasBeenSet = true; m_inputName = value; } /** *The name of the input into which the message payload is transformed.
*/ inline void SetInputName(Aws::String&& value) { m_inputNameHasBeenSet = true; m_inputName = std::move(value); } /** *The name of the input into which the message payload is transformed.
*/ inline void SetInputName(const char* value) { m_inputNameHasBeenSet = true; m_inputName.assign(value); } /** *The name of the input into which the message payload is transformed.
*/ inline Message& WithInputName(const Aws::String& value) { SetInputName(value); return *this;} /** *The name of the input into which the message payload is transformed.
*/ inline Message& WithInputName(Aws::String&& value) { SetInputName(std::move(value)); return *this;} /** *The name of the input into which the message payload is transformed.
*/ inline Message& WithInputName(const char* value) { SetInputName(value); return *this;} /** *The payload of the message. This can be a JSON string or a Base-64-encoded * string representing binary data (in which case you must decode it).
*/ inline const Aws::Utils::ByteBuffer& GetPayload() const{ return m_payload; } /** *The payload of the message. This can be a JSON string or a Base-64-encoded * string representing binary data (in which case you must decode it).
*/ inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; } /** *The payload of the message. This can be a JSON string or a Base-64-encoded * string representing binary data (in which case you must decode it).
*/ 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 Base-64-encoded * string representing binary data (in which case you must decode it).
*/ 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 Base-64-encoded * string representing binary data (in which case you must decode it).
*/ 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 Base-64-encoded * string representing binary data (in which case you must decode it).
*/ inline Message& WithPayload(Aws::Utils::ByteBuffer&& value) { SetPayload(std::move(value)); return *this;} /** *The timestamp associated with the message.
*/ inline const TimestampValue& GetTimestamp() const{ return m_timestamp; } /** *The timestamp associated with the message.
*/ inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } /** *The timestamp associated with the message.
*/ inline void SetTimestamp(const TimestampValue& value) { m_timestampHasBeenSet = true; m_timestamp = value; } /** *The timestamp associated with the message.
*/ inline void SetTimestamp(TimestampValue&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); } /** *The timestamp associated with the message.
*/ inline Message& WithTimestamp(const TimestampValue& value) { SetTimestamp(value); return *this;} /** *The timestamp associated with the message.
*/ inline Message& WithTimestamp(TimestampValue&& value) { SetTimestamp(std::move(value)); return *this;} private: Aws::String m_messageId; bool m_messageIdHasBeenSet = false; Aws::String m_inputName; bool m_inputNameHasBeenSet = false; Aws::Utils::ByteBuffer m_payload; bool m_payloadHasBeenSet = false; TimestampValue m_timestamp; bool m_timestampHasBeenSet = false; }; } // namespace Model } // namespace IoTEventsData } // namespace Aws