7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/model/AssetModelState.h>
9#include <aws/iotsitewise/model/ErrorDetails.h>
61 template<
typename ErrorT = ErrorDetails>
62 void SetError(ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
63 template<
typename ErrorT = ErrorDetails>
69 bool m_stateHasBeenSet =
false;
72 bool m_errorHasBeenSet =
false;
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetModelStatus & WithError(ErrorT &&value)
AWS_IOTSITEWISE_API AssetModelStatus(Aws::Utils::Json::JsonView jsonValue)
const ErrorDetails & GetError() const
bool StateHasBeenSet() const
AssetModelState GetState() const
AWS_IOTSITEWISE_API AssetModelStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ErrorHasBeenSet() const
AssetModelStatus & WithState(AssetModelState value)
AWS_IOTSITEWISE_API AssetModelStatus()=default
void SetError(ErrorT &&value)
void SetState(AssetModelState value)
Aws::Utils::Json::JsonValue JsonValue