7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector/model/InvalidCrossAccountRoleErrorCode.h>
50 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
74 inline void SetCanRetry(
bool value) { m_canRetryHasBeenSet =
true; m_canRetry = value; }
80 bool m_messageHasBeenSet =
false;
83 bool m_errorCodeHasBeenSet =
false;
86 bool m_canRetryHasBeenSet =
false;
const Aws::String & GetMessage() const
void SetErrorCode(InvalidCrossAccountRoleErrorCode &&value)
void SetMessage(const char *value)
AWS_INSPECTOR_API InvalidCrossAccountRoleException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(Aws::String &&value)
InvalidCrossAccountRoleException & WithErrorCode(const InvalidCrossAccountRoleErrorCode &value)
AWS_INSPECTOR_API InvalidCrossAccountRoleException(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(const InvalidCrossAccountRoleErrorCode &value)
InvalidCrossAccountRoleException & WithMessage(const char *value)
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
const InvalidCrossAccountRoleErrorCode & GetErrorCode() const
bool MessageHasBeenSet() const
bool ErrorCodeHasBeenSet() const
bool CanRetryHasBeenSet() const
InvalidCrossAccountRoleException & WithCanRetry(bool value)
AWS_INSPECTOR_API InvalidCrossAccountRoleException()
InvalidCrossAccountRoleException & WithMessage(const Aws::String &value)
void SetMessage(const Aws::String &value)
InvalidCrossAccountRoleException & WithErrorCode(InvalidCrossAccountRoleErrorCode &&value)
void SetCanRetry(bool value)
InvalidCrossAccountRoleException & WithMessage(Aws::String &&value)
InvalidCrossAccountRoleErrorCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue