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

Sidewalk-related information for devices in an import task that are being * onboarded.

See Also:

AWS * API Reference

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

List of Sidewalk devices that are added to the import task.

*/ inline const Aws::Vector& GetDeviceCreationFileList() const{ return m_deviceCreationFileList; } /** *

List of Sidewalk devices that are added to the import task.

*/ inline bool DeviceCreationFileListHasBeenSet() const { return m_deviceCreationFileListHasBeenSet; } /** *

List of Sidewalk devices that are added to the import task.

*/ inline void SetDeviceCreationFileList(const Aws::Vector& value) { m_deviceCreationFileListHasBeenSet = true; m_deviceCreationFileList = value; } /** *

List of Sidewalk devices that are added to the import task.

*/ inline void SetDeviceCreationFileList(Aws::Vector&& value) { m_deviceCreationFileListHasBeenSet = true; m_deviceCreationFileList = std::move(value); } /** *

List of Sidewalk devices that are added to the import task.

*/ inline SidewalkGetStartImportInfo& WithDeviceCreationFileList(const Aws::Vector& value) { SetDeviceCreationFileList(value); return *this;} /** *

List of Sidewalk devices that are added to the import task.

*/ inline SidewalkGetStartImportInfo& WithDeviceCreationFileList(Aws::Vector&& value) { SetDeviceCreationFileList(std::move(value)); return *this;} /** *

List of Sidewalk devices that are added to the import task.

*/ inline SidewalkGetStartImportInfo& AddDeviceCreationFileList(const Aws::String& value) { m_deviceCreationFileListHasBeenSet = true; m_deviceCreationFileList.push_back(value); return *this; } /** *

List of Sidewalk devices that are added to the import task.

*/ inline SidewalkGetStartImportInfo& AddDeviceCreationFileList(Aws::String&& value) { m_deviceCreationFileListHasBeenSet = true; m_deviceCreationFileList.push_back(std::move(value)); return *this; } /** *

List of Sidewalk devices that are added to the import task.

*/ inline SidewalkGetStartImportInfo& AddDeviceCreationFileList(const char* value) { m_deviceCreationFileListHasBeenSet = true; m_deviceCreationFileList.push_back(value); return *this; } /** *

The IAM role that allows AWS IoT Wireless to access the CSV file in the S3 * bucket.

*/ inline const Aws::String& GetRole() const{ return m_role; } /** *

The IAM role that allows AWS IoT Wireless to access the CSV file in the S3 * bucket.

*/ inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; } /** *

The IAM role that allows AWS IoT Wireless to access the CSV file in the S3 * bucket.

*/ inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; } /** *

The IAM role that allows AWS IoT Wireless to access the CSV file in the S3 * bucket.

*/ inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); } /** *

The IAM role that allows AWS IoT Wireless to access the CSV file in the S3 * bucket.

*/ inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); } /** *

The IAM role that allows AWS IoT Wireless to access the CSV file in the S3 * bucket.

*/ inline SidewalkGetStartImportInfo& WithRole(const Aws::String& value) { SetRole(value); return *this;} /** *

The IAM role that allows AWS IoT Wireless to access the CSV file in the S3 * bucket.

*/ inline SidewalkGetStartImportInfo& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;} /** *

The IAM role that allows AWS IoT Wireless to access the CSV file in the S3 * bucket.

*/ inline SidewalkGetStartImportInfo& WithRole(const char* value) { SetRole(value); return *this;} private: Aws::Vector m_deviceCreationFileList; bool m_deviceCreationFileListHasBeenSet = false; Aws::String m_role; bool m_roleHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws