/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The rate exceeds the limit.See Also:
AWS
* API Reference
The message associated with the exception.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *The message associated with the exception.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *The message associated with the exception.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *The message associated with the exception.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *The message associated with the exception.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *The message associated with the exception.
*/ inline ThrottlingException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *The message associated with the exception.
*/ inline ThrottlingException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *The message associated with the exception.
*/ inline ThrottlingException& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The payload associated with the exception.
*/ inline const Aws::Utils::ByteBuffer& GetPayload() const{ return m_payload; } /** *The payload associated with the exception.
*/ inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; } /** *The payload associated with the exception.
*/ inline void SetPayload(const Aws::Utils::ByteBuffer& value) { m_payloadHasBeenSet = true; m_payload = value; } /** *The payload associated with the exception.
*/ inline void SetPayload(Aws::Utils::ByteBuffer&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); } /** *The payload associated with the exception.
*/ inline ThrottlingException& WithPayload(const Aws::Utils::ByteBuffer& value) { SetPayload(value); return *this;} /** *The payload associated with the exception.
*/ inline ThrottlingException& WithPayload(Aws::Utils::ByteBuffer&& value) { SetPayload(std::move(value)); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::Utils::ByteBuffer m_payload; bool m_payloadHasBeenSet = false; }; } // namespace Model } // namespace IoTJobsDataPlane } // namespace Aws