7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
10#include <aws/logs/model/Anomaly.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace CloudWatchLogs {
37 template <
typename AnomaliesT = Aws::Vector<Anomaly>>
39 m_anomaliesHasBeenSet =
true;
40 m_anomalies = std::forward<AnomaliesT>(value);
42 template <
typename AnomaliesT = Aws::Vector<Anomaly>>
47 template <
typename AnomaliesT = Anomaly>
49 m_anomaliesHasBeenSet =
true;
50 m_anomalies.emplace_back(std::forward<AnomaliesT>(value));
58 template <
typename NextTokenT = Aws::String>
60 m_nextTokenHasBeenSet =
true;
61 m_nextToken = std::forward<NextTokenT>(value);
63 template <
typename NextTokenT = Aws::String>
73 template <
typename RequestIdT = Aws::String>
75 m_requestIdHasBeenSet =
true;
76 m_requestId = std::forward<RequestIdT>(value);
78 template <
typename RequestIdT = Aws::String>
90 bool m_anomaliesHasBeenSet =
false;
91 bool m_nextTokenHasBeenSet =
false;
92 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)
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