7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/ErrorDetails.h>
9#include <aws/iottwinmaker/model/State.h>
20namespace IoTTwinMaker {
31 AWS_IOTTWINMAKER_API
Status() =
default;
43 m_stateHasBeenSet =
true;
58 template <
typename ErrorT = ErrorDetails>
60 m_errorHasBeenSet =
true;
61 m_error = std::forward<ErrorT>(value);
63 template <
typename ErrorT = ErrorDetails>
65 SetError(std::forward<ErrorT>(value));
73 bool m_stateHasBeenSet =
false;
74 bool m_errorHasBeenSet =
false;
AWS_IOTTWINMAKER_API Status & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StateHasBeenSet() const
void SetError(ErrorT &&value)
AWS_IOTTWINMAKER_API Status(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTWINMAKER_API Status()=default
bool ErrorHasBeenSet() const
Status & WithState(State value)
Status & WithError(ErrorT &&value)
void SetState(State value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const ErrorDetails & GetError() const
Aws::Utils::Json::JsonValue JsonValue