7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/SyncJobState.h>
9#include <aws/iottwinmaker/model/ErrorDetails.h>
57 template<
typename ErrorT = ErrorDetails>
58 void SetError(ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
59 template<
typename ErrorT = ErrorDetails>
65 bool m_stateHasBeenSet =
false;
68 bool m_errorHasBeenSet =
false;
bool ErrorHasBeenSet() const
AWS_IOTTWINMAKER_API SyncJobStatus()=default
bool StateHasBeenSet() const
AWS_IOTTWINMAKER_API SyncJobStatus(Aws::Utils::Json::JsonView jsonValue)
const ErrorDetails & GetError() const
void SetState(SyncJobState value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetError(ErrorT &&value)
SyncJobStatus & WithState(SyncJobState value)
SyncJobState GetState() const
SyncJobStatus & WithError(ErrorT &&value)
AWS_IOTTWINMAKER_API SyncJobStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue