AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HighestSeverityThreatDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GuardDuty
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GUARDDUTY_API HighestSeverityThreatDetails();
38 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetSeverity() const{ return m_severity; }
46 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
47 inline void SetSeverity(const Aws::String& value) { m_severityHasBeenSet = true; m_severity = value; }
48 inline void SetSeverity(Aws::String&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
49 inline void SetSeverity(const char* value) { m_severityHasBeenSet = true; m_severity.assign(value); }
50 inline HighestSeverityThreatDetails& WithSeverity(const Aws::String& value) { SetSeverity(value); return *this;}
51 inline HighestSeverityThreatDetails& WithSeverity(Aws::String&& value) { SetSeverity(std::move(value)); return *this;}
52 inline HighestSeverityThreatDetails& WithSeverity(const char* value) { SetSeverity(value); return *this;}
54
56
60 inline const Aws::String& GetThreatName() const{ return m_threatName; }
61 inline bool ThreatNameHasBeenSet() const { return m_threatNameHasBeenSet; }
62 inline void SetThreatName(const Aws::String& value) { m_threatNameHasBeenSet = true; m_threatName = value; }
63 inline void SetThreatName(Aws::String&& value) { m_threatNameHasBeenSet = true; m_threatName = std::move(value); }
64 inline void SetThreatName(const char* value) { m_threatNameHasBeenSet = true; m_threatName.assign(value); }
65 inline HighestSeverityThreatDetails& WithThreatName(const Aws::String& value) { SetThreatName(value); return *this;}
66 inline HighestSeverityThreatDetails& WithThreatName(Aws::String&& value) { SetThreatName(std::move(value)); return *this;}
67 inline HighestSeverityThreatDetails& WithThreatName(const char* value) { SetThreatName(value); return *this;}
69
71
74 inline int GetCount() const{ return m_count; }
75 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
76 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
77 inline HighestSeverityThreatDetails& WithCount(int value) { SetCount(value); return *this;}
79 private:
80
81 Aws::String m_severity;
82 bool m_severityHasBeenSet = false;
83
84 Aws::String m_threatName;
85 bool m_threatNameHasBeenSet = false;
86
87 int m_count;
88 bool m_countHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace GuardDuty
93} // namespace Aws
HighestSeverityThreatDetails & WithThreatName(const Aws::String &value)
AWS_GUARDDUTY_API HighestSeverityThreatDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
HighestSeverityThreatDetails & WithSeverity(const char *value)
HighestSeverityThreatDetails & WithSeverity(Aws::String &&value)
AWS_GUARDDUTY_API HighestSeverityThreatDetails(Aws::Utils::Json::JsonView jsonValue)
HighestSeverityThreatDetails & WithSeverity(const Aws::String &value)
HighestSeverityThreatDetails & WithThreatName(const char *value)
HighestSeverityThreatDetails & WithThreatName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue