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/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/model/ThreatIntelligenceDetail.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GuardDuty
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GUARDDUTY_API Evidence();
37 AWS_GUARDDUTY_API Evidence(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GUARDDUTY_API Evidence& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<ThreatIntelligenceDetail>& GetThreatIntelligenceDetails() const{ return m_threatIntelligenceDetails; }
47 inline bool ThreatIntelligenceDetailsHasBeenSet() const { return m_threatIntelligenceDetailsHasBeenSet; }
48 inline void SetThreatIntelligenceDetails(const Aws::Vector<ThreatIntelligenceDetail>& value) { m_threatIntelligenceDetailsHasBeenSet = true; m_threatIntelligenceDetails = value; }
49 inline void SetThreatIntelligenceDetails(Aws::Vector<ThreatIntelligenceDetail>&& value) { m_threatIntelligenceDetailsHasBeenSet = true; m_threatIntelligenceDetails = std::move(value); }
52 inline Evidence& AddThreatIntelligenceDetails(const ThreatIntelligenceDetail& value) { m_threatIntelligenceDetailsHasBeenSet = true; m_threatIntelligenceDetails.push_back(value); return *this; }
53 inline Evidence& AddThreatIntelligenceDetails(ThreatIntelligenceDetail&& value) { m_threatIntelligenceDetailsHasBeenSet = true; m_threatIntelligenceDetails.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<ThreatIntelligenceDetail> m_threatIntelligenceDetails;
58 bool m_threatIntelligenceDetailsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace GuardDuty
63} // namespace Aws
Evidence & AddThreatIntelligenceDetails(const ThreatIntelligenceDetail &value)
Definition Evidence.h:52
AWS_GUARDDUTY_API Evidence & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetThreatIntelligenceDetails(Aws::Vector< ThreatIntelligenceDetail > &&value)
Definition Evidence.h:49
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ThreatIntelligenceDetail > & GetThreatIntelligenceDetails() const
Definition Evidence.h:46
Evidence & AddThreatIntelligenceDetails(ThreatIntelligenceDetail &&value)
Definition Evidence.h:53
Evidence & WithThreatIntelligenceDetails(const Aws::Vector< ThreatIntelligenceDetail > &value)
Definition Evidence.h:50
bool ThreatIntelligenceDetailsHasBeenSet() const
Definition Evidence.h:47
AWS_GUARDDUTY_API Evidence(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Evidence()
Evidence & WithThreatIntelligenceDetails(Aws::Vector< ThreatIntelligenceDetail > &&value)
Definition Evidence.h:51
void SetThreatIntelligenceDetails(const Aws::Vector< ThreatIntelligenceDetail > &value)
Definition Evidence.h:48
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue