AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
42 inline const ProactiveAnomaly& GetProactiveAnomaly() const{ return m_proactiveAnomaly; }
43 inline void SetProactiveAnomaly(const ProactiveAnomaly& value) { m_proactiveAnomaly = value; }
44 inline void SetProactiveAnomaly(ProactiveAnomaly&& value) { m_proactiveAnomaly = std::move(value); }
46 inline DescribeAnomalyResult& WithProactiveAnomaly(ProactiveAnomaly&& value) { SetProactiveAnomaly(std::move(value)); return *this;}
48
50
54 inline const ReactiveAnomaly& GetReactiveAnomaly() const{ return m_reactiveAnomaly; }
55 inline void SetReactiveAnomaly(const ReactiveAnomaly& value) { m_reactiveAnomaly = value; }
56 inline void SetReactiveAnomaly(ReactiveAnomaly&& value) { m_reactiveAnomaly = std::move(value); }
57 inline DescribeAnomalyResult& WithReactiveAnomaly(const ReactiveAnomaly& value) { SetReactiveAnomaly(value); return *this;}
58 inline DescribeAnomalyResult& WithReactiveAnomaly(ReactiveAnomaly&& value) { SetReactiveAnomaly(std::move(value)); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline DescribeAnomalyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline DescribeAnomalyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline DescribeAnomalyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 ProactiveAnomaly m_proactiveAnomaly;
74
75 ReactiveAnomaly m_reactiveAnomaly;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace DevOpsGuru
82} // namespace Aws
const ProactiveAnomaly & GetProactiveAnomaly() const
AWS_DEVOPSGURU_API DescribeAnomalyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAnomalyResult & WithReactiveAnomaly(ReactiveAnomaly &&value)
DescribeAnomalyResult & WithRequestId(const char *value)
DescribeAnomalyResult & WithRequestId(const Aws::String &value)
void SetProactiveAnomaly(const ProactiveAnomaly &value)
DescribeAnomalyResult & WithReactiveAnomaly(const ReactiveAnomaly &value)
void SetReactiveAnomaly(const ReactiveAnomaly &value)
DescribeAnomalyResult & WithProactiveAnomaly(ProactiveAnomaly &&value)
const ReactiveAnomaly & GetReactiveAnomaly() const
AWS_DEVOPSGURU_API DescribeAnomalyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAnomalyResult & WithProactiveAnomaly(const ProactiveAnomaly &value)
DescribeAnomalyResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue