AWS SDK for C++

AWS SDK for C++ Version 1.11.939

Loading...
Searching...
No Matches
Enrichment.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 Enrichment() = default;
31 AWS_GUARDDUTY_API Enrichment(Aws::Utils::Json::JsonView jsonValue);
32 AWS_GUARDDUTY_API Enrichment& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetCountryName() const { return m_countryName; }
40 inline bool CountryNameHasBeenSet() const { return m_countryNameHasBeenSet; }
41 template <typename CountryNameT = Aws::String>
42 void SetCountryName(CountryNameT&& value) {
43 m_countryNameHasBeenSet = true;
44 m_countryName = std::forward<CountryNameT>(value);
45 }
46 template <typename CountryNameT = Aws::String>
47 Enrichment& WithCountryName(CountryNameT&& value) {
48 SetCountryName(std::forward<CountryNameT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetAsnOrg() const { return m_asnOrg; }
59 inline bool AsnOrgHasBeenSet() const { return m_asnOrgHasBeenSet; }
60 template <typename AsnOrgT = Aws::String>
61 void SetAsnOrg(AsnOrgT&& value) {
62 m_asnOrgHasBeenSet = true;
63 m_asnOrg = std::forward<AsnOrgT>(value);
64 }
65 template <typename AsnOrgT = Aws::String>
66 Enrichment& WithAsnOrg(AsnOrgT&& value) {
67 SetAsnOrg(std::forward<AsnOrgT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetThreatListName() const { return m_threatListName; }
77 inline bool ThreatListNameHasBeenSet() const { return m_threatListNameHasBeenSet; }
78 template <typename ThreatListNameT = Aws::String>
79 void SetThreatListName(ThreatListNameT&& value) {
80 m_threatListNameHasBeenSet = true;
81 m_threatListName = std::forward<ThreatListNameT>(value);
82 }
83 template <typename ThreatListNameT = Aws::String>
84 Enrichment& WithThreatListName(ThreatListNameT&& value) {
85 SetThreatListName(std::forward<ThreatListNameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetThreatName() const { return m_threatName; }
95 inline bool ThreatNameHasBeenSet() const { return m_threatNameHasBeenSet; }
96 template <typename ThreatNameT = Aws::String>
97 void SetThreatName(ThreatNameT&& value) {
98 m_threatNameHasBeenSet = true;
99 m_threatName = std::forward<ThreatNameT>(value);
100 }
101 template <typename ThreatNameT = Aws::String>
102 Enrichment& WithThreatName(ThreatNameT&& value) {
103 SetThreatName(std::forward<ThreatNameT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_countryName;
109
110 Aws::String m_asnOrg;
111
112 Aws::String m_threatListName;
113
114 Aws::String m_threatName;
115 bool m_countryNameHasBeenSet = false;
116 bool m_asnOrgHasBeenSet = false;
117 bool m_threatListNameHasBeenSet = false;
118 bool m_threatNameHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace GuardDuty
123} // namespace Aws
Enrichment & WithThreatName(ThreatNameT &&value)
Definition Enrichment.h:102
Enrichment & WithAsnOrg(AsnOrgT &&value)
Definition Enrichment.h:66
const Aws::String & GetThreatName() const
Definition Enrichment.h:94
AWS_GUARDDUTY_API Enrichment & operator=(Aws::Utils::Json::JsonView jsonValue)
Enrichment & WithThreatListName(ThreatListNameT &&value)
Definition Enrichment.h:84
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAsnOrg() const
Definition Enrichment.h:58
AWS_GUARDDUTY_API Enrichment(Aws::Utils::Json::JsonView jsonValue)
void SetThreatListName(ThreatListNameT &&value)
Definition Enrichment.h:79
const Aws::String & GetThreatListName() const
Definition Enrichment.h:76
void SetCountryName(CountryNameT &&value)
Definition Enrichment.h:42
AWS_GUARDDUTY_API Enrichment()=default
void SetThreatName(ThreatNameT &&value)
Definition Enrichment.h:97
const Aws::String & GetCountryName() const
Definition Enrichment.h:39
void SetAsnOrg(AsnOrgT &&value)
Definition Enrichment.h:61
Enrichment & WithCountryName(CountryNameT &&value)
Definition Enrichment.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue