AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchInsightsResult.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 SearchInsightsResult();
36
37
39
42 inline const Aws::Vector<ProactiveInsightSummary>& GetProactiveInsights() const{ return m_proactiveInsights; }
43 inline void SetProactiveInsights(const Aws::Vector<ProactiveInsightSummary>& value) { m_proactiveInsights = value; }
44 inline void SetProactiveInsights(Aws::Vector<ProactiveInsightSummary>&& value) { m_proactiveInsights = std::move(value); }
47 inline SearchInsightsResult& AddProactiveInsights(const ProactiveInsightSummary& value) { m_proactiveInsights.push_back(value); return *this; }
48 inline SearchInsightsResult& AddProactiveInsights(ProactiveInsightSummary&& value) { m_proactiveInsights.push_back(std::move(value)); return *this; }
50
52
55 inline const Aws::Vector<ReactiveInsightSummary>& GetReactiveInsights() const{ return m_reactiveInsights; }
56 inline void SetReactiveInsights(const Aws::Vector<ReactiveInsightSummary>& value) { m_reactiveInsights = value; }
57 inline void SetReactiveInsights(Aws::Vector<ReactiveInsightSummary>&& value) { m_reactiveInsights = std::move(value); }
60 inline SearchInsightsResult& AddReactiveInsights(const ReactiveInsightSummary& value) { m_reactiveInsights.push_back(value); return *this; }
61 inline SearchInsightsResult& AddReactiveInsights(ReactiveInsightSummary&& value) { m_reactiveInsights.push_back(std::move(value)); return *this; }
63
65
69 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
70 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
71 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
72 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
73 inline SearchInsightsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
74 inline SearchInsightsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
75 inline SearchInsightsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline SearchInsightsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline SearchInsightsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline SearchInsightsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
90 Aws::Vector<ProactiveInsightSummary> m_proactiveInsights;
91
92 Aws::Vector<ReactiveInsightSummary> m_reactiveInsights;
93
94 Aws::String m_nextToken;
95
96 Aws::String m_requestId;
97 };
98
99} // namespace Model
100} // namespace DevOpsGuru
101} // namespace Aws
const Aws::Vector< ReactiveInsightSummary > & GetReactiveInsights() const
SearchInsightsResult & WithProactiveInsights(const Aws::Vector< ProactiveInsightSummary > &value)
SearchInsightsResult & WithRequestId(const Aws::String &value)
SearchInsightsResult & AddReactiveInsights(const ReactiveInsightSummary &value)
void SetProactiveInsights(const Aws::Vector< ProactiveInsightSummary > &value)
SearchInsightsResult & WithProactiveInsights(Aws::Vector< ProactiveInsightSummary > &&value)
AWS_DEVOPSGURU_API SearchInsightsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchInsightsResult & WithNextToken(const Aws::String &value)
void SetReactiveInsights(Aws::Vector< ReactiveInsightSummary > &&value)
void SetProactiveInsights(Aws::Vector< ProactiveInsightSummary > &&value)
SearchInsightsResult & WithRequestId(Aws::String &&value)
AWS_DEVOPSGURU_API SearchInsightsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchInsightsResult & AddProactiveInsights(ProactiveInsightSummary &&value)
SearchInsightsResult & AddReactiveInsights(ReactiveInsightSummary &&value)
SearchInsightsResult & WithRequestId(const char *value)
SearchInsightsResult & WithNextToken(Aws::String &&value)
SearchInsightsResult & WithNextToken(const char *value)
SearchInsightsResult & AddProactiveInsights(const ProactiveInsightSummary &value)
const Aws::Vector< ProactiveInsightSummary > & GetProactiveInsights() const
void SetReactiveInsights(const Aws::Vector< ReactiveInsightSummary > &value)
SearchInsightsResult & WithReactiveInsights(const Aws::Vector< ReactiveInsightSummary > &value)
SearchInsightsResult & WithReactiveInsights(Aws::Vector< ReactiveInsightSummary > &&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