7#include <aws/AWSMigrationHub/MigrationHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace MigrationHub {
41 template <
typename MessageT = Aws::String>
43 m_messageHasBeenSet =
true;
44 m_message = std::forward<MessageT>(value);
46 template <
typename MessageT = Aws::String>
60 m_retryAfterSecondsHasBeenSet =
true;
61 m_retryAfterSeconds = value;
71 int m_retryAfterSeconds{0};
72 bool m_messageHasBeenSet =
false;
73 bool m_retryAfterSecondsHasBeenSet =
false;
ThrottlingException & WithRetryAfterSeconds(int value)
const Aws::String & GetMessage() const
void SetRetryAfterSeconds(int value)
void SetMessage(MessageT &&value)
ThrottlingException & WithMessage(MessageT &&value)
AWS_MIGRATIONHUB_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RetryAfterSecondsHasBeenSet() const
bool MessageHasBeenSet() const
AWS_MIGRATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MIGRATIONHUB_API ThrottlingException()=default
int GetRetryAfterSeconds() const
AWS_MIGRATIONHUB_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue