7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devops-guru/model/ProactiveInsightSummary.h>
11#include <aws/devops-guru/model/ReactiveInsightSummary.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename ProactiveInsightsT = Aws::Vector<ProactiveInsightSummary>>
44 void SetProactiveInsights(ProactiveInsightsT&& value) { m_proactiveInsightsHasBeenSet =
true; m_proactiveInsights = std::forward<ProactiveInsightsT>(value); }
45 template<
typename ProactiveInsightsT = Aws::Vector<ProactiveInsightSummary>>
47 template<
typename ProactiveInsightsT = ProactiveInsightSummary>
48 ListInsightsResult&
AddProactiveInsights(ProactiveInsightsT&& value) { m_proactiveInsightsHasBeenSet =
true; m_proactiveInsights.emplace_back(std::forward<ProactiveInsightsT>(value));
return *
this; }
56 template<
typename ReactiveInsightsT = Aws::Vector<ReactiveInsightSummary>>
57 void SetReactiveInsights(ReactiveInsightsT&& value) { m_reactiveInsightsHasBeenSet =
true; m_reactiveInsights = std::forward<ReactiveInsightsT>(value); }
58 template<
typename ReactiveInsightsT = Aws::Vector<ReactiveInsightSummary>>
60 template<
typename ReactiveInsightsT = ReactiveInsightSummary>
61 ListInsightsResult&
AddReactiveInsights(ReactiveInsightsT&& value) { m_reactiveInsightsHasBeenSet =
true; m_reactiveInsights.emplace_back(std::forward<ReactiveInsightsT>(value));
return *
this; }
70 template<
typename NextTokenT = Aws::String>
71 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
72 template<
typename NextTokenT = Aws::String>
79 template<
typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
81 template<
typename RequestIdT = Aws::String>
87 bool m_proactiveInsightsHasBeenSet =
false;
90 bool m_reactiveInsightsHasBeenSet =
false;
93 bool m_nextTokenHasBeenSet =
false;
96 bool m_requestIdHasBeenSet =
false;
AWS_DEVOPSGURU_API ListInsightsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetProactiveInsights(ProactiveInsightsT &&value)
ListInsightsResult & WithNextToken(NextTokenT &&value)
const Aws::String & GetRequestId() const
const Aws::Vector< ReactiveInsightSummary > & GetReactiveInsights() const
AWS_DEVOPSGURU_API ListInsightsResult()=default
void SetRequestId(RequestIdT &&value)
ListInsightsResult & AddProactiveInsights(ProactiveInsightsT &&value)
ListInsightsResult & AddReactiveInsights(ReactiveInsightsT &&value)
const Aws::Vector< ProactiveInsightSummary > & GetProactiveInsights() const
void SetReactiveInsights(ReactiveInsightsT &&value)
AWS_DEVOPSGURU_API ListInsightsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListInsightsResult & WithReactiveInsights(ReactiveInsightsT &&value)
const Aws::String & GetNextToken() const
void SetNextToken(NextTokenT &&value)
ListInsightsResult & WithRequestId(RequestIdT &&value)
ListInsightsResult & WithProactiveInsights(ProactiveInsightsT &&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