7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/inspector/Inspector_EXPORTS.h>
9#include <aws/inspector/model/LimitExceededErrorCode.h>
43 template <
typename MessageT = Aws::String>
45 m_messageHasBeenSet =
true;
46 m_message = std::forward<MessageT>(value);
48 template <
typename MessageT = Aws::String>
62 m_errorCodeHasBeenSet =
true;
78 m_canRetryHasBeenSet =
true;
91 bool m_canRetry{
false};
92 bool m_messageHasBeenSet =
false;
93 bool m_errorCodeHasBeenSet =
false;
94 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