AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeAnomalyResult.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/devops-guru/model/ProactiveAnomaly.h>
9#include <aws/devops-guru/model/ReactiveAnomaly.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 DescribeAnomalyResult() = default;
35
36
38
42 inline const ProactiveAnomaly& GetProactiveAnomaly() const { return m_proactiveAnomaly; }
43 template<typename ProactiveAnomalyT = ProactiveAnomaly>
44 void SetProactiveAnomaly(ProactiveAnomalyT&& value) { m_proactiveAnomalyHasBeenSet = true; m_proactiveAnomaly = std::forward<ProactiveAnomalyT>(value); }
45 template<typename ProactiveAnomalyT = ProactiveAnomaly>
46 DescribeAnomalyResult& WithProactiveAnomaly(ProactiveAnomalyT&& value) { SetProactiveAnomaly(std::forward<ProactiveAnomalyT>(value)); return *this;}
48
50
54 inline const ReactiveAnomaly& GetReactiveAnomaly() const { return m_reactiveAnomaly; }
55 template<typename ReactiveAnomalyT = ReactiveAnomaly>
56 void SetReactiveAnomaly(ReactiveAnomalyT&& value) { m_reactiveAnomalyHasBeenSet = true; m_reactiveAnomaly = std::forward<ReactiveAnomalyT>(value); }
57 template<typename ReactiveAnomalyT = ReactiveAnomaly>
58 DescribeAnomalyResult& WithReactiveAnomaly(ReactiveAnomalyT&& value) { SetReactiveAnomaly(std::forward<ReactiveAnomalyT>(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 DescribeAnomalyResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
69 private:
70
71 ProactiveAnomaly m_proactiveAnomaly;
72 bool m_proactiveAnomalyHasBeenSet = false;
73
74 ReactiveAnomaly m_reactiveAnomaly;
75 bool m_reactiveAnomalyHasBeenSet = false;
76
77 Aws::String m_requestId;
78 bool m_requestIdHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace DevOpsGuru
83} // namespace Aws
const ProactiveAnomaly & GetProactiveAnomaly() const
AWS_DEVOPSGURU_API DescribeAnomalyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAnomalyResult & WithRequestId(RequestIdT &&value)
AWS_DEVOPSGURU_API DescribeAnomalyResult()=default
DescribeAnomalyResult & WithProactiveAnomaly(ProactiveAnomalyT &&value)
DescribeAnomalyResult & WithReactiveAnomaly(ReactiveAnomalyT &&value)
const ReactiveAnomaly & GetReactiveAnomaly() const
AWS_DEVOPSGURU_API DescribeAnomalyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetProactiveAnomaly(ProactiveAnomalyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue