/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ForecastService { namespace Model { class DescribeMonitorResult { public: AWS_FORECASTSERVICE_API DescribeMonitorResult(); AWS_FORECASTSERVICE_API DescribeMonitorResult(const Aws::AmazonWebServiceResult& result); AWS_FORECASTSERVICE_API DescribeMonitorResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the monitor.

*/ inline const Aws::String& GetMonitorName() const{ return m_monitorName; } /** *

The name of the monitor.

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

The name of the monitor.

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

The name of the monitor.

*/ inline void SetMonitorName(const char* value) { m_monitorName.assign(value); } /** *

The name of the monitor.

*/ inline DescribeMonitorResult& WithMonitorName(const Aws::String& value) { SetMonitorName(value); return *this;} /** *

The name of the monitor.

*/ inline DescribeMonitorResult& WithMonitorName(Aws::String&& value) { SetMonitorName(std::move(value)); return *this;} /** *

The name of the monitor.

*/ inline DescribeMonitorResult& WithMonitorName(const char* value) { SetMonitorName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the monitor resource described.

*/ inline const Aws::String& GetMonitorArn() const{ return m_monitorArn; } /** *

The Amazon Resource Name (ARN) of the monitor resource described.

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

The Amazon Resource Name (ARN) of the monitor resource described.

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

The Amazon Resource Name (ARN) of the monitor resource described.

*/ inline void SetMonitorArn(const char* value) { m_monitorArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the monitor resource described.

*/ inline DescribeMonitorResult& WithMonitorArn(const Aws::String& value) { SetMonitorArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the monitor resource described.

*/ inline DescribeMonitorResult& WithMonitorArn(Aws::String&& value) { SetMonitorArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the monitor resource described.

*/ inline DescribeMonitorResult& WithMonitorArn(const char* value) { SetMonitorArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the auto predictor being monitored.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

The Amazon Resource Name (ARN) of the auto predictor being monitored.

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

The Amazon Resource Name (ARN) of the auto predictor being monitored.

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

The Amazon Resource Name (ARN) of the auto predictor being monitored.

*/ inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the auto predictor being monitored.

*/ inline DescribeMonitorResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the auto predictor being monitored.

*/ inline DescribeMonitorResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the auto predictor being monitored.

*/ inline DescribeMonitorResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *

The status of the monitor resource.

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

The status of the monitor resource.

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

The status of the monitor resource.

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

The status of the monitor resource.

*/ inline void SetStatus(const char* value) { m_status.assign(value); } /** *

The status of the monitor resource.

*/ inline DescribeMonitorResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

The status of the monitor resource.

*/ inline DescribeMonitorResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

The status of the monitor resource.

*/ inline DescribeMonitorResult& WithStatus(const char* value) { SetStatus(value); return *this;} /** *

The timestamp of the latest evaluation completed by the monitor.

*/ inline const Aws::Utils::DateTime& GetLastEvaluationTime() const{ return m_lastEvaluationTime; } /** *

The timestamp of the latest evaluation completed by the monitor.

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

The timestamp of the latest evaluation completed by the monitor.

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

The timestamp of the latest evaluation completed by the monitor.

*/ inline DescribeMonitorResult& WithLastEvaluationTime(const Aws::Utils::DateTime& value) { SetLastEvaluationTime(value); return *this;} /** *

The timestamp of the latest evaluation completed by the monitor.

*/ inline DescribeMonitorResult& WithLastEvaluationTime(Aws::Utils::DateTime&& value) { SetLastEvaluationTime(std::move(value)); return *this;} /** *

The state of the monitor's latest evaluation.

*/ inline const Aws::String& GetLastEvaluationState() const{ return m_lastEvaluationState; } /** *

The state of the monitor's latest evaluation.

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

The state of the monitor's latest evaluation.

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

The state of the monitor's latest evaluation.

*/ inline void SetLastEvaluationState(const char* value) { m_lastEvaluationState.assign(value); } /** *

The state of the monitor's latest evaluation.

*/ inline DescribeMonitorResult& WithLastEvaluationState(const Aws::String& value) { SetLastEvaluationState(value); return *this;} /** *

The state of the monitor's latest evaluation.

*/ inline DescribeMonitorResult& WithLastEvaluationState(Aws::String&& value) { SetLastEvaluationState(std::move(value)); return *this;} /** *

The state of the monitor's latest evaluation.

*/ inline DescribeMonitorResult& WithLastEvaluationState(const char* value) { SetLastEvaluationState(value); return *this;} /** *

Metrics you can use as a baseline for comparison purposes. Use these values * you interpret monitoring results for an auto predictor.

*/ inline const Baseline& GetBaseline() const{ return m_baseline; } /** *

Metrics you can use as a baseline for comparison purposes. Use these values * you interpret monitoring results for an auto predictor.

*/ inline void SetBaseline(const Baseline& value) { m_baseline = value; } /** *

Metrics you can use as a baseline for comparison purposes. Use these values * you interpret monitoring results for an auto predictor.

*/ inline void SetBaseline(Baseline&& value) { m_baseline = std::move(value); } /** *

Metrics you can use as a baseline for comparison purposes. Use these values * you interpret monitoring results for an auto predictor.

*/ inline DescribeMonitorResult& WithBaseline(const Baseline& value) { SetBaseline(value); return *this;} /** *

Metrics you can use as a baseline for comparison purposes. Use these values * you interpret monitoring results for an auto predictor.

*/ inline DescribeMonitorResult& WithBaseline(Baseline&& value) { SetBaseline(std::move(value)); return *this;} /** *

An error message, if any, for the monitor.

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

An error message, if any, for the monitor.

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

An error message, if any, for the monitor.

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

An error message, if any, for the monitor.

*/ inline void SetMessage(const char* value) { m_message.assign(value); } /** *

An error message, if any, for the monitor.

*/ inline DescribeMonitorResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

An error message, if any, for the monitor.

*/ inline DescribeMonitorResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

An error message, if any, for the monitor.

*/ inline DescribeMonitorResult& WithMessage(const char* value) { SetMessage(value); return *this;} /** *

The timestamp for when the monitor resource was created.

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

The timestamp for when the monitor resource was created.

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

The timestamp for when the monitor resource was created.

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

The timestamp for when the monitor resource was created.

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

The timestamp for when the monitor resource was created.

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

The timestamp of the latest modification to the monitor.

*/ inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; } /** *

The timestamp of the latest modification to the monitor.

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

The timestamp of the latest modification to the monitor.

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

The timestamp of the latest modification to the monitor.

*/ inline DescribeMonitorResult& WithLastModificationTime(const Aws::Utils::DateTime& value) { SetLastModificationTime(value); return *this;} /** *

The timestamp of the latest modification to the monitor.

*/ inline DescribeMonitorResult& WithLastModificationTime(Aws::Utils::DateTime&& value) { SetLastModificationTime(std::move(value)); return *this;} /** *

The estimated number of minutes remaining before the monitor resource * finishes its current evaluation.

*/ inline long long GetEstimatedEvaluationTimeRemainingInMinutes() const{ return m_estimatedEvaluationTimeRemainingInMinutes; } /** *

The estimated number of minutes remaining before the monitor resource * finishes its current evaluation.

*/ inline void SetEstimatedEvaluationTimeRemainingInMinutes(long long value) { m_estimatedEvaluationTimeRemainingInMinutes = value; } /** *

The estimated number of minutes remaining before the monitor resource * finishes its current evaluation.

*/ inline DescribeMonitorResult& WithEstimatedEvaluationTimeRemainingInMinutes(long long value) { SetEstimatedEvaluationTimeRemainingInMinutes(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 DescribeMonitorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeMonitorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeMonitorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_monitorName; Aws::String m_monitorArn; Aws::String m_resourceArn; Aws::String m_status; Aws::Utils::DateTime m_lastEvaluationTime; Aws::String m_lastEvaluationState; Baseline m_baseline; Aws::String m_message; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_lastModificationTime; long long m_estimatedEvaluationTimeRemainingInMinutes; Aws::String m_requestId; }; } // namespace Model } // namespace ForecastService } // namespace Aws