AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
HighestSeverityThreatDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GuardDuty {
20namespace Model {
21
29 public:
30 AWS_GUARDDUTY_API HighestSeverityThreatDetails() = default;
33 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetSeverity() const { return m_severity; }
40 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
41 template <typename SeverityT = Aws::String>
42 void SetSeverity(SeverityT&& value) {
43 m_severityHasBeenSet = true;
44 m_severity = std::forward<SeverityT>(value);
45 }
46 template <typename SeverityT = Aws::String>
48 SetSeverity(std::forward<SeverityT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetThreatName() const { return m_threatName; }
59 inline bool ThreatNameHasBeenSet() const { return m_threatNameHasBeenSet; }
60 template <typename ThreatNameT = Aws::String>
61 void SetThreatName(ThreatNameT&& value) {
62 m_threatNameHasBeenSet = true;
63 m_threatName = std::forward<ThreatNameT>(value);
64 }
65 template <typename ThreatNameT = Aws::String>
67 SetThreatName(std::forward<ThreatNameT>(value));
68 return *this;
69 }
71
73
76 inline int GetCount() const { return m_count; }
77 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
78 inline void SetCount(int value) {
79 m_countHasBeenSet = true;
80 m_count = value;
81 }
83 SetCount(value);
84 return *this;
85 }
87 private:
88 Aws::String m_severity;
89
90 Aws::String m_threatName;
91
92 int m_count{0};
93 bool m_severityHasBeenSet = false;
94 bool m_threatNameHasBeenSet = false;
95 bool m_countHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace GuardDuty
100} // namespace Aws
AWS_GUARDDUTY_API HighestSeverityThreatDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
HighestSeverityThreatDetails & WithThreatName(ThreatNameT &&value)
AWS_GUARDDUTY_API HighestSeverityThreatDetails(Aws::Utils::Json::JsonView jsonValue)
HighestSeverityThreatDetails & WithSeverity(SeverityT &&value)
AWS_GUARDDUTY_API HighestSeverityThreatDetails()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue