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

Information about an import task created for bulk provisioning.

See * Also:

AWS * API Reference

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

The CSV file contained in an S3 bucket that's used for adding devices to an * import task.

*/ inline const Aws::String& GetDeviceCreationFile() const{ return m_deviceCreationFile; } /** *

The CSV file contained in an S3 bucket that's used for adding devices to an * import task.

*/ inline bool DeviceCreationFileHasBeenSet() const { return m_deviceCreationFileHasBeenSet; } /** *

The CSV file contained in an S3 bucket that's used for adding devices to an * import task.

*/ inline void SetDeviceCreationFile(const Aws::String& value) { m_deviceCreationFileHasBeenSet = true; m_deviceCreationFile = value; } /** *

The CSV file contained in an S3 bucket that's used for adding devices to an * import task.

*/ inline void SetDeviceCreationFile(Aws::String&& value) { m_deviceCreationFileHasBeenSet = true; m_deviceCreationFile = std::move(value); } /** *

The CSV file contained in an S3 bucket that's used for adding devices to an * import task.

*/ inline void SetDeviceCreationFile(const char* value) { m_deviceCreationFileHasBeenSet = true; m_deviceCreationFile.assign(value); } /** *

The CSV file contained in an S3 bucket that's used for adding devices to an * import task.

*/ inline SidewalkStartImportInfo& WithDeviceCreationFile(const Aws::String& value) { SetDeviceCreationFile(value); return *this;} /** *

The CSV file contained in an S3 bucket that's used for adding devices to an * import task.

*/ inline SidewalkStartImportInfo& WithDeviceCreationFile(Aws::String&& value) { SetDeviceCreationFile(std::move(value)); return *this;} /** *

The CSV file contained in an S3 bucket that's used for adding devices to an * import task.

*/ inline SidewalkStartImportInfo& WithDeviceCreationFile(const char* value) { SetDeviceCreationFile(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 SidewalkStartImportInfo& 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 SidewalkStartImportInfo& 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 SidewalkStartImportInfo& WithRole(const char* value) { SetRole(value); return *this;} private: Aws::String m_deviceCreationFile; bool m_deviceCreationFileHasBeenSet = false; Aws::String m_role; bool m_roleHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws