/** * 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 SageMaker { namespace Model { /** *

Information of a particular device.

See Also:

AWS * API Reference

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

The name of the device.

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

The name of the device.

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

The name of the device.

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

The name of the device.

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

The name of the device.

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

The name of the device.

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

The name of the device.

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

The name of the device.

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

Description of the device.

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

Description of the device.

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

Description of the device.

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

Description of the device.

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

Description of the device.

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

Description of the device.

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

Description of the device.

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

Description of the device.

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

Amazon Web Services Internet of Things (IoT) object name.

*/ inline const Aws::String& GetIotThingName() const{ return m_iotThingName; } /** *

Amazon Web Services Internet of Things (IoT) object name.

*/ inline bool IotThingNameHasBeenSet() const { return m_iotThingNameHasBeenSet; } /** *

Amazon Web Services Internet of Things (IoT) object name.

*/ inline void SetIotThingName(const Aws::String& value) { m_iotThingNameHasBeenSet = true; m_iotThingName = value; } /** *

Amazon Web Services Internet of Things (IoT) object name.

*/ inline void SetIotThingName(Aws::String&& value) { m_iotThingNameHasBeenSet = true; m_iotThingName = std::move(value); } /** *

Amazon Web Services Internet of Things (IoT) object name.

*/ inline void SetIotThingName(const char* value) { m_iotThingNameHasBeenSet = true; m_iotThingName.assign(value); } /** *

Amazon Web Services Internet of Things (IoT) object name.

*/ inline Device& WithIotThingName(const Aws::String& value) { SetIotThingName(value); return *this;} /** *

Amazon Web Services Internet of Things (IoT) object name.

*/ inline Device& WithIotThingName(Aws::String&& value) { SetIotThingName(std::move(value)); return *this;} /** *

Amazon Web Services Internet of Things (IoT) object name.

*/ inline Device& WithIotThingName(const char* value) { SetIotThingName(value); return *this;} private: Aws::String m_deviceName; bool m_deviceNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_iotThingName; bool m_iotThingNameHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws