/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The number of API requests has exceeded the maximum allowed API request
* throttling limit for the snapshot. For more information see Error
* retries.See Also:
AWS
* API Reference
The reason for the exception.
*/ inline const RequestThrottledExceptionReason& GetReason() const{ return m_reason; } /** *The reason for the exception.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *The reason for the exception.
*/ inline void SetReason(const RequestThrottledExceptionReason& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The reason for the exception.
*/ inline void SetReason(RequestThrottledExceptionReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The reason for the exception.
*/ inline RequestThrottledException& WithReason(const RequestThrottledExceptionReason& value) { SetReason(value); return *this;} /** *The reason for the exception.
*/ inline RequestThrottledException& WithReason(RequestThrottledExceptionReason&& value) { SetReason(std::move(value)); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; RequestThrottledExceptionReason m_reason; bool m_reasonHasBeenSet = false; }; } // namespace Model } // namespace EBS } // namespace Aws