7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/ErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/inspector2/model/Status.h>
65 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
77 inline void SetStatus(
const Status& value) { m_statusHasBeenSet =
true; m_status = value; }
78 inline void SetStatus(
Status&& value) { m_statusHasBeenSet =
true; m_status = std::move(value); }
85 bool m_errorCodeHasBeenSet =
false;
88 bool m_errorMessageHasBeenSet =
false;
91 bool m_statusHasBeenSet =
false;
State & WithErrorMessage(const Aws::String &value)
AWS_INSPECTOR2_API State()
const ErrorCode & GetErrorCode() const
const Status & GetStatus() const
void SetStatus(const Status &value)
bool StatusHasBeenSet() const
AWS_INSPECTOR2_API State(Aws::Utils::Json::JsonView jsonValue)
State & WithStatus(const Status &value)
State & WithStatus(Status &&value)
void SetErrorCode(ErrorCode &&value)
State & WithErrorMessage(const char *value)
bool ErrorCodeHasBeenSet() const
void SetErrorMessage(const char *value)
void SetErrorCode(const ErrorCode &value)
State & WithErrorMessage(Aws::String &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorMessage(Aws::String &&value)
void SetErrorMessage(const Aws::String &value)
State & WithErrorCode(const ErrorCode &value)
State & WithErrorCode(ErrorCode &&value)
const Aws::String & GetErrorMessage() const
AWS_INSPECTOR2_API State & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(Status &&value)
bool ErrorMessageHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue