/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTTwinMaker { namespace Model { /** *

The SyncJob summary.

See Also:

AWS * API Reference

*/ class SyncJobSummary { public: AWS_IOTTWINMAKER_API SyncJobSummary(); AWS_IOTTWINMAKER_API SyncJobSummary(Aws::Utils::Json::JsonView jsonValue); AWS_IOTTWINMAKER_API SyncJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The SyncJob summary ARN.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The SyncJob summary ARN.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The SyncJob summary ARN.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The SyncJob summary ARN.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The SyncJob summary ARN.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The SyncJob summary ARN.

*/ inline SyncJobSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The SyncJob summary ARN.

*/ inline SyncJobSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The SyncJob summary ARN.

*/ inline SyncJobSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *

The ID of the workspace that contains the sync job.

*/ inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** *

The ID of the workspace that contains the sync job.

*/ inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** *

The ID of the workspace that contains the sync job.

*/ inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** *

The ID of the workspace that contains the sync job.

*/ inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** *

The ID of the workspace that contains the sync job.

*/ inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** *

The ID of the workspace that contains the sync job.

*/ inline SyncJobSummary& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** *

The ID of the workspace that contains the sync job.

*/ inline SyncJobSummary& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** *

The ID of the workspace that contains the sync job.

*/ inline SyncJobSummary& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** *

The sync source.

*/ inline const Aws::String& GetSyncSource() const{ return m_syncSource; } /** *

The sync source.

*/ inline bool SyncSourceHasBeenSet() const { return m_syncSourceHasBeenSet; } /** *

The sync source.

*/ inline void SetSyncSource(const Aws::String& value) { m_syncSourceHasBeenSet = true; m_syncSource = value; } /** *

The sync source.

*/ inline void SetSyncSource(Aws::String&& value) { m_syncSourceHasBeenSet = true; m_syncSource = std::move(value); } /** *

The sync source.

*/ inline void SetSyncSource(const char* value) { m_syncSourceHasBeenSet = true; m_syncSource.assign(value); } /** *

The sync source.

*/ inline SyncJobSummary& WithSyncSource(const Aws::String& value) { SetSyncSource(value); return *this;} /** *

The sync source.

*/ inline SyncJobSummary& WithSyncSource(Aws::String&& value) { SetSyncSource(std::move(value)); return *this;} /** *

The sync source.

*/ inline SyncJobSummary& WithSyncSource(const char* value) { SetSyncSource(value); return *this;} /** *

The SyncJob summaries status.

*/ inline const SyncJobStatus& GetStatus() const{ return m_status; } /** *

The SyncJob summaries status.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The SyncJob summaries status.

*/ inline void SetStatus(const SyncJobStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The SyncJob summaries status.

*/ inline void SetStatus(SyncJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The SyncJob summaries status.

*/ inline SyncJobSummary& WithStatus(const SyncJobStatus& value) { SetStatus(value); return *this;} /** *

The SyncJob summaries status.

*/ inline SyncJobSummary& WithStatus(SyncJobStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The creation date and time.

*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *

The creation date and time.

*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *

The creation date and time.

*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *

The creation date and time.

*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *

The creation date and time.

*/ inline SyncJobSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *

The creation date and time.

*/ inline SyncJobSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *

The update date and time.

*/ inline const Aws::Utils::DateTime& GetUpdateDateTime() const{ return m_updateDateTime; } /** *

The update date and time.

*/ inline bool UpdateDateTimeHasBeenSet() const { return m_updateDateTimeHasBeenSet; } /** *

The update date and time.

*/ inline void SetUpdateDateTime(const Aws::Utils::DateTime& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = value; } /** *

The update date and time.

*/ inline void SetUpdateDateTime(Aws::Utils::DateTime&& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = std::move(value); } /** *

The update date and time.

*/ inline SyncJobSummary& WithUpdateDateTime(const Aws::Utils::DateTime& value) { SetUpdateDateTime(value); return *this;} /** *

The update date and time.

*/ inline SyncJobSummary& WithUpdateDateTime(Aws::Utils::DateTime&& value) { SetUpdateDateTime(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_workspaceId; bool m_workspaceIdHasBeenSet = false; Aws::String m_syncSource; bool m_syncSourceHasBeenSet = false; SyncJobStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_updateDateTime; bool m_updateDateTimeHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws