7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/credentialbroker/CredentialBroker_EXPORTS.h>
19namespace CredentialBroker {
40 template <
typename MessageT = Aws::String>
42 m_messageHasBeenSet =
true;
43 m_message = std::forward<MessageT>(value);
45 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;
AWS_CREDENTIALBROKER_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
ThrottlingException & WithMessage(MessageT &&value)
void SetRetryAfterSeconds(int value)
int GetRetryAfterSeconds() const
bool RetryAfterSecondsHasBeenSet() const
void SetMessage(MessageT &&value)
bool MessageHasBeenSet() const
AWS_CREDENTIALBROKER_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CREDENTIALBROKER_API ThrottlingException()=default
const Aws::String & GetMessage() const
AWS_CREDENTIALBROKER_API Aws::Utils::Json::JsonValue Jsonize() const
ThrottlingException & WithRetryAfterSeconds(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue