AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VulnerabilityVendor.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_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 SecurityHub
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SECURITYHUB_API VulnerabilityVendor() = default;
35 AWS_SECURITYHUB_API VulnerabilityVendor(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetName() const { return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 template<typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
48 template<typename NameT = Aws::String>
49 VulnerabilityVendor& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
60 template<typename UrlT = Aws::String>
61 VulnerabilityVendor& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
63
65
68 inline const Aws::String& GetVendorSeverity() const { return m_vendorSeverity; }
69 inline bool VendorSeverityHasBeenSet() const { return m_vendorSeverityHasBeenSet; }
70 template<typename VendorSeverityT = Aws::String>
71 void SetVendorSeverity(VendorSeverityT&& value) { m_vendorSeverityHasBeenSet = true; m_vendorSeverity = std::forward<VendorSeverityT>(value); }
72 template<typename VendorSeverityT = Aws::String>
73 VulnerabilityVendor& WithVendorSeverity(VendorSeverityT&& value) { SetVendorSeverity(std::forward<VendorSeverityT>(value)); return *this;}
75
77
83 inline const Aws::String& GetVendorCreatedAt() const { return m_vendorCreatedAt; }
84 inline bool VendorCreatedAtHasBeenSet() const { return m_vendorCreatedAtHasBeenSet; }
85 template<typename VendorCreatedAtT = Aws::String>
86 void SetVendorCreatedAt(VendorCreatedAtT&& value) { m_vendorCreatedAtHasBeenSet = true; m_vendorCreatedAt = std::forward<VendorCreatedAtT>(value); }
87 template<typename VendorCreatedAtT = Aws::String>
88 VulnerabilityVendor& WithVendorCreatedAt(VendorCreatedAtT&& value) { SetVendorCreatedAt(std::forward<VendorCreatedAtT>(value)); return *this;}
90
92
98 inline const Aws::String& GetVendorUpdatedAt() const { return m_vendorUpdatedAt; }
99 inline bool VendorUpdatedAtHasBeenSet() const { return m_vendorUpdatedAtHasBeenSet; }
100 template<typename VendorUpdatedAtT = Aws::String>
101 void SetVendorUpdatedAt(VendorUpdatedAtT&& value) { m_vendorUpdatedAtHasBeenSet = true; m_vendorUpdatedAt = std::forward<VendorUpdatedAtT>(value); }
102 template<typename VendorUpdatedAtT = Aws::String>
103 VulnerabilityVendor& WithVendorUpdatedAt(VendorUpdatedAtT&& value) { SetVendorUpdatedAt(std::forward<VendorUpdatedAtT>(value)); return *this;}
105 private:
106
107 Aws::String m_name;
108 bool m_nameHasBeenSet = false;
109
110 Aws::String m_url;
111 bool m_urlHasBeenSet = false;
112
113 Aws::String m_vendorSeverity;
114 bool m_vendorSeverityHasBeenSet = false;
115
116 Aws::String m_vendorCreatedAt;
117 bool m_vendorCreatedAtHasBeenSet = false;
118
119 Aws::String m_vendorUpdatedAt;
120 bool m_vendorUpdatedAtHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace SecurityHub
125} // 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