AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScoreDetails.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/ecr/model/CvssScoreDetails.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 ECR
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ECR_API ScoreDetails();
39
40
42
45 inline const CvssScoreDetails& GetCvss() const{ return m_cvss; }
46 inline bool CvssHasBeenSet() const { return m_cvssHasBeenSet; }
47 inline void SetCvss(const CvssScoreDetails& value) { m_cvssHasBeenSet = true; m_cvss = value; }
48 inline void SetCvss(CvssScoreDetails&& value) { m_cvssHasBeenSet = true; m_cvss = std::move(value); }
49 inline ScoreDetails& WithCvss(const CvssScoreDetails& value) { SetCvss(value); return *this;}
50 inline ScoreDetails& WithCvss(CvssScoreDetails&& value) { SetCvss(std::move(value)); return *this;}
52 private:
53
54 CvssScoreDetails m_cvss;
55 bool m_cvssHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace ECR
60} // namespace Aws
const CvssScoreDetails & GetCvss() const
void SetCvss(const CvssScoreDetails &value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECR_API ScoreDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ScoreDetails & WithCvss(const CvssScoreDetails &value)
void SetCvss(CvssScoreDetails &&value)
AWS_ECR_API ScoreDetails(Aws::Utils::Json::JsonView jsonValue)
ScoreDetails & WithCvss(CvssScoreDetails &&value)
Aws::Utils::Json::JsonValue JsonValue