7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/identitystore/IdentityStore_EXPORTS.h>
9#include <aws/identitystore/model/ThrottlingExceptionReason.h>
20namespace IdentityStore {
40 template <
typename MessageT = Aws::String>
42 m_messageHasBeenSet =
true;
43 m_message = std::forward<MessageT>(value);
45 template <
typename MessageT = Aws::String>
60 template <
typename RequestIdT = Aws::String>
62 m_requestIdHasBeenSet =
true;
63 m_requestId = std::forward<RequestIdT>(value);
65 template <
typename RequestIdT = Aws::String>
79 m_retryAfterSecondsHasBeenSet =
true;
80 m_retryAfterSeconds = value;
97 m_reasonHasBeenSet =
true;
110 int m_retryAfterSeconds{0};
113 bool m_messageHasBeenSet =
false;
114 bool m_requestIdHasBeenSet =
false;
115 bool m_retryAfterSecondsHasBeenSet =
false;
116 bool m_reasonHasBeenSet =
false;
AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageHasBeenSet() const
AWS_IDENTITYSTORE_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(MessageT &&value)
ThrottlingException & WithMessage(MessageT &&value)
ThrottlingException & WithReason(ThrottlingExceptionReason value)
ThrottlingExceptionReason GetReason() const
AWS_IDENTITYSTORE_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
void SetReason(ThrottlingExceptionReason value)
const Aws::String & GetMessage() const
ThrottlingException & WithRetryAfterSeconds(int value)
void SetRequestId(RequestIdT &&value)
ThrottlingException & WithRequestId(RequestIdT &&value)
void SetRetryAfterSeconds(int value)
bool RequestIdHasBeenSet() const
int GetRetryAfterSeconds() const
bool RetryAfterSecondsHasBeenSet() const
const Aws::String & GetRequestId() const
AWS_IDENTITYSTORE_API ThrottlingException()=default
bool ReasonHasBeenSet() const
ThrottlingExceptionReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue