7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename MessageT = Aws::String>
47 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
48 template<
typename MessageT = Aws::String>
58 inline void SetCanRetry(
bool value) { m_canRetryHasBeenSet =
true; m_canRetry = value; }
64 bool m_messageHasBeenSet =
false;
66 bool m_canRetry{
false};
67 bool m_canRetryHasBeenSet =
false;
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessage() const
InternalException & WithMessage(MessageT &&value)
AWS_INSPECTOR_API InternalException(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR_API InternalException()=default
void SetCanRetry(bool value)
InternalException & WithCanRetry(bool value)
bool MessageHasBeenSet() const
void SetMessage(MessageT &&value)
AWS_INSPECTOR_API InternalException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CanRetryHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue