AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Evidence.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_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 Inspector2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_INSPECTOR2_API Evidence();
36 AWS_INSPECTOR2_API Evidence(Aws::Utils::Json::JsonView jsonValue);
37 AWS_INSPECTOR2_API Evidence& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEvidenceDetail() const{ return m_evidenceDetail; }
46 inline bool EvidenceDetailHasBeenSet() const { return m_evidenceDetailHasBeenSet; }
47 inline void SetEvidenceDetail(const Aws::String& value) { m_evidenceDetailHasBeenSet = true; m_evidenceDetail = value; }
48 inline void SetEvidenceDetail(Aws::String&& value) { m_evidenceDetailHasBeenSet = true; m_evidenceDetail = std::move(value); }
49 inline void SetEvidenceDetail(const char* value) { m_evidenceDetailHasBeenSet = true; m_evidenceDetail.assign(value); }
50 inline Evidence& WithEvidenceDetail(const Aws::String& value) { SetEvidenceDetail(value); return *this;}
51 inline Evidence& WithEvidenceDetail(Aws::String&& value) { SetEvidenceDetail(std::move(value)); return *this;}
52 inline Evidence& WithEvidenceDetail(const char* value) { SetEvidenceDetail(value); return *this;}
54
56
59 inline const Aws::String& GetEvidenceRule() const{ return m_evidenceRule; }
60 inline bool EvidenceRuleHasBeenSet() const { return m_evidenceRuleHasBeenSet; }
61 inline void SetEvidenceRule(const Aws::String& value) { m_evidenceRuleHasBeenSet = true; m_evidenceRule = value; }
62 inline void SetEvidenceRule(Aws::String&& value) { m_evidenceRuleHasBeenSet = true; m_evidenceRule = std::move(value); }
63 inline void SetEvidenceRule(const char* value) { m_evidenceRuleHasBeenSet = true; m_evidenceRule.assign(value); }
64 inline Evidence& WithEvidenceRule(const Aws::String& value) { SetEvidenceRule(value); return *this;}
65 inline Evidence& WithEvidenceRule(Aws::String&& value) { SetEvidenceRule(std::move(value)); return *this;}
66 inline Evidence& WithEvidenceRule(const char* value) { SetEvidenceRule(value); return *this;}
68
70
73 inline const Aws::String& GetSeverity() const{ return m_severity; }
74 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
75 inline void SetSeverity(const Aws::String& value) { m_severityHasBeenSet = true; m_severity = value; }
76 inline void SetSeverity(Aws::String&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
77 inline void SetSeverity(const char* value) { m_severityHasBeenSet = true; m_severity.assign(value); }
78 inline Evidence& WithSeverity(const Aws::String& value) { SetSeverity(value); return *this;}
79 inline Evidence& WithSeverity(Aws::String&& value) { SetSeverity(std::move(value)); return *this;}
80 inline Evidence& WithSeverity(const char* value) { SetSeverity(value); return *this;}
82 private:
83
84 Aws::String m_evidenceDetail;
85 bool m_evidenceDetailHasBeenSet = false;
86
87 Aws::String m_evidenceRule;
88 bool m_evidenceRuleHasBeenSet = false;
89
90 Aws::String m_severity;
91 bool m_severityHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Inspector2
96} // namespace Aws
Evidence & WithEvidenceRule(Aws::String &&value)
Definition Evidence.h:65
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEvidenceRule(const char *value)
Definition Evidence.h:63
Evidence & WithEvidenceRule(const char *value)
Definition Evidence.h:66
AWS_INSPECTOR2_API Evidence()
const Aws::String & GetSeverity() const
Definition Evidence.h:73
bool EvidenceRuleHasBeenSet() const
Definition Evidence.h:60
const Aws::String & GetEvidenceRule() const
Definition Evidence.h:59
void SetEvidenceDetail(const Aws::String &value)
Definition Evidence.h:47
bool EvidenceDetailHasBeenSet() const
Definition Evidence.h:46
const Aws::String & GetEvidenceDetail() const
Definition Evidence.h:45
Evidence & WithEvidenceDetail(const char *value)
Definition Evidence.h:52
void SetEvidenceDetail(const char *value)
Definition Evidence.h:49
void SetSeverity(Aws::String &&value)
Definition Evidence.h:76
Evidence & WithEvidenceDetail(Aws::String &&value)
Definition Evidence.h:51
AWS_INSPECTOR2_API Evidence(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Evidence & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEvidenceRule(Aws::String &&value)
Definition Evidence.h:62
void SetSeverity(const Aws::String &value)
Definition Evidence.h:75
Evidence & WithEvidenceDetail(const Aws::String &value)
Definition Evidence.h:50
Evidence & WithSeverity(Aws::String &&value)
Definition Evidence.h:79
Evidence & WithEvidenceRule(const Aws::String &value)
Definition Evidence.h:64
void SetEvidenceRule(const Aws::String &value)
Definition Evidence.h:61
void SetSeverity(const char *value)
Definition Evidence.h:77
Evidence & WithSeverity(const char *value)
Definition Evidence.h:80
Evidence & WithSeverity(const Aws::String &value)
Definition Evidence.h:78
void SetEvidenceDetail(Aws::String &&value)
Definition Evidence.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue