/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTTwinMaker { namespace Model { class GetSyncJobResult { public: AWS_IOTTWINMAKER_API GetSyncJobResult(); AWS_IOTTWINMAKER_API GetSyncJobResult(const Aws::AmazonWebServiceResult& result); AWS_IOTTWINMAKER_API GetSyncJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The sync job ARN.

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

The sync job ARN.

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

The sync job ARN.

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

The sync job ARN.

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

The sync job ARN.

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

The sync job ARN.

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

The sync job ARN.

*/ inline GetSyncJobResult& 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 void SetWorkspaceId(const Aws::String& value) { m_workspaceId = value; } /** *

The ID of the workspace that contains the sync job.

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

The ID of the workspace that contains the sync job.

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

The ID of the workspace that contains the sync job.

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

The ID of the workspace that contains the sync job.

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

The ID of the workspace that contains the sync job.

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

The sync soucre.

Currently the only supported syncSource is * SITEWISE .

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

The sync soucre.

Currently the only supported syncSource is * SITEWISE .

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

The sync soucre.

Currently the only supported syncSource is * SITEWISE .

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

The sync soucre.

Currently the only supported syncSource is * SITEWISE .

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

The sync soucre.

Currently the only supported syncSource is * SITEWISE .

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

The sync soucre.

Currently the only supported syncSource is * SITEWISE .

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

The sync soucre.

Currently the only supported syncSource is * SITEWISE .

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

The sync IAM role.

*/ inline const Aws::String& GetSyncRole() const{ return m_syncRole; } /** *

The sync IAM role.

*/ inline void SetSyncRole(const Aws::String& value) { m_syncRole = value; } /** *

The sync IAM role.

*/ inline void SetSyncRole(Aws::String&& value) { m_syncRole = std::move(value); } /** *

The sync IAM role.

*/ inline void SetSyncRole(const char* value) { m_syncRole.assign(value); } /** *

The sync IAM role.

*/ inline GetSyncJobResult& WithSyncRole(const Aws::String& value) { SetSyncRole(value); return *this;} /** *

The sync IAM role.

*/ inline GetSyncJobResult& WithSyncRole(Aws::String&& value) { SetSyncRole(std::move(value)); return *this;} /** *

The sync IAM role.

*/ inline GetSyncJobResult& WithSyncRole(const char* value) { SetSyncRole(value); return *this;} /** *

The SyncJob response status.

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

The SyncJob response status.

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

The SyncJob response status.

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

The SyncJob response status.

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

The SyncJob response status.

*/ inline GetSyncJobResult& 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 void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; } /** *

The creation date and time.

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

The creation date and time.

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

The creation date and time.

*/ inline GetSyncJobResult& 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 void SetUpdateDateTime(const Aws::Utils::DateTime& value) { m_updateDateTime = value; } /** *

The update date and time.

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

The update date and time.

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

The update date and time.

*/ inline GetSyncJobResult& WithUpdateDateTime(Aws::Utils::DateTime&& value) { SetUpdateDateTime(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetSyncJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetSyncJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetSyncJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_workspaceId; Aws::String m_syncSource; Aws::String m_syncRole; SyncJobStatus m_status; Aws::Utils::DateTime m_creationDateTime; Aws::Utils::DateTime m_updateDateTime; Aws::String m_requestId; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws