/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTWireless { namespace Model { class GetWirelessDeviceImportTaskResult { public: AWS_IOTWIRELESS_API GetWirelessDeviceImportTaskResult(); AWS_IOTWIRELESS_API GetWirelessDeviceImportTaskResult(const Aws::AmazonWebServiceResult& result); AWS_IOTWIRELESS_API GetWirelessDeviceImportTaskResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the import task for which information is retrieved.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The identifier of the import task for which information is retrieved.

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

The identifier of the import task for which information is retrieved.

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

The identifier of the import task for which information is retrieved.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

The identifier of the import task for which information is retrieved.

*/ inline GetWirelessDeviceImportTaskResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The identifier of the import task for which information is retrieved.

*/ inline GetWirelessDeviceImportTaskResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The identifier of the import task for which information is retrieved.

*/ inline GetWirelessDeviceImportTaskResult& WithId(const char* value) { SetId(value); return *this;} /** *

The ARN (Amazon Resource Name) of the import task.

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

The ARN (Amazon Resource Name) of the import task.

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

The ARN (Amazon Resource Name) of the import task.

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

The ARN (Amazon Resource Name) of the import task.

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

The ARN (Amazon Resource Name) of the import task.

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

The ARN (Amazon Resource Name) of the import task.

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

The ARN (Amazon Resource Name) of the import task.

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

The name of the destination that's assigned to the wireless devices in the * import task.

*/ inline const Aws::String& GetDestinationName() const{ return m_destinationName; } /** *

The name of the destination that's assigned to the wireless devices in the * import task.

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

The name of the destination that's assigned to the wireless devices in the * import task.

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

The name of the destination that's assigned to the wireless devices in the * import task.

*/ inline void SetDestinationName(const char* value) { m_destinationName.assign(value); } /** *

The name of the destination that's assigned to the wireless devices in the * import task.

*/ inline GetWirelessDeviceImportTaskResult& WithDestinationName(const Aws::String& value) { SetDestinationName(value); return *this;} /** *

The name of the destination that's assigned to the wireless devices in the * import task.

*/ inline GetWirelessDeviceImportTaskResult& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;} /** *

The name of the destination that's assigned to the wireless devices in the * import task.

*/ inline GetWirelessDeviceImportTaskResult& WithDestinationName(const char* value) { SetDestinationName(value); return *this;} /** *

The Sidewalk-related information about an import task.

*/ inline const SidewalkGetStartImportInfo& GetSidewalk() const{ return m_sidewalk; } /** *

The Sidewalk-related information about an import task.

*/ inline void SetSidewalk(const SidewalkGetStartImportInfo& value) { m_sidewalk = value; } /** *

The Sidewalk-related information about an import task.

*/ inline void SetSidewalk(SidewalkGetStartImportInfo&& value) { m_sidewalk = std::move(value); } /** *

The Sidewalk-related information about an import task.

*/ inline GetWirelessDeviceImportTaskResult& WithSidewalk(const SidewalkGetStartImportInfo& value) { SetSidewalk(value); return *this;} /** *

The Sidewalk-related information about an import task.

*/ inline GetWirelessDeviceImportTaskResult& WithSidewalk(SidewalkGetStartImportInfo&& value) { SetSidewalk(std::move(value)); return *this;} /** *

The time at which the import task was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time at which the import task was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The time at which the import task was created.

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

The time at which the import task was created.

*/ inline GetWirelessDeviceImportTaskResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time at which the import task was created.

*/ inline GetWirelessDeviceImportTaskResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The import task status.

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

The import task status.

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

The import task status.

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

The import task status.

*/ inline GetWirelessDeviceImportTaskResult& WithStatus(const ImportTaskStatus& value) { SetStatus(value); return *this;} /** *

The import task status.

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

The reason for the provided status information, such as a validation error * that causes the import task to fail.

*/ inline const Aws::String& GetStatusReason() const{ return m_statusReason; } /** *

The reason for the provided status information, such as a validation error * that causes the import task to fail.

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

The reason for the provided status information, such as a validation error * that causes the import task to fail.

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

The reason for the provided status information, such as a validation error * that causes the import task to fail.

*/ inline void SetStatusReason(const char* value) { m_statusReason.assign(value); } /** *

The reason for the provided status information, such as a validation error * that causes the import task to fail.

*/ inline GetWirelessDeviceImportTaskResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;} /** *

The reason for the provided status information, such as a validation error * that causes the import task to fail.

*/ inline GetWirelessDeviceImportTaskResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;} /** *

The reason for the provided status information, such as a validation error * that causes the import task to fail.

*/ inline GetWirelessDeviceImportTaskResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;} /** *

The number of devices in the import task that are waiting for the control log * to start processing.

*/ inline long long GetInitializedImportedDeviceCount() const{ return m_initializedImportedDeviceCount; } /** *

The number of devices in the import task that are waiting for the control log * to start processing.

*/ inline void SetInitializedImportedDeviceCount(long long value) { m_initializedImportedDeviceCount = value; } /** *

The number of devices in the import task that are waiting for the control log * to start processing.

*/ inline GetWirelessDeviceImportTaskResult& WithInitializedImportedDeviceCount(long long value) { SetInitializedImportedDeviceCount(value); return *this;} /** *

The number of devices in the import task that are waiting in the import task * queue to be onboarded.

*/ inline long long GetPendingImportedDeviceCount() const{ return m_pendingImportedDeviceCount; } /** *

The number of devices in the import task that are waiting in the import task * queue to be onboarded.

*/ inline void SetPendingImportedDeviceCount(long long value) { m_pendingImportedDeviceCount = value; } /** *

The number of devices in the import task that are waiting in the import task * queue to be onboarded.

*/ inline GetWirelessDeviceImportTaskResult& WithPendingImportedDeviceCount(long long value) { SetPendingImportedDeviceCount(value); return *this;} /** *

The number of devices in the import task that have been onboarded to the * import task.

*/ inline long long GetOnboardedImportedDeviceCount() const{ return m_onboardedImportedDeviceCount; } /** *

The number of devices in the import task that have been onboarded to the * import task.

*/ inline void SetOnboardedImportedDeviceCount(long long value) { m_onboardedImportedDeviceCount = value; } /** *

The number of devices in the import task that have been onboarded to the * import task.

*/ inline GetWirelessDeviceImportTaskResult& WithOnboardedImportedDeviceCount(long long value) { SetOnboardedImportedDeviceCount(value); return *this;} /** *

The number of devices in the import task that failed to onboard to the import * task.

*/ inline long long GetFailedImportedDeviceCount() const{ return m_failedImportedDeviceCount; } /** *

The number of devices in the import task that failed to onboard to the import * task.

*/ inline void SetFailedImportedDeviceCount(long long value) { m_failedImportedDeviceCount = value; } /** *

The number of devices in the import task that failed to onboard to the import * task.

*/ inline GetWirelessDeviceImportTaskResult& WithFailedImportedDeviceCount(long long value) { SetFailedImportedDeviceCount(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 GetWirelessDeviceImportTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetWirelessDeviceImportTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetWirelessDeviceImportTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_id; Aws::String m_arn; Aws::String m_destinationName; SidewalkGetStartImportInfo m_sidewalk; Aws::Utils::DateTime m_creationTime; ImportTaskStatus m_status; Aws::String m_statusReason; long long m_initializedImportedDeviceCount; long long m_pendingImportedDeviceCount; long long m_onboardedImportedDeviceCount; long long m_failedImportedDeviceCount; Aws::String m_requestId; }; } // namespace Model } // namespace IoTWireless } // namespace Aws