/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The SyncJob status.See Also:
AWS
* API Reference
The SyncJob status state.
*/ inline const SyncJobState& GetState() const{ return m_state; } /** *The SyncJob status state.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The SyncJob status state.
*/ inline void SetState(const SyncJobState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The SyncJob status state.
*/ inline void SetState(SyncJobState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The SyncJob status state.
*/ inline SyncJobStatus& WithState(const SyncJobState& value) { SetState(value); return *this;} /** *The SyncJob status state.
*/ inline SyncJobStatus& WithState(SyncJobState&& value) { SetState(std::move(value)); return *this;} /** *The SyncJob error.
*/ inline const ErrorDetails& GetError() const{ return m_error; } /** *The SyncJob error.
*/ inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } /** *The SyncJob error.
*/ inline void SetError(const ErrorDetails& value) { m_errorHasBeenSet = true; m_error = value; } /** *The SyncJob error.
*/ inline void SetError(ErrorDetails&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } /** *The SyncJob error.
*/ inline SyncJobStatus& WithError(const ErrorDetails& value) { SetError(value); return *this;} /** *The SyncJob error.
*/ inline SyncJobStatus& WithError(ErrorDetails&& value) { SetError(std::move(value)); return *this;} private: SyncJobState m_state; bool m_stateHasBeenSet = false; ErrorDetails m_error; bool m_errorHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws