/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace IoTWireless { namespace Model { /** */ class StartWirelessDeviceImportTaskRequest : public IoTWirelessRequest { public: AWS_IOTWIRELESS_API StartWirelessDeviceImportTaskRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "StartWirelessDeviceImportTask"; } AWS_IOTWIRELESS_API Aws::String SerializePayload() const override; /** *

The name of the Sidewalk destination that describes the IoT rule to route * messages from the devices in the import task that are onboarded to AWS IoT * Wireless.

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

The name of the Sidewalk destination that describes the IoT rule to route * messages from the devices in the import task that are onboarded to AWS IoT * Wireless.

*/ inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; } /** *

The name of the Sidewalk destination that describes the IoT rule to route * messages from the devices in the import task that are onboarded to AWS IoT * Wireless.

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

The name of the Sidewalk destination that describes the IoT rule to route * messages from the devices in the import task that are onboarded to AWS IoT * Wireless.

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

The name of the Sidewalk destination that describes the IoT rule to route * messages from the devices in the import task that are onboarded to AWS IoT * Wireless.

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

The name of the Sidewalk destination that describes the IoT rule to route * messages from the devices in the import task that are onboarded to AWS IoT * Wireless.

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

The name of the Sidewalk destination that describes the IoT rule to route * messages from the devices in the import task that are onboarded to AWS IoT * Wireless.

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

The name of the Sidewalk destination that describes the IoT rule to route * messages from the devices in the import task that are onboarded to AWS IoT * Wireless.

*/ inline StartWirelessDeviceImportTaskRequest& WithDestinationName(const char* value) { SetDestinationName(value); return *this;} inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } inline StartWirelessDeviceImportTaskRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} inline StartWirelessDeviceImportTaskRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} inline StartWirelessDeviceImportTaskRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} inline const Aws::Vector& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } inline StartWirelessDeviceImportTaskRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} inline StartWirelessDeviceImportTaskRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} inline StartWirelessDeviceImportTaskRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } inline StartWirelessDeviceImportTaskRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *

The Sidewalk-related parameters for importing wireless devices that need to * be provisioned in bulk.

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

The Sidewalk-related parameters for importing wireless devices that need to * be provisioned in bulk.

*/ inline bool SidewalkHasBeenSet() const { return m_sidewalkHasBeenSet; } /** *

The Sidewalk-related parameters for importing wireless devices that need to * be provisioned in bulk.

*/ inline void SetSidewalk(const SidewalkStartImportInfo& value) { m_sidewalkHasBeenSet = true; m_sidewalk = value; } /** *

The Sidewalk-related parameters for importing wireless devices that need to * be provisioned in bulk.

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

The Sidewalk-related parameters for importing wireless devices that need to * be provisioned in bulk.

*/ inline StartWirelessDeviceImportTaskRequest& WithSidewalk(const SidewalkStartImportInfo& value) { SetSidewalk(value); return *this;} /** *

The Sidewalk-related parameters for importing wireless devices that need to * be provisioned in bulk.

*/ inline StartWirelessDeviceImportTaskRequest& WithSidewalk(SidewalkStartImportInfo&& value) { SetSidewalk(std::move(value)); return *this;} private: Aws::String m_destinationName; bool m_destinationNameHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; SidewalkStartImportInfo m_sidewalk; bool m_sidewalkHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws