/** * 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 Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace CloudWatch { namespace Model { class DescribeAnomalyDetectorsResult { public: AWS_CLOUDWATCH_API DescribeAnomalyDetectorsResult(); AWS_CLOUDWATCH_API DescribeAnomalyDetectorsResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDWATCH_API DescribeAnomalyDetectorsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The list of anomaly detection models returned by the operation.

*/ inline const Aws::Vector& GetAnomalyDetectors() const{ return m_anomalyDetectors; } /** *

The list of anomaly detection models returned by the operation.

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

The list of anomaly detection models returned by the operation.

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

The list of anomaly detection models returned by the operation.

*/ inline DescribeAnomalyDetectorsResult& WithAnomalyDetectors(const Aws::Vector& value) { SetAnomalyDetectors(value); return *this;} /** *

The list of anomaly detection models returned by the operation.

*/ inline DescribeAnomalyDetectorsResult& WithAnomalyDetectors(Aws::Vector&& value) { SetAnomalyDetectors(std::move(value)); return *this;} /** *

The list of anomaly detection models returned by the operation.

*/ inline DescribeAnomalyDetectorsResult& AddAnomalyDetectors(const AnomalyDetector& value) { m_anomalyDetectors.push_back(value); return *this; } /** *

The list of anomaly detection models returned by the operation.

*/ inline DescribeAnomalyDetectorsResult& AddAnomalyDetectors(AnomalyDetector&& value) { m_anomalyDetectors.push_back(std::move(value)); return *this; } /** *

A token that you can use in a subsequent operation to retrieve the next set * of results.

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

A token that you can use in a subsequent operation to retrieve the next set * of results.

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

A token that you can use in a subsequent operation to retrieve the next set * of results.

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

A token that you can use in a subsequent operation to retrieve the next set * of results.

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

A token that you can use in a subsequent operation to retrieve the next set * of results.

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

A token that you can use in a subsequent operation to retrieve the next set * of results.

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

A token that you can use in a subsequent operation to retrieve the next set * of results.

*/ inline DescribeAnomalyDetectorsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeAnomalyDetectorsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeAnomalyDetectorsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_anomalyDetectors; Aws::String m_nextToken; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace CloudWatch } // namespace Aws