/** * 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 SageMaker { namespace Model { /** */ class UpdateDevicesRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API UpdateDevicesRequest(); // 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 "UpdateDevices"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the fleet the devices belong to.

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

The name of the fleet the devices belong to.

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

The name of the fleet the devices belong to.

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

The name of the fleet the devices belong to.

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

The name of the fleet the devices belong to.

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

The name of the fleet the devices belong to.

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

The name of the fleet the devices belong to.

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

The name of the fleet the devices belong to.

*/ inline UpdateDevicesRequest& WithDeviceFleetName(const char* value) { SetDeviceFleetName(value); return *this;} /** *

List of devices to register with Edge Manager agent.

*/ inline const Aws::Vector& GetDevices() const{ return m_devices; } /** *

List of devices to register with Edge Manager agent.

*/ inline bool DevicesHasBeenSet() const { return m_devicesHasBeenSet; } /** *

List of devices to register with Edge Manager agent.

*/ inline void SetDevices(const Aws::Vector& value) { m_devicesHasBeenSet = true; m_devices = value; } /** *

List of devices to register with Edge Manager agent.

*/ inline void SetDevices(Aws::Vector&& value) { m_devicesHasBeenSet = true; m_devices = std::move(value); } /** *

List of devices to register with Edge Manager agent.

*/ inline UpdateDevicesRequest& WithDevices(const Aws::Vector& value) { SetDevices(value); return *this;} /** *

List of devices to register with Edge Manager agent.

*/ inline UpdateDevicesRequest& WithDevices(Aws::Vector&& value) { SetDevices(std::move(value)); return *this;} /** *

List of devices to register with Edge Manager agent.

*/ inline UpdateDevicesRequest& AddDevices(const Device& value) { m_devicesHasBeenSet = true; m_devices.push_back(value); return *this; } /** *

List of devices to register with Edge Manager agent.

*/ inline UpdateDevicesRequest& AddDevices(Device&& value) { m_devicesHasBeenSet = true; m_devices.push_back(std::move(value)); return *this; } private: Aws::String m_deviceFleetName; bool m_deviceFleetNameHasBeenSet = false; Aws::Vector m_devices; bool m_devicesHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws