AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListInsightsResult.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DevOpsGuru
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DEVOPSGURU_API ListInsightsResult() = default;
36
37
39
42 inline const Aws::Vector<ProactiveInsightSummary>& GetProactiveInsights() const { return m_proactiveInsights; }
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>>
46 ListInsightsResult& WithProactiveInsights(ProactiveInsightsT&& value) { SetProactiveInsights(std::forward<ProactiveInsightsT>(value)); return *this;}
47 template<typename ProactiveInsightsT = ProactiveInsightSummary>
48 ListInsightsResult& AddProactiveInsights(ProactiveInsightsT&& value) { m_proactiveInsightsHasBeenSet = true; m_proactiveInsights.emplace_back(std::forward<ProactiveInsightsT>(value)); return *this; }
50
52
55 inline const Aws::Vector<ReactiveInsightSummary>& GetReactiveInsights() const { return m_reactiveInsights; }
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>>
59 ListInsightsResult& WithReactiveInsights(ReactiveInsightsT&& value) { SetReactiveInsights(std::forward<ReactiveInsightsT>(value)); return *this;}
60 template<typename ReactiveInsightsT = ReactiveInsightSummary>
61 ListInsightsResult& AddReactiveInsights(ReactiveInsightsT&& value) { m_reactiveInsightsHasBeenSet = true; m_reactiveInsights.emplace_back(std::forward<ReactiveInsightsT>(value)); return *this; }
63
65
69 inline const Aws::String& GetNextToken() const { return m_nextToken; }
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>
73 ListInsightsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
82 ListInsightsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
84 private:
85
86 Aws::Vector<ProactiveInsightSummary> m_proactiveInsights;
87 bool m_proactiveInsightsHasBeenSet = false;
88
89 Aws::Vector<ReactiveInsightSummary> m_reactiveInsights;
90 bool m_reactiveInsightsHasBeenSet = false;
91
92 Aws::String m_nextToken;
93 bool m_nextTokenHasBeenSet = false;
94
95 Aws::String m_requestId;
96 bool m_requestIdHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace DevOpsGuru
101} // namespace Aws
AWS_DEVOPSGURU_API ListInsightsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetProactiveInsights(ProactiveInsightsT &&value)
ListInsightsResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< ReactiveInsightSummary > & GetReactiveInsights() const
AWS_DEVOPSGURU_API ListInsightsResult()=default
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)
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