7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
19namespace CloudWatchOmni {
31 AWS_CLOUDWATCHOMNI_API
ThrottlingException(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CLOUDWATCHOMNI_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
39 template <
typename MessageT = Aws::String>
41 m_messageHasBeenSet =
true;
42 m_message = std::forward<MessageT>(value);
44 template <
typename MessageT = Aws::String>
59 m_retryAfterSecondsHasBeenSet =
true;
60 m_retryAfterSeconds = value;
70 int64_t m_retryAfterSeconds{0};
71 bool m_messageHasBeenSet =
false;
72 bool m_retryAfterSecondsHasBeenSet =
false;
AWS_CLOUDWATCHOMNI_API ThrottlingException(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
int64_t GetRetryAfterSeconds() const
void SetRetryAfterSeconds(int64_t value)
AWS_CLOUDWATCHOMNI_API ThrottlingException()=default
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetMessage(MessageT &&value)
AWS_CLOUDWATCHOMNI_API ThrottlingException & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ThrottlingException & WithRetryAfterSeconds(int64_t value)
bool RetryAfterSecondsHasBeenSet() const
bool MessageHasBeenSet() const
const Aws::String & GetMessage() const
ThrottlingException & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String