7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/ErrorDetails.h>
9#include <aws/iottwinmaker/model/SyncJobState.h>
20namespace IoTTwinMaker {
42 m_stateHasBeenSet =
true;
57 template <
typename ErrorT = ErrorDetails>
59 m_errorHasBeenSet =
true;
60 m_error = std::forward<ErrorT>(value);
62 template <
typename ErrorT = ErrorDetails>
64 SetError(std::forward<ErrorT>(value));
72 bool m_stateHasBeenSet =
false;
73 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