/** * 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 { namespace CostExplorer { namespace Model { /** */ class GetAnomalyMonitorsRequest : public CostExplorerRequest { public: AWS_COSTEXPLORER_API GetAnomalyMonitorsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetAnomalyMonitors"; } AWS_COSTEXPLORER_API Aws::String SerializePayload() const override; AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A list of cost anomaly monitor ARNs.

*/ inline const Aws::Vector& GetMonitorArnList() const{ return m_monitorArnList; } /** *

A list of cost anomaly monitor ARNs.

*/ inline bool MonitorArnListHasBeenSet() const { return m_monitorArnListHasBeenSet; } /** *

A list of cost anomaly monitor ARNs.

*/ inline void SetMonitorArnList(const Aws::Vector& value) { m_monitorArnListHasBeenSet = true; m_monitorArnList = value; } /** *

A list of cost anomaly monitor ARNs.

*/ inline void SetMonitorArnList(Aws::Vector&& value) { m_monitorArnListHasBeenSet = true; m_monitorArnList = std::move(value); } /** *

A list of cost anomaly monitor ARNs.

*/ inline GetAnomalyMonitorsRequest& WithMonitorArnList(const Aws::Vector& value) { SetMonitorArnList(value); return *this;} /** *

A list of cost anomaly monitor ARNs.

*/ inline GetAnomalyMonitorsRequest& WithMonitorArnList(Aws::Vector&& value) { SetMonitorArnList(std::move(value)); return *this;} /** *

A list of cost anomaly monitor ARNs.

*/ inline GetAnomalyMonitorsRequest& AddMonitorArnList(const Aws::String& value) { m_monitorArnListHasBeenSet = true; m_monitorArnList.push_back(value); return *this; } /** *

A list of cost anomaly monitor ARNs.

*/ inline GetAnomalyMonitorsRequest& AddMonitorArnList(Aws::String&& value) { m_monitorArnListHasBeenSet = true; m_monitorArnList.push_back(std::move(value)); return *this; } /** *

A list of cost anomaly monitor ARNs.

*/ inline GetAnomalyMonitorsRequest& AddMonitorArnList(const char* value) { m_monitorArnListHasBeenSet = true; m_monitorArnList.push_back(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 bool NextPageTokenHasBeenSet() const { return m_nextPageTokenHasBeenSet; } /** *

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_nextPageTokenHasBeenSet = true; 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_nextPageTokenHasBeenSet = true; 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_nextPageTokenHasBeenSet = true; 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 GetAnomalyMonitorsRequest& 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 GetAnomalyMonitorsRequest& 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 GetAnomalyMonitorsRequest& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;} /** *

The number of entries that a paginated response contains.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The number of entries that a paginated response contains.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The number of entries that a paginated response contains.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The number of entries that a paginated response contains.

*/ inline GetAnomalyMonitorsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::Vector m_monitorArnList; bool m_monitorArnListHasBeenSet = false; Aws::String m_nextPageToken; bool m_nextPageTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace CostExplorer } // namespace Aws