AWS SDK for C++  1.9.102
AWS SDK for C++
VulnerabilityVendor.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SecurityHub
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetName() const{ return m_name; }
44 
48  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 
53  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 
58  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 
63  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 
68  inline VulnerabilityVendor& WithName(const Aws::String& value) { SetName(value); return *this;}
69 
73  inline VulnerabilityVendor& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 
78  inline VulnerabilityVendor& WithName(const char* value) { SetName(value); return *this;}
79 
80 
84  inline const Aws::String& GetUrl() const{ return m_url; }
85 
89  inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
90 
94  inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
95 
99  inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
100 
104  inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
105 
109  inline VulnerabilityVendor& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
110 
114  inline VulnerabilityVendor& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
115 
119  inline VulnerabilityVendor& WithUrl(const char* value) { SetUrl(value); return *this;}
120 
121 
125  inline const Aws::String& GetVendorSeverity() const{ return m_vendorSeverity; }
126 
130  inline bool VendorSeverityHasBeenSet() const { return m_vendorSeverityHasBeenSet; }
131 
135  inline void SetVendorSeverity(const Aws::String& value) { m_vendorSeverityHasBeenSet = true; m_vendorSeverity = value; }
136 
140  inline void SetVendorSeverity(Aws::String&& value) { m_vendorSeverityHasBeenSet = true; m_vendorSeverity = std::move(value); }
141 
145  inline void SetVendorSeverity(const char* value) { m_vendorSeverityHasBeenSet = true; m_vendorSeverity.assign(value); }
146 
150  inline VulnerabilityVendor& WithVendorSeverity(const Aws::String& value) { SetVendorSeverity(value); return *this;}
151 
155  inline VulnerabilityVendor& WithVendorSeverity(Aws::String&& value) { SetVendorSeverity(std::move(value)); return *this;}
156 
160  inline VulnerabilityVendor& WithVendorSeverity(const char* value) { SetVendorSeverity(value); return *this;}
161 
162 
170  inline const Aws::String& GetVendorCreatedAt() const{ return m_vendorCreatedAt; }
171 
179  inline bool VendorCreatedAtHasBeenSet() const { return m_vendorCreatedAtHasBeenSet; }
180 
188  inline void SetVendorCreatedAt(const Aws::String& value) { m_vendorCreatedAtHasBeenSet = true; m_vendorCreatedAt = value; }
189 
197  inline void SetVendorCreatedAt(Aws::String&& value) { m_vendorCreatedAtHasBeenSet = true; m_vendorCreatedAt = std::move(value); }
198 
206  inline void SetVendorCreatedAt(const char* value) { m_vendorCreatedAtHasBeenSet = true; m_vendorCreatedAt.assign(value); }
207 
215  inline VulnerabilityVendor& WithVendorCreatedAt(const Aws::String& value) { SetVendorCreatedAt(value); return *this;}
216 
224  inline VulnerabilityVendor& WithVendorCreatedAt(Aws::String&& value) { SetVendorCreatedAt(std::move(value)); return *this;}
225 
233  inline VulnerabilityVendor& WithVendorCreatedAt(const char* value) { SetVendorCreatedAt(value); return *this;}
234 
235 
243  inline const Aws::String& GetVendorUpdatedAt() const{ return m_vendorUpdatedAt; }
244 
252  inline bool VendorUpdatedAtHasBeenSet() const { return m_vendorUpdatedAtHasBeenSet; }
253 
261  inline void SetVendorUpdatedAt(const Aws::String& value) { m_vendorUpdatedAtHasBeenSet = true; m_vendorUpdatedAt = value; }
262 
270  inline void SetVendorUpdatedAt(Aws::String&& value) { m_vendorUpdatedAtHasBeenSet = true; m_vendorUpdatedAt = std::move(value); }
271 
279  inline void SetVendorUpdatedAt(const char* value) { m_vendorUpdatedAtHasBeenSet = true; m_vendorUpdatedAt.assign(value); }
280 
288  inline VulnerabilityVendor& WithVendorUpdatedAt(const Aws::String& value) { SetVendorUpdatedAt(value); return *this;}
289 
297  inline VulnerabilityVendor& WithVendorUpdatedAt(Aws::String&& value) { SetVendorUpdatedAt(std::move(value)); return *this;}
298 
306  inline VulnerabilityVendor& WithVendorUpdatedAt(const char* value) { SetVendorUpdatedAt(value); return *this;}
307 
308  private:
309 
310  Aws::String m_name;
311  bool m_nameHasBeenSet;
312 
313  Aws::String m_url;
314  bool m_urlHasBeenSet;
315 
316  Aws::String m_vendorSeverity;
317  bool m_vendorSeverityHasBeenSet;
318 
319  Aws::String m_vendorCreatedAt;
320  bool m_vendorCreatedAtHasBeenSet;
321 
322  Aws::String m_vendorUpdatedAt;
323  bool m_vendorUpdatedAtHasBeenSet;
324  };
325 
326 } // namespace Model
327 } // namespace SecurityHub
328 } // namespace Aws
Aws::SecurityHub::Model::VulnerabilityVendor::SetVendorCreatedAt
void SetVendorCreatedAt(const Aws::String &value)
Definition: VulnerabilityVendor.h:188
Aws::SecurityHub::Model::VulnerabilityVendor::GetVendorCreatedAt
const Aws::String & GetVendorCreatedAt() const
Definition: VulnerabilityVendor.h:170
Aws::SecurityHub::Model::VulnerabilityVendor::WithVendorSeverity
VulnerabilityVendor & WithVendorSeverity(Aws::String &&value)
Definition: VulnerabilityVendor.h:155
Aws::SecurityHub::Model::VulnerabilityVendor::SetName
void SetName(Aws::String &&value)
Definition: VulnerabilityVendor.h:58
Aws::SecurityHub::Model::VulnerabilityVendor::VulnerabilityVendor
VulnerabilityVendor(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::VulnerabilityVendor::WithVendorUpdatedAt
VulnerabilityVendor & WithVendorUpdatedAt(const char *value)
Definition: VulnerabilityVendor.h:306
Aws::SecurityHub::Model::VulnerabilityVendor::GetName
const Aws::String & GetName() const
Definition: VulnerabilityVendor.h:43
Aws::SecurityHub::Model::VulnerabilityVendor::WithName
VulnerabilityVendor & WithName(const char *value)
Definition: VulnerabilityVendor.h:78
Aws::SecurityHub::Model::VulnerabilityVendor::SetName
void SetName(const Aws::String &value)
Definition: VulnerabilityVendor.h:53
Aws::SecurityHub::Model::VulnerabilityVendor::SetVendorCreatedAt
void SetVendorCreatedAt(Aws::String &&value)
Definition: VulnerabilityVendor.h:197
Aws::SecurityHub::Model::VulnerabilityVendor::GetVendorSeverity
const Aws::String & GetVendorSeverity() const
Definition: VulnerabilityVendor.h:125
Aws::SecurityHub::Model::VulnerabilityVendor::SetVendorUpdatedAt
void SetVendorUpdatedAt(const Aws::String &value)
Definition: VulnerabilityVendor.h:261
Aws::SecurityHub::Model::VulnerabilityVendor::WithVendorSeverity
VulnerabilityVendor & WithVendorSeverity(const Aws::String &value)
Definition: VulnerabilityVendor.h:150
Aws::SecurityHub::Model::VulnerabilityVendor::VulnerabilityVendor
VulnerabilityVendor()
Aws::SecurityHub::Model::VulnerabilityVendor::WithVendorUpdatedAt
VulnerabilityVendor & WithVendorUpdatedAt(Aws::String &&value)
Definition: VulnerabilityVendor.h:297
Aws::SecurityHub::Model::VulnerabilityVendor::VendorUpdatedAtHasBeenSet
bool VendorUpdatedAtHasBeenSet() const
Definition: VulnerabilityVendor.h:252
Aws::SecurityHub::Model::VulnerabilityVendor::SetUrl
void SetUrl(const char *value)
Definition: VulnerabilityVendor.h:104
Aws::SecurityHub::Model::VulnerabilityVendor::GetUrl
const Aws::String & GetUrl() const
Definition: VulnerabilityVendor.h:84
Aws::SecurityHub::Model::VulnerabilityVendor::VendorSeverityHasBeenSet
bool VendorSeverityHasBeenSet() const
Definition: VulnerabilityVendor.h:130
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::VulnerabilityVendor::WithName
VulnerabilityVendor & WithName(const Aws::String &value)
Definition: VulnerabilityVendor.h:68
Aws::SecurityHub::Model::VulnerabilityVendor::VendorCreatedAtHasBeenSet
bool VendorCreatedAtHasBeenSet() const
Definition: VulnerabilityVendor.h:179
Aws::SecurityHub::Model::VulnerabilityVendor::SetUrl
void SetUrl(const Aws::String &value)
Definition: VulnerabilityVendor.h:94
Aws::SecurityHub::Model::VulnerabilityVendor::SetVendorUpdatedAt
void SetVendorUpdatedAt(Aws::String &&value)
Definition: VulnerabilityVendor.h:270
Aws::SecurityHub::Model::VulnerabilityVendor::WithVendorCreatedAt
VulnerabilityVendor & WithVendorCreatedAt(const char *value)
Definition: VulnerabilityVendor.h:233
Aws::SecurityHub::Model::VulnerabilityVendor::WithVendorUpdatedAt
VulnerabilityVendor & WithVendorUpdatedAt(const Aws::String &value)
Definition: VulnerabilityVendor.h:288
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::VulnerabilityVendor::WithUrl
VulnerabilityVendor & WithUrl(Aws::String &&value)
Definition: VulnerabilityVendor.h:114
Aws::SecurityHub::Model::VulnerabilityVendor::WithVendorSeverity
VulnerabilityVendor & WithVendorSeverity(const char *value)
Definition: VulnerabilityVendor.h:160
Aws::SecurityHub::Model::VulnerabilityVendor::UrlHasBeenSet
bool UrlHasBeenSet() const
Definition: VulnerabilityVendor.h:89
Aws::SecurityHub::Model::VulnerabilityVendor::operator=
VulnerabilityVendor & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::VulnerabilityVendor::SetVendorSeverity
void SetVendorSeverity(const Aws::String &value)
Definition: VulnerabilityVendor.h:135
Aws::SecurityHub::Model::VulnerabilityVendor
Definition: VulnerabilityVendor.h:32
Aws::SecurityHub::Model::VulnerabilityVendor::WithVendorCreatedAt
VulnerabilityVendor & WithVendorCreatedAt(Aws::String &&value)
Definition: VulnerabilityVendor.h:224
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::VulnerabilityVendor::WithUrl
VulnerabilityVendor & WithUrl(const char *value)
Definition: VulnerabilityVendor.h:119
Aws::SecurityHub::Model::VulnerabilityVendor::WithName
VulnerabilityVendor & WithName(Aws::String &&value)
Definition: VulnerabilityVendor.h:73
Aws::SecurityHub::Model::VulnerabilityVendor::GetVendorUpdatedAt
const Aws::String & GetVendorUpdatedAt() const
Definition: VulnerabilityVendor.h:243
Aws::SecurityHub::Model::VulnerabilityVendor::SetVendorSeverity
void SetVendorSeverity(Aws::String &&value)
Definition: VulnerabilityVendor.h:140
Aws::SecurityHub::Model::VulnerabilityVendor::WithUrl
VulnerabilityVendor & WithUrl(const Aws::String &value)
Definition: VulnerabilityVendor.h:109
Aws::SecurityHub::Model::VulnerabilityVendor::SetVendorUpdatedAt
void SetVendorUpdatedAt(const char *value)
Definition: VulnerabilityVendor.h:279
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::VulnerabilityVendor::SetUrl
void SetUrl(Aws::String &&value)
Definition: VulnerabilityVendor.h:99
Aws::SecurityHub::Model::VulnerabilityVendor::NameHasBeenSet
bool NameHasBeenSet() const
Definition: VulnerabilityVendor.h:48
Aws::SecurityHub::Model::VulnerabilityVendor::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::VulnerabilityVendor::SetVendorCreatedAt
void SetVendorCreatedAt(const char *value)
Definition: VulnerabilityVendor.h:206
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::VulnerabilityVendor::SetVendorSeverity
void SetVendorSeverity(const char *value)
Definition: VulnerabilityVendor.h:145
Aws::SecurityHub::Model::VulnerabilityVendor::WithVendorCreatedAt
VulnerabilityVendor & WithVendorCreatedAt(const Aws::String &value)
Definition: VulnerabilityVendor.h:215
Aws::SecurityHub::Model::VulnerabilityVendor::SetName
void SetName(const char *value)
Definition: VulnerabilityVendor.h:63