/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class DescribeDeviceResult { public: AWS_SAGEMAKER_API DescribeDeviceResult(); AWS_SAGEMAKER_API DescribeDeviceResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API DescribeDeviceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the device.

*/ inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; } /** *

The Amazon Resource Name (ARN) of the device.

*/ inline void SetDeviceArn(const Aws::String& value) { m_deviceArn = value; } /** *

The Amazon Resource Name (ARN) of the device.

*/ inline void SetDeviceArn(Aws::String&& value) { m_deviceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the device.

*/ inline void SetDeviceArn(const char* value) { m_deviceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the device.

*/ inline DescribeDeviceResult& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the device.

*/ inline DescribeDeviceResult& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the device.

*/ inline DescribeDeviceResult& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;} /** *

The unique identifier of the device.

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

The unique identifier of the device.

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

The unique identifier of the device.

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

The unique identifier of the device.

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

The unique identifier of the device.

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

The unique identifier of the device.

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

The unique identifier of the device.

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

A description of the device.

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

A description of the device.

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

A description of the device.

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

A description of the device.

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

A description of the device.

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

A description of the device.

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

A description of the device.

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

The name of the fleet the device belongs to.

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

The name of the fleet the device belongs to.

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

The name of the fleet the device belongs to.

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

The name of the fleet the device belongs to.

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

The name of the fleet the device belongs to.

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

The name of the fleet the device belongs to.

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

The name of the fleet the device belongs to.

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

The Amazon Web Services Internet of Things (IoT) object thing name associated * with the device.

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

The Amazon Web Services Internet of Things (IoT) object thing name associated * with the device.

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

The Amazon Web Services Internet of Things (IoT) object thing name associated * with the device.

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

The Amazon Web Services Internet of Things (IoT) object thing name associated * with the device.

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

The Amazon Web Services Internet of Things (IoT) object thing name associated * with the device.

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

The Amazon Web Services Internet of Things (IoT) object thing name associated * with the device.

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

The Amazon Web Services Internet of Things (IoT) object thing name associated * with the device.

*/ inline DescribeDeviceResult& WithIotThingName(const char* value) { SetIotThingName(value); return *this;} /** *

The timestamp of the last registration or de-reregistration.

*/ inline const Aws::Utils::DateTime& GetRegistrationTime() const{ return m_registrationTime; } /** *

The timestamp of the last registration or de-reregistration.

*/ inline void SetRegistrationTime(const Aws::Utils::DateTime& value) { m_registrationTime = value; } /** *

The timestamp of the last registration or de-reregistration.

*/ inline void SetRegistrationTime(Aws::Utils::DateTime&& value) { m_registrationTime = std::move(value); } /** *

The timestamp of the last registration or de-reregistration.

*/ inline DescribeDeviceResult& WithRegistrationTime(const Aws::Utils::DateTime& value) { SetRegistrationTime(value); return *this;} /** *

The timestamp of the last registration or de-reregistration.

*/ inline DescribeDeviceResult& WithRegistrationTime(Aws::Utils::DateTime&& value) { SetRegistrationTime(std::move(value)); return *this;} /** *

The last heartbeat received from the device.

*/ inline const Aws::Utils::DateTime& GetLatestHeartbeat() const{ return m_latestHeartbeat; } /** *

The last heartbeat received from the device.

*/ inline void SetLatestHeartbeat(const Aws::Utils::DateTime& value) { m_latestHeartbeat = value; } /** *

The last heartbeat received from the device.

*/ inline void SetLatestHeartbeat(Aws::Utils::DateTime&& value) { m_latestHeartbeat = std::move(value); } /** *

The last heartbeat received from the device.

*/ inline DescribeDeviceResult& WithLatestHeartbeat(const Aws::Utils::DateTime& value) { SetLatestHeartbeat(value); return *this;} /** *

The last heartbeat received from the device.

*/ inline DescribeDeviceResult& WithLatestHeartbeat(Aws::Utils::DateTime&& value) { SetLatestHeartbeat(std::move(value)); return *this;} /** *

Models on the device.

*/ inline const Aws::Vector& GetModels() const{ return m_models; } /** *

Models on the device.

*/ inline void SetModels(const Aws::Vector& value) { m_models = value; } /** *

Models on the device.

*/ inline void SetModels(Aws::Vector&& value) { m_models = std::move(value); } /** *

Models on the device.

*/ inline DescribeDeviceResult& WithModels(const Aws::Vector& value) { SetModels(value); return *this;} /** *

Models on the device.

*/ inline DescribeDeviceResult& WithModels(Aws::Vector&& value) { SetModels(std::move(value)); return *this;} /** *

Models on the device.

*/ inline DescribeDeviceResult& AddModels(const EdgeModel& value) { m_models.push_back(value); return *this; } /** *

Models on the device.

*/ inline DescribeDeviceResult& AddModels(EdgeModel&& value) { m_models.push_back(std::move(value)); return *this; } /** *

The maximum number of models.

*/ inline int GetMaxModels() const{ return m_maxModels; } /** *

The maximum number of models.

*/ inline void SetMaxModels(int value) { m_maxModels = value; } /** *

The maximum number of models.

*/ inline DescribeDeviceResult& WithMaxModels(int value) { SetMaxModels(value); return *this;} /** *

The response from the last list when returning a list large enough to need * tokening.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The response from the last list when returning a list large enough to need * tokening.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The response from the last list when returning a list large enough to need * tokening.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The response from the last list when returning a list large enough to need * tokening.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The response from the last list when returning a list large enough to need * tokening.

*/ inline DescribeDeviceResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The response from the last list when returning a list large enough to need * tokening.

*/ inline DescribeDeviceResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The response from the last list when returning a list large enough to need * tokening.

*/ inline DescribeDeviceResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Edge Manager agent version.

*/ inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; } /** *

Edge Manager agent version.

*/ inline void SetAgentVersion(const Aws::String& value) { m_agentVersion = value; } /** *

Edge Manager agent version.

*/ inline void SetAgentVersion(Aws::String&& value) { m_agentVersion = std::move(value); } /** *

Edge Manager agent version.

*/ inline void SetAgentVersion(const char* value) { m_agentVersion.assign(value); } /** *

Edge Manager agent version.

*/ inline DescribeDeviceResult& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;} /** *

Edge Manager agent version.

*/ inline DescribeDeviceResult& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;} /** *

Edge Manager agent version.

*/ inline DescribeDeviceResult& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeDeviceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDeviceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDeviceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_deviceArn; Aws::String m_deviceName; Aws::String m_description; Aws::String m_deviceFleetName; Aws::String m_iotThingName; Aws::Utils::DateTime m_registrationTime; Aws::Utils::DateTime m_latestHeartbeat; Aws::Vector m_models; int m_maxModels; Aws::String m_nextToken; Aws::String m_agentVersion; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws