AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnomalousLogGroup.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/devops-guru/model/LogAnomalyShowcase.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DevOpsGuru
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_DEVOPSGURU_API AnomalousLogGroup();
39 AWS_DEVOPSGURU_API AnomalousLogGroup(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; }
49 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
50 inline void SetLogGroupName(const Aws::String& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = value; }
51 inline void SetLogGroupName(Aws::String&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::move(value); }
52 inline void SetLogGroupName(const char* value) { m_logGroupNameHasBeenSet = true; m_logGroupName.assign(value); }
53 inline AnomalousLogGroup& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;}
54 inline AnomalousLogGroup& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;}
55 inline AnomalousLogGroup& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;}
57
59
63 inline const Aws::Utils::DateTime& GetImpactStartTime() const{ return m_impactStartTime; }
64 inline bool ImpactStartTimeHasBeenSet() const { return m_impactStartTimeHasBeenSet; }
65 inline void SetImpactStartTime(const Aws::Utils::DateTime& value) { m_impactStartTimeHasBeenSet = true; m_impactStartTime = value; }
66 inline void SetImpactStartTime(Aws::Utils::DateTime&& value) { m_impactStartTimeHasBeenSet = true; m_impactStartTime = std::move(value); }
68 inline AnomalousLogGroup& WithImpactStartTime(Aws::Utils::DateTime&& value) { SetImpactStartTime(std::move(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetImpactEndTime() const{ return m_impactEndTime; }
76 inline bool ImpactEndTimeHasBeenSet() const { return m_impactEndTimeHasBeenSet; }
77 inline void SetImpactEndTime(const Aws::Utils::DateTime& value) { m_impactEndTimeHasBeenSet = true; m_impactEndTime = value; }
78 inline void SetImpactEndTime(Aws::Utils::DateTime&& value) { m_impactEndTimeHasBeenSet = true; m_impactEndTime = std::move(value); }
79 inline AnomalousLogGroup& WithImpactEndTime(const Aws::Utils::DateTime& value) { SetImpactEndTime(value); return *this;}
80 inline AnomalousLogGroup& WithImpactEndTime(Aws::Utils::DateTime&& value) { SetImpactEndTime(std::move(value)); return *this;}
82
84
87 inline int GetNumberOfLogLinesScanned() const{ return m_numberOfLogLinesScanned; }
88 inline bool NumberOfLogLinesScannedHasBeenSet() const { return m_numberOfLogLinesScannedHasBeenSet; }
89 inline void SetNumberOfLogLinesScanned(int value) { m_numberOfLogLinesScannedHasBeenSet = true; m_numberOfLogLinesScanned = value; }
92
94
98 inline const Aws::Vector<LogAnomalyShowcase>& GetLogAnomalyShowcases() const{ return m_logAnomalyShowcases; }
99 inline bool LogAnomalyShowcasesHasBeenSet() const { return m_logAnomalyShowcasesHasBeenSet; }
100 inline void SetLogAnomalyShowcases(const Aws::Vector<LogAnomalyShowcase>& value) { m_logAnomalyShowcasesHasBeenSet = true; m_logAnomalyShowcases = value; }
101 inline void SetLogAnomalyShowcases(Aws::Vector<LogAnomalyShowcase>&& value) { m_logAnomalyShowcasesHasBeenSet = true; m_logAnomalyShowcases = std::move(value); }
104 inline AnomalousLogGroup& AddLogAnomalyShowcases(const LogAnomalyShowcase& value) { m_logAnomalyShowcasesHasBeenSet = true; m_logAnomalyShowcases.push_back(value); return *this; }
105 inline AnomalousLogGroup& AddLogAnomalyShowcases(LogAnomalyShowcase&& value) { m_logAnomalyShowcasesHasBeenSet = true; m_logAnomalyShowcases.push_back(std::move(value)); return *this; }
107 private:
108
109 Aws::String m_logGroupName;
110 bool m_logGroupNameHasBeenSet = false;
111
112 Aws::Utils::DateTime m_impactStartTime;
113 bool m_impactStartTimeHasBeenSet = false;
114
115 Aws::Utils::DateTime m_impactEndTime;
116 bool m_impactEndTimeHasBeenSet = false;
117
118 int m_numberOfLogLinesScanned;
119 bool m_numberOfLogLinesScannedHasBeenSet = false;
120
121 Aws::Vector<LogAnomalyShowcase> m_logAnomalyShowcases;
122 bool m_logAnomalyShowcasesHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace DevOpsGuru
127} // namespace Aws
AnomalousLogGroup & WithImpactEndTime(const Aws::Utils::DateTime &value)
AnomalousLogGroup & AddLogAnomalyShowcases(const LogAnomalyShowcase &value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
AnomalousLogGroup & WithImpactEndTime(Aws::Utils::DateTime &&value)
AWS_DEVOPSGURU_API AnomalousLogGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
AnomalousLogGroup & WithLogGroupName(const char *value)
AnomalousLogGroup & AddLogAnomalyShowcases(LogAnomalyShowcase &&value)
AnomalousLogGroup & WithLogGroupName(Aws::String &&value)
void SetImpactEndTime(const Aws::Utils::DateTime &value)
void SetLogGroupName(const Aws::String &value)
AnomalousLogGroup & WithNumberOfLogLinesScanned(int value)
void SetImpactStartTime(Aws::Utils::DateTime &&value)
const Aws::Vector< LogAnomalyShowcase > & GetLogAnomalyShowcases() const
AnomalousLogGroup & WithLogGroupName(const Aws::String &value)
AnomalousLogGroup & WithLogAnomalyShowcases(Aws::Vector< LogAnomalyShowcase > &&value)
void SetLogAnomalyShowcases(Aws::Vector< LogAnomalyShowcase > &&value)
void SetImpactEndTime(Aws::Utils::DateTime &&value)
AnomalousLogGroup & WithLogAnomalyShowcases(const Aws::Vector< LogAnomalyShowcase > &value)
void SetLogAnomalyShowcases(const Aws::Vector< LogAnomalyShowcase > &value)
void SetImpactStartTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetImpactEndTime() const
AWS_DEVOPSGURU_API AnomalousLogGroup(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetImpactStartTime() const
AnomalousLogGroup & WithImpactStartTime(const Aws::Utils::DateTime &value)
AnomalousLogGroup & WithImpactStartTime(Aws::Utils::DateTime &&value)
const Aws::String & GetLogGroupName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue