7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/logs/model/Anomaly.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace CloudWatchLogs
43 template<
typename AnomaliesT = Aws::Vector<Anomaly>>
44 void SetAnomalies(AnomaliesT&& value) { m_anomaliesHasBeenSet =
true; m_anomalies = std::forward<AnomaliesT>(value); }
45 template<
typename AnomaliesT = Aws::Vector<Anomaly>>
47 template<
typename AnomaliesT = Anomaly>
54 template<
typename NextTokenT = Aws::String>
55 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
56 template<
typename NextTokenT = Aws::String>
63 template<
typename RequestIdT = Aws::String>
64 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
65 template<
typename RequestIdT = Aws::String>
71 bool m_anomaliesHasBeenSet =
false;
74 bool m_nextTokenHasBeenSet =
false;
77 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