/** * 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 SagemakerEdgeManager { namespace Model { /** */ class GetDeviceRegistrationRequest : public SagemakerEdgeManagerRequest { public: AWS_SAGEMAKEREDGEMANAGER_API GetDeviceRegistrationRequest(); // 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 "GetDeviceRegistration"; } AWS_SAGEMAKEREDGEMANAGER_API Aws::String SerializePayload() const override; /** *

The unique name of the device you want to get the registration status * from.

*/ inline const Aws::String& GetDeviceName() const{ return m_deviceName; } /** *

The unique name of the device you want to get the registration status * from.

*/ inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; } /** *

The unique name of the device you want to get the registration status * from.

*/ inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; } /** *

The unique name of the device you want to get the registration status * from.

*/ inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); } /** *

The unique name of the device you want to get the registration status * from.

*/ inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); } /** *

The unique name of the device you want to get the registration status * from.

*/ inline GetDeviceRegistrationRequest& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;} /** *

The unique name of the device you want to get the registration status * from.

*/ inline GetDeviceRegistrationRequest& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;} /** *

The unique name of the device you want to get the registration status * from.

*/ inline GetDeviceRegistrationRequest& WithDeviceName(const char* value) { SetDeviceName(value); return *this;} /** *

The name of the fleet that the device belongs to.

*/ inline const Aws::String& GetDeviceFleetName() const{ return m_deviceFleetName; } /** *

The name of the fleet that the device belongs to.

*/ inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; } /** *

The name of the fleet that the device belongs to.

*/ inline void SetDeviceFleetName(const Aws::String& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = value; } /** *

The name of the fleet that the device belongs to.

*/ inline void SetDeviceFleetName(Aws::String&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::move(value); } /** *

The name of the fleet that the device belongs to.

*/ inline void SetDeviceFleetName(const char* value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName.assign(value); } /** *

The name of the fleet that the device belongs to.

*/ inline GetDeviceRegistrationRequest& WithDeviceFleetName(const Aws::String& value) { SetDeviceFleetName(value); return *this;} /** *

The name of the fleet that the device belongs to.

*/ inline GetDeviceRegistrationRequest& WithDeviceFleetName(Aws::String&& value) { SetDeviceFleetName(std::move(value)); return *this;} /** *

The name of the fleet that the device belongs to.

*/ inline GetDeviceRegistrationRequest& WithDeviceFleetName(const char* value) { SetDeviceFleetName(value); return *this;} private: Aws::String m_deviceName; bool m_deviceNameHasBeenSet = false; Aws::String m_deviceFleetName; bool m_deviceFleetNameHasBeenSet = false; }; } // namespace Model } // namespace SagemakerEdgeManager } // namespace Aws