AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 ListInsightsResult& AddProactiveInsights(const ProactiveInsightSummary& value) { m_proactiveInsights.push_back(value); return *this; }
48 inline ListInsightsResult& 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 ListInsightsResult& AddReactiveInsights(const ReactiveInsightSummary& value) { m_reactiveInsights.push_back(value); return *this; }
61 inline ListInsightsResult& 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 ListInsightsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
74 inline ListInsightsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
75 inline ListInsightsResult& 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 ListInsightsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline ListInsightsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline ListInsightsResult& 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
AWS_DEVOPSGURU_API ListInsightsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListInsightsResult & WithProactiveInsights(const Aws::Vector< ProactiveInsightSummary > &value)
void SetNextToken(const Aws::String &value)
ListInsightsResult & WithRequestId(Aws::String &&value)
const Aws::Vector< ReactiveInsightSummary > & GetReactiveInsights() const
ListInsightsResult & AddProactiveInsights(ProactiveInsightSummary &&value)
void SetReactiveInsights(Aws::Vector< ReactiveInsightSummary > &&value)
ListInsightsResult & WithRequestId(const char *value)
const Aws::Vector< ProactiveInsightSummary > & GetProactiveInsights() const
ListInsightsResult & WithNextToken(Aws::String &&value)
ListInsightsResult & WithReactiveInsights(Aws::Vector< ReactiveInsightSummary > &&value)
ListInsightsResult & WithRequestId(const Aws::String &value)
AWS_DEVOPSGURU_API ListInsightsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetProactiveInsights(Aws::Vector< ProactiveInsightSummary > &&value)
ListInsightsResult & AddProactiveInsights(const ProactiveInsightSummary &value)
void SetRequestId(const Aws::String &value)
void SetReactiveInsights(const Aws::Vector< ReactiveInsightSummary > &value)
ListInsightsResult & WithNextToken(const char *value)
void SetProactiveInsights(const Aws::Vector< ProactiveInsightSummary > &value)
ListInsightsResult & WithReactiveInsights(const Aws::Vector< ReactiveInsightSummary > &value)
ListInsightsResult & AddReactiveInsights(const ReactiveInsightSummary &value)
ListInsightsResult & WithProactiveInsights(Aws::Vector< ProactiveInsightSummary > &&value)
ListInsightsResult & WithNextToken(const Aws::String &value)
ListInsightsResult & AddReactiveInsights(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