7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ce/model/Anomaly.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename AnomaliesT = Aws::Vector<Anomaly>>
43 void SetAnomalies(AnomaliesT&& value) { m_anomaliesHasBeenSet =
true; m_anomalies = std::forward<AnomaliesT>(value); }
44 template<
typename AnomaliesT = Aws::Vector<Anomaly>>
46 template<
typename AnomaliesT = Anomaly>
47 GetAnomaliesResult&
AddAnomalies(AnomaliesT&& value) { m_anomaliesHasBeenSet =
true; m_anomalies.emplace_back(std::forward<AnomaliesT>(value));
return *
this; }
57 template<
typename NextPageTokenT = Aws::String>
58 void SetNextPageToken(NextPageTokenT&& value) { m_nextPageTokenHasBeenSet =
true; m_nextPageToken = std::forward<NextPageTokenT>(value); }
59 template<
typename NextPageTokenT = Aws::String>
66 template<
typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
68 template<
typename RequestIdT = Aws::String>
74 bool m_anomaliesHasBeenSet =
false;
77 bool m_nextPageTokenHasBeenSet =
false;
80 bool m_requestIdHasBeenSet =
false;
AWS_COSTEXPLORER_API GetAnomaliesResult()=default
GetAnomaliesResult & WithAnomalies(AnomaliesT &&value)
void SetRequestId(RequestIdT &&value)
AWS_COSTEXPLORER_API GetAnomaliesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextPageToken() const
AWS_COSTEXPLORER_API GetAnomaliesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextPageToken(NextPageTokenT &&value)
GetAnomaliesResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
const Aws::Vector< Anomaly > & GetAnomalies() const
GetAnomaliesResult & AddAnomalies(AnomaliesT &&value)
void SetAnomalies(AnomaliesT &&value)
GetAnomaliesResult & WithNextPageToken(NextPageTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue