7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/ErrorCode.h>
10#include <aws/inspector2/model/Status.h>
32 AWS_INSPECTOR2_API
State() =
default;
44 m_statusHasBeenSet =
true;
61 m_errorCodeHasBeenSet =
true;
77 template <
typename ErrorMessageT = Aws::String>
79 m_errorMessageHasBeenSet =
true;
80 m_errorMessage = std::forward<ErrorMessageT>(value);
82 template <
typename ErrorMessageT = Aws::String>
94 bool m_statusHasBeenSet =
false;
95 bool m_errorCodeHasBeenSet =
false;
96 bool m_errorMessageHasBeenSet =
false;
ErrorCode GetErrorCode() const
State & WithStatus(Status value)
bool StatusHasBeenSet() const
void SetErrorCode(ErrorCode value)
State & WithErrorMessage(ErrorMessageT &&value)
AWS_INSPECTOR2_API State(Aws::Utils::Json::JsonView jsonValue)
State & WithErrorCode(ErrorCode value)
bool ErrorCodeHasBeenSet() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(Status value)
void SetErrorMessage(ErrorMessageT &&value)
AWS_INSPECTOR2_API State()=default
const Aws::String & GetErrorMessage() const
AWS_INSPECTOR2_API State & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ErrorMessageHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue