7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/logs/CloudWatchLogs_EXPORTS.h>
11#include <aws/logs/model/Anomaly.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace CloudWatchLogs {
38 template <
typename AnomaliesT = Aws::Vector<Anomaly>>
40 m_anomaliesHasBeenSet =
true;
41 m_anomalies = std::forward<AnomaliesT>(value);
43 template <
typename AnomaliesT = Aws::Vector<Anomaly>>
48 template <
typename AnomaliesT = Anomaly>
50 m_anomaliesHasBeenSet =
true;
51 m_anomalies.emplace_back(std::forward<AnomaliesT>(value));
59 template <
typename NextTokenT = Aws::String>
61 m_nextTokenHasBeenSet =
true;
62 m_nextToken = std::forward<NextTokenT>(value);
64 template <
typename NextTokenT = Aws::String>
74 template <
typename RequestIdT = Aws::String>
76 m_requestIdHasBeenSet =
true;
77 m_requestId = std::forward<RequestIdT>(value);
79 template <
typename RequestIdT = Aws::String>
94 bool m_anomaliesHasBeenSet =
false;
95 bool m_nextTokenHasBeenSet =
false;
96 bool m_requestIdHasBeenSet =
false;
void SetAnomalies(AnomaliesT &&value)
void SetRequestId(RequestIdT &&value)
AWS_CLOUDWATCHLOGS_API ListAnomaliesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListAnomaliesResult & WithRequestId(RequestIdT &&value)
AWS_CLOUDWATCHLOGS_API ListAnomaliesResult()=default
const Aws::String & GetNextToken() const
ListAnomaliesResult & WithAnomalies(AnomaliesT &&value)
ListAnomaliesResult & AddAnomalies(AnomaliesT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
void SetNextToken(NextTokenT &&value)
AWS_CLOUDWATCHLOGS_API ListAnomaliesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Anomaly > & GetAnomalies() const
ListAnomaliesResult & WithNextToken(NextTokenT &&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