7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace CodeGuruSecurity {
41 template <
typename ErrorT = Aws::String>
43 m_errorHasBeenSet =
true;
44 m_error = std::forward<ErrorT>(value);
46 template <
typename ErrorT = Aws::String>
48 SetError(std::forward<ErrorT>(value));
59 template <
typename MessageT = Aws::String>
61 m_messageHasBeenSet =
true;
62 m_message = std::forward<MessageT>(value);
64 template <
typename MessageT = Aws::String>
74 bool m_errorHasBeenSet =
false;
75 bool m_messageHasBeenSet =
false;
AWS_CODEGURUSECURITY_API InternalServerException(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
const Aws::String & GetError() const
const Aws::String & GetMessage() const
bool ErrorHasBeenSet() const
AWS_CODEGURUSECURITY_API InternalServerException & operator=(Aws::Utils::Json::JsonView jsonValue)
InternalServerException & WithError(ErrorT &&value)
AWS_CODEGURUSECURITY_API InternalServerException()=default
void SetError(ErrorT &&value)
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(MessageT &&value)
InternalServerException & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue