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/devops-guru/DevOpsGuru_EXPORTS.h>
11#include <aws/devops-guru/model/ProactiveInsightSummary.h>
12#include <aws/devops-guru/model/ReactiveInsightSummary.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename ProactiveInsightsT = Aws::Vector<ProactiveInsightSummary>>
40 m_proactiveInsightsHasBeenSet =
true;
41 m_proactiveInsights = std::forward<ProactiveInsightsT>(value);
43 template <
typename ProactiveInsightsT = Aws::Vector<ProactiveInsightSummary>>
48 template <
typename ProactiveInsightsT = ProactiveInsightSummary>
50 m_proactiveInsightsHasBeenSet =
true;
51 m_proactiveInsights.emplace_back(std::forward<ProactiveInsightsT>(value));
61 template <
typename ReactiveInsightsT = Aws::Vector<ReactiveInsightSummary>>
63 m_reactiveInsightsHasBeenSet =
true;
64 m_reactiveInsights = std::forward<ReactiveInsightsT>(value);
66 template <
typename ReactiveInsightsT = Aws::Vector<ReactiveInsightSummary>>
71 template <
typename ReactiveInsightsT = ReactiveInsightSummary>
73 m_reactiveInsightsHasBeenSet =
true;
74 m_reactiveInsights.emplace_back(std::forward<ReactiveInsightsT>(value));
85 template <
typename NextTokenT = Aws::String>
87 m_nextTokenHasBeenSet =
true;
88 m_nextToken = std::forward<NextTokenT>(value);
90 template <
typename NextTokenT = Aws::String>
100 template <
typename RequestIdT = Aws::String>
102 m_requestIdHasBeenSet =
true;
103 m_requestId = std::forward<RequestIdT>(value);
105 template <
typename RequestIdT = Aws::String>
122 bool m_proactiveInsightsHasBeenSet =
false;
123 bool m_reactiveInsightsHasBeenSet =
false;
124 bool m_nextTokenHasBeenSet =
false;
125 bool m_requestIdHasBeenSet =
false;
SearchInsightsResult & AddReactiveInsights(ReactiveInsightsT &&value)
const Aws::Vector< ReactiveInsightSummary > & GetReactiveInsights() const
void SetProactiveInsights(ProactiveInsightsT &&value)
SearchInsightsResult & WithNextToken(NextTokenT &&value)
AWS_DEVOPSGURU_API SearchInsightsResult()=default
void SetNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
AWS_DEVOPSGURU_API SearchInsightsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchInsightsResult & WithProactiveInsights(ProactiveInsightsT &&value)
SearchInsightsResult & WithRequestId(RequestIdT &&value)
AWS_DEVOPSGURU_API SearchInsightsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetReactiveInsights(ReactiveInsightsT &&value)
SearchInsightsResult & WithReactiveInsights(ReactiveInsightsT &&value)
const Aws::Vector< ProactiveInsightSummary > & GetProactiveInsights() const
SearchInsightsResult & AddProactiveInsights(ProactiveInsightsT &&value)
void SetRequestId(RequestIdT &&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