AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LogAnomalyShowcase.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/devops-guru/model/LogAnomalyClass.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DevOpsGuru
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DEVOPSGURU_API LogAnomalyShowcase();
37 AWS_DEVOPSGURU_API LogAnomalyShowcase(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<LogAnomalyClass>& GetLogAnomalyClasses() const{ return m_logAnomalyClasses; }
47 inline bool LogAnomalyClassesHasBeenSet() const { return m_logAnomalyClassesHasBeenSet; }
48 inline void SetLogAnomalyClasses(const Aws::Vector<LogAnomalyClass>& value) { m_logAnomalyClassesHasBeenSet = true; m_logAnomalyClasses = value; }
49 inline void SetLogAnomalyClasses(Aws::Vector<LogAnomalyClass>&& value) { m_logAnomalyClassesHasBeenSet = true; m_logAnomalyClasses = std::move(value); }
52 inline LogAnomalyShowcase& AddLogAnomalyClasses(const LogAnomalyClass& value) { m_logAnomalyClassesHasBeenSet = true; m_logAnomalyClasses.push_back(value); return *this; }
53 inline LogAnomalyShowcase& AddLogAnomalyClasses(LogAnomalyClass&& value) { m_logAnomalyClassesHasBeenSet = true; m_logAnomalyClasses.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<LogAnomalyClass> m_logAnomalyClasses;
58 bool m_logAnomalyClassesHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace DevOpsGuru
63} // namespace Aws
LogAnomalyShowcase & AddLogAnomalyClasses(const LogAnomalyClass &value)
LogAnomalyShowcase & WithLogAnomalyClasses(const Aws::Vector< LogAnomalyClass > &value)
LogAnomalyShowcase & WithLogAnomalyClasses(Aws::Vector< LogAnomalyClass > &&value)
const Aws::Vector< LogAnomalyClass > & GetLogAnomalyClasses() const
AWS_DEVOPSGURU_API LogAnomalyShowcase(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLogAnomalyClasses(const Aws::Vector< LogAnomalyClass > &value)
LogAnomalyShowcase & AddLogAnomalyClasses(LogAnomalyClass &&value)
void SetLogAnomalyClasses(Aws::Vector< LogAnomalyClass > &&value)
AWS_DEVOPSGURU_API LogAnomalyShowcase & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue