7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/model/PortalState.h>
9#include <aws/iotsitewise/model/MonitorErrorDetails.h>
58 template<
typename ErrorT = MonitorErrorDetails>
59 void SetError(ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
60 template<
typename ErrorT = MonitorErrorDetails>
66 bool m_stateHasBeenSet =
false;
68 MonitorErrorDetails m_error;
69 bool m_errorHasBeenSet =
false;
PortalState GetState() const
bool StateHasBeenSet() const
void SetError(ErrorT &&value)
bool ErrorHasBeenSet() const
AWS_IOTSITEWISE_API PortalStatus()=default
AWS_IOTSITEWISE_API PortalStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
PortalStatus & WithState(PortalState value)
const MonitorErrorDetails & GetError() const
AWS_IOTSITEWISE_API PortalStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
PortalStatus & WithError(ErrorT &&value)
void SetState(PortalState value)
Aws::Utils::Json::JsonValue JsonValue