AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeInsightResult.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/devops-guru/model/ProactiveInsight.h>
9#include <aws/devops-guru/model/ReactiveInsight.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DevOpsGuru
26{
27namespace Model
28{
30 {
31 public:
32 AWS_DEVOPSGURU_API DescribeInsightResult() = default;
35
36
38
42 inline const ProactiveInsight& GetProactiveInsight() const { return m_proactiveInsight; }
43 template<typename ProactiveInsightT = ProactiveInsight>
44 void SetProactiveInsight(ProactiveInsightT&& value) { m_proactiveInsightHasBeenSet = true; m_proactiveInsight = std::forward<ProactiveInsightT>(value); }
45 template<typename ProactiveInsightT = ProactiveInsight>
46 DescribeInsightResult& WithProactiveInsight(ProactiveInsightT&& value) { SetProactiveInsight(std::forward<ProactiveInsightT>(value)); return *this;}
48
50
54 inline const ReactiveInsight& GetReactiveInsight() const { return m_reactiveInsight; }
55 template<typename ReactiveInsightT = ReactiveInsight>
56 void SetReactiveInsight(ReactiveInsightT&& value) { m_reactiveInsightHasBeenSet = true; m_reactiveInsight = std::forward<ReactiveInsightT>(value); }
57 template<typename ReactiveInsightT = ReactiveInsight>
58 DescribeInsightResult& WithReactiveInsight(ReactiveInsightT&& value) { SetReactiveInsight(std::forward<ReactiveInsightT>(value)); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 template<typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
66 template<typename RequestIdT = Aws::String>
67 DescribeInsightResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
69 private:
70
71 ProactiveInsight m_proactiveInsight;
72 bool m_proactiveInsightHasBeenSet = false;
73
74 ReactiveInsight m_reactiveInsight;
75 bool m_reactiveInsightHasBeenSet = false;
76
77 Aws::String m_requestId;
78 bool m_requestIdHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace DevOpsGuru
83} // 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