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

Information about the detector model version.

See Also:

AWS * API Reference

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

The name of the detector model.

*/ inline const Aws::String& GetDetectorModelName() const{ return m_detectorModelName; } /** *

The name of the detector model.

*/ inline bool DetectorModelNameHasBeenSet() const { return m_detectorModelNameHasBeenSet; } /** *

The name of the detector model.

*/ inline void SetDetectorModelName(const Aws::String& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = value; } /** *

The name of the detector model.

*/ inline void SetDetectorModelName(Aws::String&& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = std::move(value); } /** *

The name of the detector model.

*/ inline void SetDetectorModelName(const char* value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName.assign(value); } /** *

The name of the detector model.

*/ inline DetectorModelVersionSummary& WithDetectorModelName(const Aws::String& value) { SetDetectorModelName(value); return *this;} /** *

The name of the detector model.

*/ inline DetectorModelVersionSummary& WithDetectorModelName(Aws::String&& value) { SetDetectorModelName(std::move(value)); return *this;} /** *

The name of the detector model.

*/ inline DetectorModelVersionSummary& WithDetectorModelName(const char* value) { SetDetectorModelName(value); return *this;} /** *

The ID of the detector model version.

*/ inline const Aws::String& GetDetectorModelVersion() const{ return m_detectorModelVersion; } /** *

The ID of the detector model version.

*/ inline bool DetectorModelVersionHasBeenSet() const { return m_detectorModelVersionHasBeenSet; } /** *

The ID of the detector model version.

*/ inline void SetDetectorModelVersion(const Aws::String& value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion = value; } /** *

The ID of the detector model version.

*/ inline void SetDetectorModelVersion(Aws::String&& value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion = std::move(value); } /** *

The ID of the detector model version.

*/ inline void SetDetectorModelVersion(const char* value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion.assign(value); } /** *

The ID of the detector model version.

*/ inline DetectorModelVersionSummary& WithDetectorModelVersion(const Aws::String& value) { SetDetectorModelVersion(value); return *this;} /** *

The ID of the detector model version.

*/ inline DetectorModelVersionSummary& WithDetectorModelVersion(Aws::String&& value) { SetDetectorModelVersion(std::move(value)); return *this;} /** *

The ID of the detector model version.

*/ inline DetectorModelVersionSummary& WithDetectorModelVersion(const char* value) { SetDetectorModelVersion(value); return *this;} /** *

The ARN of the detector model version.

*/ inline const Aws::String& GetDetectorModelArn() const{ return m_detectorModelArn; } /** *

The ARN of the detector model version.

*/ inline bool DetectorModelArnHasBeenSet() const { return m_detectorModelArnHasBeenSet; } /** *

The ARN of the detector model version.

*/ inline void SetDetectorModelArn(const Aws::String& value) { m_detectorModelArnHasBeenSet = true; m_detectorModelArn = value; } /** *

The ARN of the detector model version.

*/ inline void SetDetectorModelArn(Aws::String&& value) { m_detectorModelArnHasBeenSet = true; m_detectorModelArn = std::move(value); } /** *

The ARN of the detector model version.

*/ inline void SetDetectorModelArn(const char* value) { m_detectorModelArnHasBeenSet = true; m_detectorModelArn.assign(value); } /** *

The ARN of the detector model version.

*/ inline DetectorModelVersionSummary& WithDetectorModelArn(const Aws::String& value) { SetDetectorModelArn(value); return *this;} /** *

The ARN of the detector model version.

*/ inline DetectorModelVersionSummary& WithDetectorModelArn(Aws::String&& value) { SetDetectorModelArn(std::move(value)); return *this;} /** *

The ARN of the detector model version.

*/ inline DetectorModelVersionSummary& WithDetectorModelArn(const char* value) { SetDetectorModelArn(value); return *this;} /** *

The ARN of the role that grants the detector model permission to perform its * tasks.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The ARN of the role that grants the detector model permission to perform its * tasks.

*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

The ARN of the role that grants the detector model permission to perform its * tasks.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *

The ARN of the role that grants the detector model permission to perform its * tasks.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *

The ARN of the role that grants the detector model permission to perform its * tasks.

*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *

The ARN of the role that grants the detector model permission to perform its * tasks.

*/ inline DetectorModelVersionSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The ARN of the role that grants the detector model permission to perform its * tasks.

*/ inline DetectorModelVersionSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The ARN of the role that grants the detector model permission to perform its * tasks.

*/ inline DetectorModelVersionSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

The time the detector model version was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time the detector model version was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The time the detector model version was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The time the detector model version was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The time the detector model version was created.

*/ inline DetectorModelVersionSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time the detector model version was created.

*/ inline DetectorModelVersionSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The last time the detector model version was updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *

The last time the detector model version was updated.

*/ inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } /** *

The last time the detector model version was updated.

*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; } /** *

The last time the detector model version was updated.

*/ inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); } /** *

The last time the detector model version was updated.

*/ inline DetectorModelVersionSummary& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *

The last time the detector model version was updated.

*/ inline DetectorModelVersionSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} /** *

The status of the detector model version.

*/ inline const DetectorModelVersionStatus& GetStatus() const{ return m_status; } /** *

The status of the detector model version.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the detector model version.

*/ inline void SetStatus(const DetectorModelVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the detector model version.

*/ inline void SetStatus(DetectorModelVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the detector model version.

*/ inline DetectorModelVersionSummary& WithStatus(const DetectorModelVersionStatus& value) { SetStatus(value); return *this;} /** *

The status of the detector model version.

*/ inline DetectorModelVersionSummary& WithStatus(DetectorModelVersionStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

Information about the order in which events are evaluated and how actions are * executed.

*/ inline const EvaluationMethod& GetEvaluationMethod() const{ return m_evaluationMethod; } /** *

Information about the order in which events are evaluated and how actions are * executed.

*/ inline bool EvaluationMethodHasBeenSet() const { return m_evaluationMethodHasBeenSet; } /** *

Information about the order in which events are evaluated and how actions are * executed.

*/ inline void SetEvaluationMethod(const EvaluationMethod& value) { m_evaluationMethodHasBeenSet = true; m_evaluationMethod = value; } /** *

Information about the order in which events are evaluated and how actions are * executed.

*/ inline void SetEvaluationMethod(EvaluationMethod&& value) { m_evaluationMethodHasBeenSet = true; m_evaluationMethod = std::move(value); } /** *

Information about the order in which events are evaluated and how actions are * executed.

*/ inline DetectorModelVersionSummary& WithEvaluationMethod(const EvaluationMethod& value) { SetEvaluationMethod(value); return *this;} /** *

Information about the order in which events are evaluated and how actions are * executed.

*/ inline DetectorModelVersionSummary& WithEvaluationMethod(EvaluationMethod&& value) { SetEvaluationMethod(std::move(value)); return *this;} private: Aws::String m_detectorModelName; bool m_detectorModelNameHasBeenSet = false; Aws::String m_detectorModelVersion; bool m_detectorModelVersionHasBeenSet = false; Aws::String m_detectorModelArn; bool m_detectorModelArnHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateTime; bool m_lastUpdateTimeHasBeenSet = false; DetectorModelVersionStatus m_status; bool m_statusHasBeenSet = false; EvaluationMethod m_evaluationMethod; bool m_evaluationMethodHasBeenSet = false; }; } // namespace Model } // namespace IoTEvents } // namespace Aws