/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an internal error.See Also:
AWS
* API Reference
Description of the error.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *Description of the error.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *Description of the error.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *Description of the error.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *Description of the error.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *Description of the error.
*/ inline InternalServerException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *Description of the error.
*/ inline InternalServerException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *Description of the error.
*/ inline InternalServerException& WithMessage(const char* value) { SetMessage(value); return *this;} /** *Advice to clients on when the call can be safely retried.
*/ inline int GetRetryAfterSeconds() const{ return m_retryAfterSeconds; } /** *Advice to clients on when the call can be safely retried.
*/ inline bool RetryAfterSecondsHasBeenSet() const { return m_retryAfterSecondsHasBeenSet; } /** *Advice to clients on when the call can be safely retried.
*/ inline void SetRetryAfterSeconds(int value) { m_retryAfterSecondsHasBeenSet = true; m_retryAfterSeconds = value; } /** *Advice to clients on when the call can be safely retried.
*/ inline InternalServerException& 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 PrivateNetworks } // namespace Aws