AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
EpssDetails.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Inspector2 {
17namespace Model {
18
26 public:
27 AWS_INSPECTOR2_API EpssDetails() = default;
28 AWS_INSPECTOR2_API EpssDetails(Aws::Utils::Json::JsonView jsonValue);
29 AWS_INSPECTOR2_API EpssDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline double GetScore() const { return m_score; }
37 inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; }
38 inline void SetScore(double value) {
39 m_scoreHasBeenSet = true;
40 m_score = value;
41 }
42 inline EpssDetails& WithScore(double value) {
43 SetScore(value);
44 return *this;
45 }
47 private:
48 double m_score{0.0};
49 bool m_scoreHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace Inspector2
54} // namespace Aws
EpssDetails & WithScore(double value)
Definition EpssDetails.h:42
AWS_INSPECTOR2_API EpssDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API EpssDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API EpssDetails()=default
Aws::Utils::Json::JsonValue JsonValue