/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #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 GetDeviceFleetReportResult { public: AWS_SAGEMAKER_API GetDeviceFleetReportResult(); AWS_SAGEMAKER_API GetDeviceFleetReportResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API GetDeviceFleetReportResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the device.

*/ inline const Aws::String& GetDeviceFleetArn() const{ return m_deviceFleetArn; } /** *

The Amazon Resource Name (ARN) of the device.

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

The Amazon Resource Name (ARN) of the device.

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

The Amazon Resource Name (ARN) of the device.

*/ inline void SetDeviceFleetArn(const char* value) { m_deviceFleetArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the device.

*/ inline GetDeviceFleetReportResult& WithDeviceFleetArn(const Aws::String& value) { SetDeviceFleetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the device.

*/ inline GetDeviceFleetReportResult& WithDeviceFleetArn(Aws::String&& value) { SetDeviceFleetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the device.

*/ inline GetDeviceFleetReportResult& WithDeviceFleetArn(const char* value) { SetDeviceFleetArn(value); return *this;} /** *

The name of the fleet.

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

The name of the fleet.

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

The name of the fleet.

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

The name of the fleet.

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

The name of the fleet.

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

The name of the fleet.

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

The name of the fleet.

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

The output configuration for storing sample data collected by the fleet.

*/ inline const EdgeOutputConfig& GetOutputConfig() const{ return m_outputConfig; } /** *

The output configuration for storing sample data collected by the fleet.

*/ inline void SetOutputConfig(const EdgeOutputConfig& value) { m_outputConfig = value; } /** *

The output configuration for storing sample data collected by the fleet.

*/ inline void SetOutputConfig(EdgeOutputConfig&& value) { m_outputConfig = std::move(value); } /** *

The output configuration for storing sample data collected by the fleet.

*/ inline GetDeviceFleetReportResult& WithOutputConfig(const EdgeOutputConfig& value) { SetOutputConfig(value); return *this;} /** *

The output configuration for storing sample data collected by the fleet.

*/ inline GetDeviceFleetReportResult& WithOutputConfig(EdgeOutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;} /** *

Description of the fleet.

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

Description of the fleet.

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

Description of the fleet.

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

Description of the fleet.

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

Description of the fleet.

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

Description of the fleet.

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

Description of the fleet.

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

Timestamp of when the report was generated.

*/ inline const Aws::Utils::DateTime& GetReportGenerated() const{ return m_reportGenerated; } /** *

Timestamp of when the report was generated.

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

Timestamp of when the report was generated.

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

Timestamp of when the report was generated.

*/ inline GetDeviceFleetReportResult& WithReportGenerated(const Aws::Utils::DateTime& value) { SetReportGenerated(value); return *this;} /** *

Timestamp of when the report was generated.

*/ inline GetDeviceFleetReportResult& WithReportGenerated(Aws::Utils::DateTime&& value) { SetReportGenerated(std::move(value)); return *this;} /** *

Status of devices.

*/ inline const DeviceStats& GetDeviceStats() const{ return m_deviceStats; } /** *

Status of devices.

*/ inline void SetDeviceStats(const DeviceStats& value) { m_deviceStats = value; } /** *

Status of devices.

*/ inline void SetDeviceStats(DeviceStats&& value) { m_deviceStats = std::move(value); } /** *

Status of devices.

*/ inline GetDeviceFleetReportResult& WithDeviceStats(const DeviceStats& value) { SetDeviceStats(value); return *this;} /** *

Status of devices.

*/ inline GetDeviceFleetReportResult& WithDeviceStats(DeviceStats&& value) { SetDeviceStats(std::move(value)); return *this;} /** *

The versions of Edge Manager agent deployed on the fleet.

*/ inline const Aws::Vector& GetAgentVersions() const{ return m_agentVersions; } /** *

The versions of Edge Manager agent deployed on the fleet.

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

The versions of Edge Manager agent deployed on the fleet.

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

The versions of Edge Manager agent deployed on the fleet.

*/ inline GetDeviceFleetReportResult& WithAgentVersions(const Aws::Vector& value) { SetAgentVersions(value); return *this;} /** *

The versions of Edge Manager agent deployed on the fleet.

*/ inline GetDeviceFleetReportResult& WithAgentVersions(Aws::Vector&& value) { SetAgentVersions(std::move(value)); return *this;} /** *

The versions of Edge Manager agent deployed on the fleet.

*/ inline GetDeviceFleetReportResult& AddAgentVersions(const AgentVersion& value) { m_agentVersions.push_back(value); return *this; } /** *

The versions of Edge Manager agent deployed on the fleet.

*/ inline GetDeviceFleetReportResult& AddAgentVersions(AgentVersion&& value) { m_agentVersions.push_back(std::move(value)); return *this; } /** *

Status of model on device.

*/ inline const Aws::Vector& GetModelStats() const{ return m_modelStats; } /** *

Status of model on device.

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

Status of model on device.

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

Status of model on device.

*/ inline GetDeviceFleetReportResult& WithModelStats(const Aws::Vector& value) { SetModelStats(value); return *this;} /** *

Status of model on device.

*/ inline GetDeviceFleetReportResult& WithModelStats(Aws::Vector&& value) { SetModelStats(std::move(value)); return *this;} /** *

Status of model on device.

*/ inline GetDeviceFleetReportResult& AddModelStats(const EdgeModelStat& value) { m_modelStats.push_back(value); return *this; } /** *

Status of model on device.

*/ inline GetDeviceFleetReportResult& AddModelStats(EdgeModelStat&& value) { m_modelStats.push_back(std::move(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 GetDeviceFleetReportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDeviceFleetReportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDeviceFleetReportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_deviceFleetArn; Aws::String m_deviceFleetName; EdgeOutputConfig m_outputConfig; Aws::String m_description; Aws::Utils::DateTime m_reportGenerated; DeviceStats m_deviceStats; Aws::Vector m_agentVersions; Aws::Vector m_modelStats; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws