7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/ErrorCode.h>
10#include <aws/inspector2/model/ResourceStatus.h>
11#include <aws/inspector2/model/Status.h>
52 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
80 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
105 inline void SetStatus(
const Status& value) { m_statusHasBeenSet =
true; m_status = value; }
106 inline void SetStatus(
Status&& value) { m_statusHasBeenSet =
true; m_status = std::move(value); }
113 bool m_accountIdHasBeenSet =
false;
116 bool m_errorCodeHasBeenSet =
false;
119 bool m_errorMessageHasBeenSet =
false;
122 bool m_resourceStatusHasBeenSet =
false;
125 bool m_statusHasBeenSet =
false;
bool ErrorMessageHasBeenSet() const
void SetAccountId(const char *value)
bool StatusHasBeenSet() const
FailedAccount & WithAccountId(Aws::String &&value)
const Aws::String & GetAccountId() const
AWS_INSPECTOR2_API FailedAccount()
const ResourceStatus & GetResourceStatus() const
const ErrorCode & GetErrorCode() const
FailedAccount & WithErrorCode(ErrorCode &&value)
void SetErrorCode(ErrorCode &&value)
void SetErrorMessage(Aws::String &&value)
FailedAccount & WithResourceStatus(const ResourceStatus &value)
const Status & GetStatus() const
FailedAccount & WithErrorMessage(const char *value)
FailedAccount & WithStatus(const Status &value)
void SetStatus(const Status &value)
FailedAccount & WithResourceStatus(ResourceStatus &&value)
bool AccountIdHasBeenSet() const
void SetErrorMessage(const Aws::String &value)
AWS_INSPECTOR2_API FailedAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceStatus(ResourceStatus &&value)
const Aws::String & GetErrorMessage() const
bool ErrorCodeHasBeenSet() const
FailedAccount & WithErrorMessage(Aws::String &&value)
void SetAccountId(Aws::String &&value)
void SetStatus(Status &&value)
FailedAccount & WithErrorCode(const ErrorCode &value)
void SetErrorMessage(const char *value)
FailedAccount & WithAccountId(const char *value)
bool ResourceStatusHasBeenSet() const
void SetErrorCode(const ErrorCode &value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API FailedAccount(Aws::Utils::Json::JsonView jsonValue)
FailedAccount & WithStatus(Status &&value)
FailedAccount & WithAccountId(const Aws::String &value)
void SetAccountId(const Aws::String &value)
FailedAccount & WithErrorMessage(const Aws::String &value)
void SetResourceStatus(const ResourceStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue