/** * 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 IoTWireless { namespace Model { /** *

Information about a Sidewalk device that has been added to an import * task.

See Also:

AWS * API Reference

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

The Sidewalk manufacturing serial number (SMSN) of the Sidewalk device.

*/ inline const Aws::String& GetSidewalkManufacturingSn() const{ return m_sidewalkManufacturingSn; } /** *

The Sidewalk manufacturing serial number (SMSN) of the Sidewalk device.

*/ inline bool SidewalkManufacturingSnHasBeenSet() const { return m_sidewalkManufacturingSnHasBeenSet; } /** *

The Sidewalk manufacturing serial number (SMSN) of the Sidewalk device.

*/ inline void SetSidewalkManufacturingSn(const Aws::String& value) { m_sidewalkManufacturingSnHasBeenSet = true; m_sidewalkManufacturingSn = value; } /** *

The Sidewalk manufacturing serial number (SMSN) of the Sidewalk device.

*/ inline void SetSidewalkManufacturingSn(Aws::String&& value) { m_sidewalkManufacturingSnHasBeenSet = true; m_sidewalkManufacturingSn = std::move(value); } /** *

The Sidewalk manufacturing serial number (SMSN) of the Sidewalk device.

*/ inline void SetSidewalkManufacturingSn(const char* value) { m_sidewalkManufacturingSnHasBeenSet = true; m_sidewalkManufacturingSn.assign(value); } /** *

The Sidewalk manufacturing serial number (SMSN) of the Sidewalk device.

*/ inline ImportedSidewalkDevice& WithSidewalkManufacturingSn(const Aws::String& value) { SetSidewalkManufacturingSn(value); return *this;} /** *

The Sidewalk manufacturing serial number (SMSN) of the Sidewalk device.

*/ inline ImportedSidewalkDevice& WithSidewalkManufacturingSn(Aws::String&& value) { SetSidewalkManufacturingSn(std::move(value)); return *this;} /** *

The Sidewalk manufacturing serial number (SMSN) of the Sidewalk device.

*/ inline ImportedSidewalkDevice& WithSidewalkManufacturingSn(const char* value) { SetSidewalkManufacturingSn(value); return *this;} /** *

The onboarding status of the Sidewalk device in the import task.

*/ inline const OnboardStatus& GetOnboardingStatus() const{ return m_onboardingStatus; } /** *

The onboarding status of the Sidewalk device in the import task.

*/ inline bool OnboardingStatusHasBeenSet() const { return m_onboardingStatusHasBeenSet; } /** *

The onboarding status of the Sidewalk device in the import task.

*/ inline void SetOnboardingStatus(const OnboardStatus& value) { m_onboardingStatusHasBeenSet = true; m_onboardingStatus = value; } /** *

The onboarding status of the Sidewalk device in the import task.

*/ inline void SetOnboardingStatus(OnboardStatus&& value) { m_onboardingStatusHasBeenSet = true; m_onboardingStatus = std::move(value); } /** *

The onboarding status of the Sidewalk device in the import task.

*/ inline ImportedSidewalkDevice& WithOnboardingStatus(const OnboardStatus& value) { SetOnboardingStatus(value); return *this;} /** *

The onboarding status of the Sidewalk device in the import task.

*/ inline ImportedSidewalkDevice& WithOnboardingStatus(OnboardStatus&& value) { SetOnboardingStatus(std::move(value)); return *this;} /** *

The reason for the onboarding status information for the Sidewalk device.

*/ inline const Aws::String& GetOnboardingStatusReason() const{ return m_onboardingStatusReason; } /** *

The reason for the onboarding status information for the Sidewalk device.

*/ inline bool OnboardingStatusReasonHasBeenSet() const { return m_onboardingStatusReasonHasBeenSet; } /** *

The reason for the onboarding status information for the Sidewalk device.

*/ inline void SetOnboardingStatusReason(const Aws::String& value) { m_onboardingStatusReasonHasBeenSet = true; m_onboardingStatusReason = value; } /** *

The reason for the onboarding status information for the Sidewalk device.

*/ inline void SetOnboardingStatusReason(Aws::String&& value) { m_onboardingStatusReasonHasBeenSet = true; m_onboardingStatusReason = std::move(value); } /** *

The reason for the onboarding status information for the Sidewalk device.

*/ inline void SetOnboardingStatusReason(const char* value) { m_onboardingStatusReasonHasBeenSet = true; m_onboardingStatusReason.assign(value); } /** *

The reason for the onboarding status information for the Sidewalk device.

*/ inline ImportedSidewalkDevice& WithOnboardingStatusReason(const Aws::String& value) { SetOnboardingStatusReason(value); return *this;} /** *

The reason for the onboarding status information for the Sidewalk device.

*/ inline ImportedSidewalkDevice& WithOnboardingStatusReason(Aws::String&& value) { SetOnboardingStatusReason(std::move(value)); return *this;} /** *

The reason for the onboarding status information for the Sidewalk device.

*/ inline ImportedSidewalkDevice& WithOnboardingStatusReason(const char* value) { SetOnboardingStatusReason(value); return *this;} /** *

The time at which the status information was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *

The time at which the status information was last updated.

*/ inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } /** *

The time at which the status information was last updated.

*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; } /** *

The time at which the status information was last updated.

*/ inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); } /** *

The time at which the status information was last updated.

*/ inline ImportedSidewalkDevice& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *

The time at which the status information was last updated.

*/ inline ImportedSidewalkDevice& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} private: Aws::String m_sidewalkManufacturingSn; bool m_sidewalkManufacturingSnHasBeenSet = false; OnboardStatus m_onboardingStatus; bool m_onboardingStatusHasBeenSet = false; Aws::String m_onboardingStatusReason; bool m_onboardingStatusReasonHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateTime; bool m_lastUpdateTimeHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws