AWS SDK for C++  1.9.104
AWS SDK for C++
Evidence.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace GuardDuty
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::Vector<ThreatIntelligenceDetail>& GetThreatIntelligenceDetails() const{ return m_threatIntelligenceDetails; }
46 
50  inline bool ThreatIntelligenceDetailsHasBeenSet() const { return m_threatIntelligenceDetailsHasBeenSet; }
51 
55  inline void SetThreatIntelligenceDetails(const Aws::Vector<ThreatIntelligenceDetail>& value) { m_threatIntelligenceDetailsHasBeenSet = true; m_threatIntelligenceDetails = value; }
56 
60  inline void SetThreatIntelligenceDetails(Aws::Vector<ThreatIntelligenceDetail>&& value) { m_threatIntelligenceDetailsHasBeenSet = true; m_threatIntelligenceDetails = std::move(value); }
61 
65  inline Evidence& WithThreatIntelligenceDetails(const Aws::Vector<ThreatIntelligenceDetail>& value) { SetThreatIntelligenceDetails(value); return *this;}
66 
70  inline Evidence& WithThreatIntelligenceDetails(Aws::Vector<ThreatIntelligenceDetail>&& value) { SetThreatIntelligenceDetails(std::move(value)); return *this;}
71 
75  inline Evidence& AddThreatIntelligenceDetails(const ThreatIntelligenceDetail& value) { m_threatIntelligenceDetailsHasBeenSet = true; m_threatIntelligenceDetails.push_back(value); return *this; }
76 
80  inline Evidence& AddThreatIntelligenceDetails(ThreatIntelligenceDetail&& value) { m_threatIntelligenceDetailsHasBeenSet = true; m_threatIntelligenceDetails.push_back(std::move(value)); return *this; }
81 
82  private:
83 
84  Aws::Vector<ThreatIntelligenceDetail> m_threatIntelligenceDetails;
85  bool m_threatIntelligenceDetailsHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace GuardDuty
90 } // namespace Aws
Aws::GuardDuty::Model::Evidence::AddThreatIntelligenceDetails
Evidence & AddThreatIntelligenceDetails(ThreatIntelligenceDetail &&value)
Definition: Evidence.h:80
Aws::GuardDuty::Model::Evidence::SetThreatIntelligenceDetails
void SetThreatIntelligenceDetails(const Aws::Vector< ThreatIntelligenceDetail > &value)
Definition: Evidence.h:55
Aws::GuardDuty::Model::Evidence::GetThreatIntelligenceDetails
const Aws::Vector< ThreatIntelligenceDetail > & GetThreatIntelligenceDetails() const
Definition: Evidence.h:45
Aws::GuardDuty::Model::Evidence::operator=
Evidence & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::Evidence
Definition: Evidence.h:34
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GuardDuty::Model::Evidence::WithThreatIntelligenceDetails
Evidence & WithThreatIntelligenceDetails(const Aws::Vector< ThreatIntelligenceDetail > &value)
Definition: Evidence.h:65
AWSVector.h
Aws::GuardDuty::Model::ThreatIntelligenceDetail
Definition: ThreatIntelligenceDetail.h:34
Aws::GuardDuty::Model::Evidence::WithThreatIntelligenceDetails
Evidence & WithThreatIntelligenceDetails(Aws::Vector< ThreatIntelligenceDetail > &&value)
Definition: Evidence.h:70
Aws::GuardDuty::Model::Evidence::Evidence
Evidence(Aws::Utils::Json::JsonView jsonValue)
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::Evidence::ThreatIntelligenceDetailsHasBeenSet
bool ThreatIntelligenceDetailsHasBeenSet() const
Definition: Evidence.h:50
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GuardDuty::Model::Evidence::AddThreatIntelligenceDetails
Evidence & AddThreatIntelligenceDetails(const ThreatIntelligenceDetail &value)
Definition: Evidence.h:75
Aws::GuardDuty::Model::Evidence::Evidence
Evidence()
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::Evidence::SetThreatIntelligenceDetails
void SetThreatIntelligenceDetails(Aws::Vector< ThreatIntelligenceDetail > &&value)
Definition: Evidence.h:60
Aws::GuardDuty::Model::Evidence::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
ThreatIntelligenceDetail.h