AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DescribeInsightResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
9#include <aws/devops-guru/model/ProactiveInsight.h>
10#include <aws/devops-guru/model/ReactiveInsight.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace DevOpsGuru {
24namespace Model {
26 public:
27 AWS_DEVOPSGURU_API DescribeInsightResult() = default;
30
32
36 inline const ProactiveInsight& GetProactiveInsight() const { return m_proactiveInsight; }
37 template <typename ProactiveInsightT = ProactiveInsight>
38 void SetProactiveInsight(ProactiveInsightT&& value) {
39 m_proactiveInsightHasBeenSet = true;
40 m_proactiveInsight = std::forward<ProactiveInsightT>(value);
41 }
42 template <typename ProactiveInsightT = ProactiveInsight>
43 DescribeInsightResult& WithProactiveInsight(ProactiveInsightT&& value) {
44 SetProactiveInsight(std::forward<ProactiveInsightT>(value));
45 return *this;
46 }
48
50
54 inline const ReactiveInsight& GetReactiveInsight() const { return m_reactiveInsight; }
55 template <typename ReactiveInsightT = ReactiveInsight>
56 void SetReactiveInsight(ReactiveInsightT&& value) {
57 m_reactiveInsightHasBeenSet = true;
58 m_reactiveInsight = std::forward<ReactiveInsightT>(value);
59 }
60 template <typename ReactiveInsightT = ReactiveInsight>
61 DescribeInsightResult& WithReactiveInsight(ReactiveInsightT&& value) {
62 SetReactiveInsight(std::forward<ReactiveInsightT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template <typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) {
72 m_requestIdHasBeenSet = true;
73 m_requestId = std::forward<RequestIdT>(value);
74 }
75 template <typename RequestIdT = Aws::String>
76 DescribeInsightResult& WithRequestId(RequestIdT&& value) {
77 SetRequestId(std::forward<RequestIdT>(value));
78 return *this;
79 }
81 private:
82 ProactiveInsight m_proactiveInsight;
83 bool m_proactiveInsightHasBeenSet = false;
84
85 ReactiveInsight m_reactiveInsight;
86 bool m_reactiveInsightHasBeenSet = false;
87
88 Aws::String m_requestId;
89 bool m_requestIdHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace DevOpsGuru
94} // namespace Aws
const ReactiveInsight & GetReactiveInsight() const
void SetProactiveInsight(ProactiveInsightT &&value)
DescribeInsightResult & WithRequestId(RequestIdT &&value)
AWS_DEVOPSGURU_API DescribeInsightResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DEVOPSGURU_API DescribeInsightResult()=default
const ProactiveInsight & GetProactiveInsight() const
DescribeInsightResult & WithProactiveInsight(ProactiveInsightT &&value)
AWS_DEVOPSGURU_API DescribeInsightResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInsightResult & WithReactiveInsight(ReactiveInsightT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue