/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LookoutEquipment { namespace Model { /** *

Contains information about the specific inference event, including start and * end time, diagnostics information, event duration and so on.

See * Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the inference scheduler being used for the * inference event.

*/ inline const Aws::String& GetInferenceSchedulerArn() const{ return m_inferenceSchedulerArn; } /** *

The Amazon Resource Name (ARN) of the inference scheduler being used for the * inference event.

*/ inline bool InferenceSchedulerArnHasBeenSet() const { return m_inferenceSchedulerArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the inference scheduler being used for the * inference event.

*/ inline void SetInferenceSchedulerArn(const Aws::String& value) { m_inferenceSchedulerArnHasBeenSet = true; m_inferenceSchedulerArn = value; } /** *

The Amazon Resource Name (ARN) of the inference scheduler being used for the * inference event.

*/ inline void SetInferenceSchedulerArn(Aws::String&& value) { m_inferenceSchedulerArnHasBeenSet = true; m_inferenceSchedulerArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the inference scheduler being used for the * inference event.

*/ inline void SetInferenceSchedulerArn(const char* value) { m_inferenceSchedulerArnHasBeenSet = true; m_inferenceSchedulerArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the inference scheduler being used for the * inference event.

*/ inline InferenceEventSummary& WithInferenceSchedulerArn(const Aws::String& value) { SetInferenceSchedulerArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the inference scheduler being used for the * inference event.

*/ inline InferenceEventSummary& WithInferenceSchedulerArn(Aws::String&& value) { SetInferenceSchedulerArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the inference scheduler being used for the * inference event.

*/ inline InferenceEventSummary& WithInferenceSchedulerArn(const char* value) { SetInferenceSchedulerArn(value); return *this;} /** *

The name of the inference scheduler being used for the inference events.

*/ inline const Aws::String& GetInferenceSchedulerName() const{ return m_inferenceSchedulerName; } /** *

The name of the inference scheduler being used for the inference events.

*/ inline bool InferenceSchedulerNameHasBeenSet() const { return m_inferenceSchedulerNameHasBeenSet; } /** *

The name of the inference scheduler being used for the inference events.

*/ inline void SetInferenceSchedulerName(const Aws::String& value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName = value; } /** *

The name of the inference scheduler being used for the inference events.

*/ inline void SetInferenceSchedulerName(Aws::String&& value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName = std::move(value); } /** *

The name of the inference scheduler being used for the inference events.

*/ inline void SetInferenceSchedulerName(const char* value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName.assign(value); } /** *

The name of the inference scheduler being used for the inference events.

*/ inline InferenceEventSummary& WithInferenceSchedulerName(const Aws::String& value) { SetInferenceSchedulerName(value); return *this;} /** *

The name of the inference scheduler being used for the inference events.

*/ inline InferenceEventSummary& WithInferenceSchedulerName(Aws::String&& value) { SetInferenceSchedulerName(std::move(value)); return *this;} /** *

The name of the inference scheduler being used for the inference events.

*/ inline InferenceEventSummary& WithInferenceSchedulerName(const char* value) { SetInferenceSchedulerName(value); return *this;} /** *

Indicates the starting time of an inference event.

*/ inline const Aws::Utils::DateTime& GetEventStartTime() const{ return m_eventStartTime; } /** *

Indicates the starting time of an inference event.

*/ inline bool EventStartTimeHasBeenSet() const { return m_eventStartTimeHasBeenSet; } /** *

Indicates the starting time of an inference event.

*/ inline void SetEventStartTime(const Aws::Utils::DateTime& value) { m_eventStartTimeHasBeenSet = true; m_eventStartTime = value; } /** *

Indicates the starting time of an inference event.

*/ inline void SetEventStartTime(Aws::Utils::DateTime&& value) { m_eventStartTimeHasBeenSet = true; m_eventStartTime = std::move(value); } /** *

Indicates the starting time of an inference event.

*/ inline InferenceEventSummary& WithEventStartTime(const Aws::Utils::DateTime& value) { SetEventStartTime(value); return *this;} /** *

Indicates the starting time of an inference event.

*/ inline InferenceEventSummary& WithEventStartTime(Aws::Utils::DateTime&& value) { SetEventStartTime(std::move(value)); return *this;} /** *

Indicates the ending time of an inference event.

*/ inline const Aws::Utils::DateTime& GetEventEndTime() const{ return m_eventEndTime; } /** *

Indicates the ending time of an inference event.

*/ inline bool EventEndTimeHasBeenSet() const { return m_eventEndTimeHasBeenSet; } /** *

Indicates the ending time of an inference event.

*/ inline void SetEventEndTime(const Aws::Utils::DateTime& value) { m_eventEndTimeHasBeenSet = true; m_eventEndTime = value; } /** *

Indicates the ending time of an inference event.

*/ inline void SetEventEndTime(Aws::Utils::DateTime&& value) { m_eventEndTimeHasBeenSet = true; m_eventEndTime = std::move(value); } /** *

Indicates the ending time of an inference event.

*/ inline InferenceEventSummary& WithEventEndTime(const Aws::Utils::DateTime& value) { SetEventEndTime(value); return *this;} /** *

Indicates the ending time of an inference event.

*/ inline InferenceEventSummary& WithEventEndTime(Aws::Utils::DateTime&& value) { SetEventEndTime(std::move(value)); return *this;} /** *

An array which specifies the names and values of all sensors contributing to * an inference event.

*/ inline const Aws::String& GetDiagnostics() const{ return m_diagnostics; } /** *

An array which specifies the names and values of all sensors contributing to * an inference event.

*/ inline bool DiagnosticsHasBeenSet() const { return m_diagnosticsHasBeenSet; } /** *

An array which specifies the names and values of all sensors contributing to * an inference event.

*/ inline void SetDiagnostics(const Aws::String& value) { m_diagnosticsHasBeenSet = true; m_diagnostics = value; } /** *

An array which specifies the names and values of all sensors contributing to * an inference event.

*/ inline void SetDiagnostics(Aws::String&& value) { m_diagnosticsHasBeenSet = true; m_diagnostics = std::move(value); } /** *

An array which specifies the names and values of all sensors contributing to * an inference event.

*/ inline void SetDiagnostics(const char* value) { m_diagnosticsHasBeenSet = true; m_diagnostics.assign(value); } /** *

An array which specifies the names and values of all sensors contributing to * an inference event.

*/ inline InferenceEventSummary& WithDiagnostics(const Aws::String& value) { SetDiagnostics(value); return *this;} /** *

An array which specifies the names and values of all sensors contributing to * an inference event.

*/ inline InferenceEventSummary& WithDiagnostics(Aws::String&& value) { SetDiagnostics(std::move(value)); return *this;} /** *

An array which specifies the names and values of all sensors contributing to * an inference event.

*/ inline InferenceEventSummary& WithDiagnostics(const char* value) { SetDiagnostics(value); return *this;} /** *

Indicates the size of an inference event in seconds.

*/ inline long long GetEventDurationInSeconds() const{ return m_eventDurationInSeconds; } /** *

Indicates the size of an inference event in seconds.

*/ inline bool EventDurationInSecondsHasBeenSet() const { return m_eventDurationInSecondsHasBeenSet; } /** *

Indicates the size of an inference event in seconds.

*/ inline void SetEventDurationInSeconds(long long value) { m_eventDurationInSecondsHasBeenSet = true; m_eventDurationInSeconds = value; } /** *

Indicates the size of an inference event in seconds.

*/ inline InferenceEventSummary& WithEventDurationInSeconds(long long value) { SetEventDurationInSeconds(value); return *this;} private: Aws::String m_inferenceSchedulerArn; bool m_inferenceSchedulerArnHasBeenSet = false; Aws::String m_inferenceSchedulerName; bool m_inferenceSchedulerNameHasBeenSet = false; Aws::Utils::DateTime m_eventStartTime; bool m_eventStartTimeHasBeenSet = false; Aws::Utils::DateTime m_eventEndTime; bool m_eventEndTimeHasBeenSet = false; Aws::String m_diagnostics; bool m_diagnosticsHasBeenSet = false; long long m_eventDurationInSeconds; bool m_eventDurationInSecondsHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws