/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request was denied due to request throttling.See Also:
* AWS
* API Reference
A message that provides information about the exception.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *A message that provides information about the exception.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *A message that provides information about the exception.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *A message that provides information about the exception.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *A message that provides information about the exception.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *A message that provides information about the exception.
*/ inline ThrottlingException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *A message that provides information about the exception.
*/ inline ThrottlingException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *A message that provides information about the exception.
*/ inline ThrottlingException& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The number of seconds the caller should wait before retrying.
*/ inline int GetRetryAfterSeconds() const{ return m_retryAfterSeconds; } /** *The number of seconds the caller should wait before retrying.
*/ inline bool RetryAfterSecondsHasBeenSet() const { return m_retryAfterSecondsHasBeenSet; } /** *The number of seconds the caller should wait before retrying.
*/ inline void SetRetryAfterSeconds(int value) { m_retryAfterSecondsHasBeenSet = true; m_retryAfterSeconds = value; } /** *The number of seconds the caller should wait before retrying.
*/ inline ThrottlingException& WithRetryAfterSeconds(int value) { SetRetryAfterSeconds(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; int m_retryAfterSeconds; bool m_retryAfterSecondsHasBeenSet = false; }; } // namespace Model } // namespace MigrationHub } // namespace Aws