AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
SearchOrganizationInsightsResult.h
1
6#pragma once
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>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DevOpsGuru {
26namespace Model {
28 public:
29 AWS_DEVOPSGURU_API SearchOrganizationInsightsResult() = default;
32
34
38 inline const Aws::Vector<ProactiveInsightSummary>& GetProactiveInsights() const { return m_proactiveInsights; }
39 template <typename ProactiveInsightsT = Aws::Vector<ProactiveInsightSummary>>
40 void SetProactiveInsights(ProactiveInsightsT&& value) {
41 m_proactiveInsightsHasBeenSet = true;
42 m_proactiveInsights = std::forward<ProactiveInsightsT>(value);
43 }
44 template <typename ProactiveInsightsT = Aws::Vector<ProactiveInsightSummary>>
46 SetProactiveInsights(std::forward<ProactiveInsightsT>(value));
47 return *this;
48 }
49 template <typename ProactiveInsightsT = ProactiveInsightSummary>
51 m_proactiveInsightsHasBeenSet = true;
52 m_proactiveInsights.emplace_back(std::forward<ProactiveInsightsT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::Vector<ReactiveInsightSummary>& GetReactiveInsights() const { return m_reactiveInsights; }
63 template <typename ReactiveInsightsT = Aws::Vector<ReactiveInsightSummary>>
64 void SetReactiveInsights(ReactiveInsightsT&& value) {
65 m_reactiveInsightsHasBeenSet = true;
66 m_reactiveInsights = std::forward<ReactiveInsightsT>(value);
67 }
68 template <typename ReactiveInsightsT = Aws::Vector<ReactiveInsightSummary>>
70 SetReactiveInsights(std::forward<ReactiveInsightsT>(value));
71 return *this;
72 }
73 template <typename ReactiveInsightsT = ReactiveInsightSummary>
75 m_reactiveInsightsHasBeenSet = true;
76 m_reactiveInsights.emplace_back(std::forward<ReactiveInsightsT>(value));
77 return *this;
78 }
80
82
86 inline const Aws::String& GetNextToken() const { return m_nextToken; }
87 template <typename NextTokenT = Aws::String>
88 void SetNextToken(NextTokenT&& value) {
89 m_nextTokenHasBeenSet = true;
90 m_nextToken = std::forward<NextTokenT>(value);
91 }
92 template <typename NextTokenT = Aws::String>
94 SetNextToken(std::forward<NextTokenT>(value));
95 return *this;
96 }
98
100
101 inline const Aws::String& GetRequestId() const { return m_requestId; }
102 template <typename RequestIdT = Aws::String>
103 void SetRequestId(RequestIdT&& value) {
104 m_requestIdHasBeenSet = true;
105 m_requestId = std::forward<RequestIdT>(value);
106 }
107 template <typename RequestIdT = Aws::String>
109 SetRequestId(std::forward<RequestIdT>(value));
110 return *this;
111 }
113 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
114
115 private:
116 Aws::Vector<ProactiveInsightSummary> m_proactiveInsights;
117
118 Aws::Vector<ReactiveInsightSummary> m_reactiveInsights;
119
120 Aws::String m_nextToken;
121
122 Aws::String m_requestId;
123 Aws::Http::HttpResponseCode m_HttpResponseCode;
124 bool m_proactiveInsightsHasBeenSet = false;
125 bool m_reactiveInsightsHasBeenSet = false;
126 bool m_nextTokenHasBeenSet = false;
127 bool m_requestIdHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace DevOpsGuru
132} // namespace Aws
SearchOrganizationInsightsResult & WithProactiveInsights(ProactiveInsightsT &&value)
SearchOrganizationInsightsResult & WithNextToken(NextTokenT &&value)
SearchOrganizationInsightsResult & AddReactiveInsights(ReactiveInsightsT &&value)
AWS_DEVOPSGURU_API SearchOrganizationInsightsResult()=default
const Aws::Vector< ProactiveInsightSummary > & GetProactiveInsights() const
SearchOrganizationInsightsResult & WithRequestId(RequestIdT &&value)
AWS_DEVOPSGURU_API SearchOrganizationInsightsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchOrganizationInsightsResult & AddProactiveInsights(ProactiveInsightsT &&value)
AWS_DEVOPSGURU_API SearchOrganizationInsightsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchOrganizationInsightsResult & WithReactiveInsights(ReactiveInsightsT &&value)
const Aws::Vector< ReactiveInsightSummary > & GetReactiveInsights() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue