7#include <aws/appconfigcloudextension/AppConfigCloudExtension_EXPORTS.h>
8#include <aws/appconfigcloudextension/model/ThrottlingReason.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace AppConfigCloudExtension {
42 template <
typename MessageT = Aws::String>
44 m_messageHasBeenSet =
true;
45 m_message = std::forward<MessageT>(value);
47 template <
typename MessageT = Aws::String>
61 m_reasonHasBeenSet =
true;
78 m_retryAfterSecondsHasBeenSet =
true;
79 m_retryAfterSeconds = value;
93 template <
typename ExtensionT = Aws::String>
95 m_extensionHasBeenSet =
true;
96 m_extension = std::forward<ExtensionT>(value);
98 template <
typename ExtensionT = Aws::String>
109 int m_retryAfterSeconds{0};
112 bool m_messageHasBeenSet =
false;
113 bool m_reasonHasBeenSet =
false;
114 bool m_retryAfterSecondsHasBeenSet =
false;
115 bool m_extensionHasBeenSet =
false;
int GetRetryAfterSeconds() const
ThrottlingException & WithExtension(ExtensionT &&value)
AWS_APPCONFIGCLOUDEXTENSION_API ThrottlingException()=default
AWS_APPCONFIGCLOUDEXTENSION_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
void SetMessage(MessageT &&value)
bool ExtensionHasBeenSet() const
ThrottlingException & WithMessage(MessageT &&value)
ThrottlingReason GetReason() const
bool RetryAfterSecondsHasBeenSet() const
AWS_APPCONFIGCLOUDEXTENSION_API Aws::Utils::Json::JsonValue Jsonize() const
bool ReasonHasBeenSet() const
AWS_APPCONFIGCLOUDEXTENSION_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
ThrottlingException & WithRetryAfterSeconds(int value)
void SetRetryAfterSeconds(int value)
void SetReason(ThrottlingReason value)
void SetExtension(ExtensionT &&value)
const Aws::String & GetExtension() const
ThrottlingException & WithReason(ThrottlingReason value)
bool MessageHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue