/** * 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 { namespace Panorama { namespace Model { /** */ class ProvisionDeviceRequest : public PanoramaRequest { public: AWS_PANORAMA_API ProvisionDeviceRequest(); // 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 "ProvisionDevice"; } AWS_PANORAMA_API Aws::String SerializePayload() const override; /** *

A description for the device.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description for the device.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description for the device.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description for the device.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description for the device.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description for the device.

*/ inline ProvisionDeviceRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description for the device.

*/ inline ProvisionDeviceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description for the device.

*/ inline ProvisionDeviceRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

A name for the device.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

A name for the device.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

A name for the device.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

A name for the device.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

A name for the device.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

A name for the device.

*/ inline ProvisionDeviceRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

A name for the device.

*/ inline ProvisionDeviceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

A name for the device.

*/ inline ProvisionDeviceRequest& WithName(const char* value) { SetName(value); return *this;} /** *

A networking configuration for the device.

*/ inline const NetworkPayload& GetNetworkingConfiguration() const{ return m_networkingConfiguration; } /** *

A networking configuration for the device.

*/ inline bool NetworkingConfigurationHasBeenSet() const { return m_networkingConfigurationHasBeenSet; } /** *

A networking configuration for the device.

*/ inline void SetNetworkingConfiguration(const NetworkPayload& value) { m_networkingConfigurationHasBeenSet = true; m_networkingConfiguration = value; } /** *

A networking configuration for the device.

*/ inline void SetNetworkingConfiguration(NetworkPayload&& value) { m_networkingConfigurationHasBeenSet = true; m_networkingConfiguration = std::move(value); } /** *

A networking configuration for the device.

*/ inline ProvisionDeviceRequest& WithNetworkingConfiguration(const NetworkPayload& value) { SetNetworkingConfiguration(value); return *this;} /** *

A networking configuration for the device.

*/ inline ProvisionDeviceRequest& WithNetworkingConfiguration(NetworkPayload&& value) { SetNetworkingConfiguration(std::move(value)); return *this;} /** *

Tags for the device.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Tags for the device.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Tags for the device.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Tags for the device.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Tags for the device.

*/ inline ProvisionDeviceRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Tags for the device.

*/ inline ProvisionDeviceRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Tags for the device.

*/ inline ProvisionDeviceRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

Tags for the device.

*/ inline ProvisionDeviceRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Tags for the device.

*/ inline ProvisionDeviceRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags for the device.

*/ inline ProvisionDeviceRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Tags for the device.

*/ inline ProvisionDeviceRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags for the device.

*/ inline ProvisionDeviceRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Tags for the device.

*/ inline ProvisionDeviceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; NetworkPayload m_networkingConfiguration; bool m_networkingConfigurationHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace Panorama } // namespace Aws