AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
33 AWS_DEVOPSGURU_API SearchOrganizationInsightsResult() = default;
36
37
39
43 inline const Aws::Vector<ProactiveInsightSummary>& GetProactiveInsights() const { return m_proactiveInsights; }
44 template<typename ProactiveInsightsT = Aws::Vector<ProactiveInsightSummary>>
45 void SetProactiveInsights(ProactiveInsightsT&& value) { m_proactiveInsightsHasBeenSet = true; m_proactiveInsights = std::forward<ProactiveInsightsT>(value); }
46 template<typename ProactiveInsightsT = Aws::Vector<ProactiveInsightSummary>>
47 SearchOrganizationInsightsResult& WithProactiveInsights(ProactiveInsightsT&& value) { SetProactiveInsights(std::forward<ProactiveInsightsT>(value)); return *this;}
48 template<typename ProactiveInsightsT = ProactiveInsightSummary>
49 SearchOrganizationInsightsResult& AddProactiveInsights(ProactiveInsightsT&& value) { m_proactiveInsightsHasBeenSet = true; m_proactiveInsights.emplace_back(std::forward<ProactiveInsightsT>(value)); return *this; }
51
53
57 inline const Aws::Vector<ReactiveInsightSummary>& GetReactiveInsights() const { return m_reactiveInsights; }
58 template<typename ReactiveInsightsT = Aws::Vector<ReactiveInsightSummary>>
59 void SetReactiveInsights(ReactiveInsightsT&& value) { m_reactiveInsightsHasBeenSet = true; m_reactiveInsights = std::forward<ReactiveInsightsT>(value); }
60 template<typename ReactiveInsightsT = Aws::Vector<ReactiveInsightSummary>>
61 SearchOrganizationInsightsResult& WithReactiveInsights(ReactiveInsightsT&& value) { SetReactiveInsights(std::forward<ReactiveInsightsT>(value)); return *this;}
62 template<typename ReactiveInsightsT = ReactiveInsightSummary>
63 SearchOrganizationInsightsResult& AddReactiveInsights(ReactiveInsightsT&& value) { m_reactiveInsightsHasBeenSet = true; m_reactiveInsights.emplace_back(std::forward<ReactiveInsightsT>(value)); return *this; }
65
67
71 inline const Aws::String& GetNextToken() const { return m_nextToken; }
72 template<typename NextTokenT = Aws::String>
73 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
74 template<typename NextTokenT = Aws::String>
75 SearchOrganizationInsightsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const { return m_requestId; }
81 template<typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
83 template<typename RequestIdT = Aws::String>
84 SearchOrganizationInsightsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
86 private:
87
88 Aws::Vector<ProactiveInsightSummary> m_proactiveInsights;
89 bool m_proactiveInsightsHasBeenSet = false;
90
91 Aws::Vector<ReactiveInsightSummary> m_reactiveInsights;
92 bool m_reactiveInsightsHasBeenSet = false;
93
94 Aws::String m_nextToken;
95 bool m_nextTokenHasBeenSet = false;
96
97 Aws::String m_requestId;
98 bool m_requestIdHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace DevOpsGuru
103} // 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