AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
VulnerabilityVendor.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
28 public:
29 AWS_SECURITYHUB_API VulnerabilityVendor() = default;
30 AWS_SECURITYHUB_API VulnerabilityVendor(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
46 VulnerabilityVendor& WithName(NameT&& value) {
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetUrl() const { return m_url; }
57 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
58 template <typename UrlT = Aws::String>
59 void SetUrl(UrlT&& value) {
60 m_urlHasBeenSet = true;
61 m_url = std::forward<UrlT>(value);
62 }
63 template <typename UrlT = Aws::String>
65 SetUrl(std::forward<UrlT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetVendorSeverity() const { return m_vendorSeverity; }
75 inline bool VendorSeverityHasBeenSet() const { return m_vendorSeverityHasBeenSet; }
76 template <typename VendorSeverityT = Aws::String>
77 void SetVendorSeverity(VendorSeverityT&& value) {
78 m_vendorSeverityHasBeenSet = true;
79 m_vendorSeverity = std::forward<VendorSeverityT>(value);
80 }
81 template <typename VendorSeverityT = Aws::String>
82 VulnerabilityVendor& WithVendorSeverity(VendorSeverityT&& value) {
83 SetVendorSeverity(std::forward<VendorSeverityT>(value));
84 return *this;
85 }
87
89
95 inline const Aws::String& GetVendorCreatedAt() const { return m_vendorCreatedAt; }
96 inline bool VendorCreatedAtHasBeenSet() const { return m_vendorCreatedAtHasBeenSet; }
97 template <typename VendorCreatedAtT = Aws::String>
98 void SetVendorCreatedAt(VendorCreatedAtT&& value) {
99 m_vendorCreatedAtHasBeenSet = true;
100 m_vendorCreatedAt = std::forward<VendorCreatedAtT>(value);
101 }
102 template <typename VendorCreatedAtT = Aws::String>
103 VulnerabilityVendor& WithVendorCreatedAt(VendorCreatedAtT&& value) {
104 SetVendorCreatedAt(std::forward<VendorCreatedAtT>(value));
105 return *this;
106 }
108
110
116 inline const Aws::String& GetVendorUpdatedAt() const { return m_vendorUpdatedAt; }
117 inline bool VendorUpdatedAtHasBeenSet() const { return m_vendorUpdatedAtHasBeenSet; }
118 template <typename VendorUpdatedAtT = Aws::String>
119 void SetVendorUpdatedAt(VendorUpdatedAtT&& value) {
120 m_vendorUpdatedAtHasBeenSet = true;
121 m_vendorUpdatedAt = std::forward<VendorUpdatedAtT>(value);
122 }
123 template <typename VendorUpdatedAtT = Aws::String>
124 VulnerabilityVendor& WithVendorUpdatedAt(VendorUpdatedAtT&& value) {
125 SetVendorUpdatedAt(std::forward<VendorUpdatedAtT>(value));
126 return *this;
127 }
129 private:
130 Aws::String m_name;
131
132 Aws::String m_url;
133
134 Aws::String m_vendorSeverity;
135
136 Aws::String m_vendorCreatedAt;
137
138 Aws::String m_vendorUpdatedAt;
139 bool m_nameHasBeenSet = false;
140 bool m_urlHasBeenSet = false;
141 bool m_vendorSeverityHasBeenSet = false;
142 bool m_vendorCreatedAtHasBeenSet = false;
143 bool m_vendorUpdatedAtHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace SecurityHub
148} // namespace Aws
VulnerabilityVendor & WithUrl(UrlT &&value)
AWS_SECURITYHUB_API VulnerabilityVendor()=default
VulnerabilityVendor & WithVendorCreatedAt(VendorCreatedAtT &&value)
void SetVendorSeverity(VendorSeverityT &&value)
void SetVendorCreatedAt(VendorCreatedAtT &&value)
AWS_SECURITYHUB_API VulnerabilityVendor & operator=(Aws::Utils::Json::JsonView jsonValue)
VulnerabilityVendor & WithVendorUpdatedAt(VendorUpdatedAtT &&value)
AWS_SECURITYHUB_API VulnerabilityVendor(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVendorUpdatedAt(VendorUpdatedAtT &&value)
VulnerabilityVendor & WithVendorSeverity(VendorSeverityT &&value)
VulnerabilityVendor & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue