/** * 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 CostExplorer { namespace Model { class GetAnomalyMonitorsResult { public: AWS_COSTEXPLORER_API GetAnomalyMonitorsResult(); AWS_COSTEXPLORER_API GetAnomalyMonitorsResult(const Aws::AmazonWebServiceResult& result); AWS_COSTEXPLORER_API GetAnomalyMonitorsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of cost anomaly monitors that includes the detailed metadata for each * monitor.

*/ inline const Aws::Vector& GetAnomalyMonitors() const{ return m_anomalyMonitors; } /** *

A list of cost anomaly monitors that includes the detailed metadata for each * monitor.

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

A list of cost anomaly monitors that includes the detailed metadata for each * monitor.

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

A list of cost anomaly monitors that includes the detailed metadata for each * monitor.

*/ inline GetAnomalyMonitorsResult& WithAnomalyMonitors(const Aws::Vector& value) { SetAnomalyMonitors(value); return *this;} /** *

A list of cost anomaly monitors that includes the detailed metadata for each * monitor.

*/ inline GetAnomalyMonitorsResult& WithAnomalyMonitors(Aws::Vector&& value) { SetAnomalyMonitors(std::move(value)); return *this;} /** *

A list of cost anomaly monitors that includes the detailed metadata for each * monitor.

*/ inline GetAnomalyMonitorsResult& AddAnomalyMonitors(const AnomalyMonitor& value) { m_anomalyMonitors.push_back(value); return *this; } /** *

A list of cost anomaly monitors that includes the detailed metadata for each * monitor.

*/ inline GetAnomalyMonitorsResult& AddAnomalyMonitors(AnomalyMonitor&& value) { m_anomalyMonitors.push_back(std::move(value)); return *this; } /** *

The token to retrieve the next set of results. Amazon Web Services provides * the token when the response from a previous call has more results than the * maximum page size.

*/ inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; } /** *

The token to retrieve the next set of results. Amazon Web Services provides * the token when the response from a previous call has more results than the * maximum page size.

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

The token to retrieve the next set of results. Amazon Web Services provides * the token when the response from a previous call has more results than the * maximum page size.

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

The token to retrieve the next set of results. Amazon Web Services provides * the token when the response from a previous call has more results than the * maximum page size.

*/ inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); } /** *

The token to retrieve the next set of results. Amazon Web Services provides * the token when the response from a previous call has more results than the * maximum page size.

*/ inline GetAnomalyMonitorsResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;} /** *

The token to retrieve the next set of results. Amazon Web Services provides * the token when the response from a previous call has more results than the * maximum page size.

*/ inline GetAnomalyMonitorsResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;} /** *

The token to retrieve the next set of results. Amazon Web Services provides * the token when the response from a previous call has more results than the * maximum page size.

*/ inline GetAnomalyMonitorsResult& WithNextPageToken(const char* value) { SetNextPageToken(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 GetAnomalyMonitorsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetAnomalyMonitorsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetAnomalyMonitorsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_anomalyMonitors; Aws::String m_nextPageToken; Aws::String m_requestId; }; } // namespace Model } // namespace CostExplorer } // namespace Aws