AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchOrganizationInsightsResult.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:
36
37
39
43 inline const Aws::Vector<ProactiveInsightSummary>& GetProactiveInsights() const{ return m_proactiveInsights; }
44 inline void SetProactiveInsights(const Aws::Vector<ProactiveInsightSummary>& value) { m_proactiveInsights = value; }
45 inline void SetProactiveInsights(Aws::Vector<ProactiveInsightSummary>&& value) { m_proactiveInsights = std::move(value); }
48 inline SearchOrganizationInsightsResult& AddProactiveInsights(const ProactiveInsightSummary& value) { m_proactiveInsights.push_back(value); return *this; }
49 inline SearchOrganizationInsightsResult& AddProactiveInsights(ProactiveInsightSummary&& value) { m_proactiveInsights.push_back(std::move(value)); return *this; }
51
53
57 inline const Aws::Vector<ReactiveInsightSummary>& GetReactiveInsights() const{ return m_reactiveInsights; }
58 inline void SetReactiveInsights(const Aws::Vector<ReactiveInsightSummary>& value) { m_reactiveInsights = value; }
59 inline void SetReactiveInsights(Aws::Vector<ReactiveInsightSummary>&& value) { m_reactiveInsights = std::move(value); }
62 inline SearchOrganizationInsightsResult& AddReactiveInsights(const ReactiveInsightSummary& value) { m_reactiveInsights.push_back(value); return *this; }
63 inline SearchOrganizationInsightsResult& AddReactiveInsights(ReactiveInsightSummary&& value) { m_reactiveInsights.push_back(std::move(value)); return *this; }
65
67
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
73 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
74 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
75 inline SearchOrganizationInsightsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
76 inline SearchOrganizationInsightsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
77 inline SearchOrganizationInsightsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const{ return m_requestId; }
83 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
84 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
85 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
86 inline SearchOrganizationInsightsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
87 inline SearchOrganizationInsightsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
88 inline SearchOrganizationInsightsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
90 private:
91
92 Aws::Vector<ProactiveInsightSummary> m_proactiveInsights;
93
94 Aws::Vector<ReactiveInsightSummary> m_reactiveInsights;
95
96 Aws::String m_nextToken;
97
98 Aws::String m_requestId;
99 };
100
101} // namespace Model
102} // namespace DevOpsGuru
103} // namespace Aws
SearchOrganizationInsightsResult & AddReactiveInsights(const ReactiveInsightSummary &value)
SearchOrganizationInsightsResult & AddReactiveInsights(ReactiveInsightSummary &&value)
SearchOrganizationInsightsResult & WithReactiveInsights(const Aws::Vector< ReactiveInsightSummary > &value)
SearchOrganizationInsightsResult & WithNextToken(Aws::String &&value)
SearchOrganizationInsightsResult & WithRequestId(const Aws::String &value)
void SetProactiveInsights(Aws::Vector< ProactiveInsightSummary > &&value)
SearchOrganizationInsightsResult & AddProactiveInsights(ProactiveInsightSummary &&value)
void SetProactiveInsights(const Aws::Vector< ProactiveInsightSummary > &value)
SearchOrganizationInsightsResult & WithProactiveInsights(Aws::Vector< ProactiveInsightSummary > &&value)
void SetReactiveInsights(Aws::Vector< ReactiveInsightSummary > &&value)
const Aws::Vector< ProactiveInsightSummary > & GetProactiveInsights() const
SearchOrganizationInsightsResult & WithProactiveInsights(const Aws::Vector< ProactiveInsightSummary > &value)
SearchOrganizationInsightsResult & WithRequestId(const char *value)
SearchOrganizationInsightsResult & WithNextToken(const Aws::String &value)
SearchOrganizationInsightsResult & WithReactiveInsights(Aws::Vector< ReactiveInsightSummary > &&value)
AWS_DEVOPSGURU_API SearchOrganizationInsightsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchOrganizationInsightsResult & WithRequestId(Aws::String &&value)
SearchOrganizationInsightsResult & AddProactiveInsights(const ProactiveInsightSummary &value)
AWS_DEVOPSGURU_API SearchOrganizationInsightsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetReactiveInsights(const Aws::Vector< ReactiveInsightSummary > &value)
SearchOrganizationInsightsResult & WithNextToken(const char *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