AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
47 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
48 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
49 inline VulnerabilityVendor& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline VulnerabilityVendor& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline VulnerabilityVendor& WithName(const char* value) { SetName(value); return *this;}
53
55
58 inline const Aws::String& GetUrl() const{ return m_url; }
59 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
60 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
61 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
62 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
63 inline VulnerabilityVendor& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
64 inline VulnerabilityVendor& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
65 inline VulnerabilityVendor& WithUrl(const char* value) { SetUrl(value); return *this;}
67
69
72 inline const Aws::String& GetVendorSeverity() const{ return m_vendorSeverity; }
73 inline bool VendorSeverityHasBeenSet() const { return m_vendorSeverityHasBeenSet; }
74 inline void SetVendorSeverity(const Aws::String& value) { m_vendorSeverityHasBeenSet = true; m_vendorSeverity = value; }
75 inline void SetVendorSeverity(Aws::String&& value) { m_vendorSeverityHasBeenSet = true; m_vendorSeverity = std::move(value); }
76 inline void SetVendorSeverity(const char* value) { m_vendorSeverityHasBeenSet = true; m_vendorSeverity.assign(value); }
77 inline VulnerabilityVendor& WithVendorSeverity(const Aws::String& value) { SetVendorSeverity(value); return *this;}
78 inline VulnerabilityVendor& WithVendorSeverity(Aws::String&& value) { SetVendorSeverity(std::move(value)); return *this;}
79 inline VulnerabilityVendor& WithVendorSeverity(const char* value) { SetVendorSeverity(value); return *this;}
81
83
100 inline const Aws::String& GetVendorCreatedAt() const{ return m_vendorCreatedAt; }
101 inline bool VendorCreatedAtHasBeenSet() const { return m_vendorCreatedAtHasBeenSet; }
102 inline void SetVendorCreatedAt(const Aws::String& value) { m_vendorCreatedAtHasBeenSet = true; m_vendorCreatedAt = value; }
103 inline void SetVendorCreatedAt(Aws::String&& value) { m_vendorCreatedAtHasBeenSet = true; m_vendorCreatedAt = std::move(value); }
104 inline void SetVendorCreatedAt(const char* value) { m_vendorCreatedAtHasBeenSet = true; m_vendorCreatedAt.assign(value); }
105 inline VulnerabilityVendor& WithVendorCreatedAt(const Aws::String& value) { SetVendorCreatedAt(value); return *this;}
106 inline VulnerabilityVendor& WithVendorCreatedAt(Aws::String&& value) { SetVendorCreatedAt(std::move(value)); return *this;}
107 inline VulnerabilityVendor& WithVendorCreatedAt(const char* value) { SetVendorCreatedAt(value); return *this;}
109
111
128 inline const Aws::String& GetVendorUpdatedAt() const{ return m_vendorUpdatedAt; }
129 inline bool VendorUpdatedAtHasBeenSet() const { return m_vendorUpdatedAtHasBeenSet; }
130 inline void SetVendorUpdatedAt(const Aws::String& value) { m_vendorUpdatedAtHasBeenSet = true; m_vendorUpdatedAt = value; }
131 inline void SetVendorUpdatedAt(Aws::String&& value) { m_vendorUpdatedAtHasBeenSet = true; m_vendorUpdatedAt = std::move(value); }
132 inline void SetVendorUpdatedAt(const char* value) { m_vendorUpdatedAtHasBeenSet = true; m_vendorUpdatedAt.assign(value); }
133 inline VulnerabilityVendor& WithVendorUpdatedAt(const Aws::String& value) { SetVendorUpdatedAt(value); return *this;}
134 inline VulnerabilityVendor& WithVendorUpdatedAt(Aws::String&& value) { SetVendorUpdatedAt(std::move(value)); return *this;}
135 inline VulnerabilityVendor& WithVendorUpdatedAt(const char* value) { SetVendorUpdatedAt(value); return *this;}
137 private:
138
139 Aws::String m_name;
140 bool m_nameHasBeenSet = false;
141
142 Aws::String m_url;
143 bool m_urlHasBeenSet = false;
144
145 Aws::String m_vendorSeverity;
146 bool m_vendorSeverityHasBeenSet = false;
147
148 Aws::String m_vendorCreatedAt;
149 bool m_vendorCreatedAtHasBeenSet = false;
150
151 Aws::String m_vendorUpdatedAt;
152 bool m_vendorUpdatedAtHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace SecurityHub
157} // namespace Aws
VulnerabilityVendor & WithName(const Aws::String &value)
void SetVendorSeverity(const Aws::String &value)
VulnerabilityVendor & WithVendorCreatedAt(Aws::String &&value)
VulnerabilityVendor & WithVendorUpdatedAt(Aws::String &&value)
VulnerabilityVendor & WithUrl(const char *value)
VulnerabilityVendor & WithName(const char *value)
AWS_SECURITYHUB_API VulnerabilityVendor & operator=(Aws::Utils::Json::JsonView jsonValue)
VulnerabilityVendor & WithUrl(const Aws::String &value)
VulnerabilityVendor & WithVendorSeverity(Aws::String &&value)
VulnerabilityVendor & WithVendorSeverity(const char *value)
VulnerabilityVendor & WithName(Aws::String &&value)
VulnerabilityVendor & WithVendorUpdatedAt(const Aws::String &value)
void SetVendorCreatedAt(const Aws::String &value)
VulnerabilityVendor & WithVendorUpdatedAt(const char *value)
VulnerabilityVendor & WithUrl(Aws::String &&value)
AWS_SECURITYHUB_API VulnerabilityVendor(Aws::Utils::Json::JsonView jsonValue)
VulnerabilityVendor & WithVendorCreatedAt(const Aws::String &value)
void SetVendorUpdatedAt(const Aws::String &value)
VulnerabilityVendor & WithVendorSeverity(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
VulnerabilityVendor & WithVendorCreatedAt(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue