7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/ErrorDetails.h>
9#include <aws/iottwinmaker/model/SyncResourceState.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;
AWS_IOTTWINMAKER_API SyncResourceStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
const ErrorDetails & GetError() const
SyncResourceStatus & WithError(ErrorT &&value)
bool StateHasBeenSet() const
AWS_IOTTWINMAKER_API SyncResourceStatus()=default
void SetState(SyncResourceState value)
SyncResourceState GetState() const
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ErrorHasBeenSet() const
AWS_IOTTWINMAKER_API SyncResourceStatus(Aws::Utils::Json::JsonView jsonValue)
SyncResourceStatus & WithState(SyncResourceState value)
void SetError(ErrorT &&value)
Aws::Utils::Json::JsonValue JsonValue