7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector/model/LimitExceededErrorCode.h>
49 template<
typename MessageT = Aws::String>
50 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
51 template<
typename MessageT = Aws::String>
71 inline void SetCanRetry(
bool value) { m_canRetryHasBeenSet =
true; m_canRetry = value; }
77 bool m_messageHasBeenSet =
false;
80 bool m_errorCodeHasBeenSet =
false;
82 bool m_canRetry{
false};
83 bool m_canRetryHasBeenSet =
false;
LimitExceededException & WithErrorCode(LimitExceededErrorCode value)
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCanRetry(bool value)
AWS_INSPECTOR_API LimitExceededException()=default
AWS_INSPECTOR_API LimitExceededException(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(MessageT &&value)
LimitExceededException & WithMessage(MessageT &&value)
bool ErrorCodeHasBeenSet() const
AWS_INSPECTOR_API LimitExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CanRetryHasBeenSet() const
LimitExceededException & WithCanRetry(bool value)
LimitExceededErrorCode GetErrorCode() const
void SetErrorCode(LimitExceededErrorCode value)
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue