AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ThreatIntelligenceDetail.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 ThreatIntelligenceDetail();
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetThreatListName() const{ return m_threatListName; }
47 inline bool ThreatListNameHasBeenSet() const { return m_threatListNameHasBeenSet; }
48 inline void SetThreatListName(const Aws::String& value) { m_threatListNameHasBeenSet = true; m_threatListName = value; }
49 inline void SetThreatListName(Aws::String&& value) { m_threatListNameHasBeenSet = true; m_threatListName = std::move(value); }
50 inline void SetThreatListName(const char* value) { m_threatListNameHasBeenSet = true; m_threatListName.assign(value); }
51 inline ThreatIntelligenceDetail& WithThreatListName(const Aws::String& value) { SetThreatListName(value); return *this;}
52 inline ThreatIntelligenceDetail& WithThreatListName(Aws::String&& value) { SetThreatListName(std::move(value)); return *this;}
53 inline ThreatIntelligenceDetail& WithThreatListName(const char* value) { SetThreatListName(value); return *this;}
55
57
61 inline const Aws::Vector<Aws::String>& GetThreatNames() const{ return m_threatNames; }
62 inline bool ThreatNamesHasBeenSet() const { return m_threatNamesHasBeenSet; }
63 inline void SetThreatNames(const Aws::Vector<Aws::String>& value) { m_threatNamesHasBeenSet = true; m_threatNames = value; }
64 inline void SetThreatNames(Aws::Vector<Aws::String>&& value) { m_threatNamesHasBeenSet = true; m_threatNames = std::move(value); }
66 inline ThreatIntelligenceDetail& WithThreatNames(Aws::Vector<Aws::String>&& value) { SetThreatNames(std::move(value)); return *this;}
67 inline ThreatIntelligenceDetail& AddThreatNames(const Aws::String& value) { m_threatNamesHasBeenSet = true; m_threatNames.push_back(value); return *this; }
68 inline ThreatIntelligenceDetail& AddThreatNames(Aws::String&& value) { m_threatNamesHasBeenSet = true; m_threatNames.push_back(std::move(value)); return *this; }
69 inline ThreatIntelligenceDetail& AddThreatNames(const char* value) { m_threatNamesHasBeenSet = true; m_threatNames.push_back(value); return *this; }
71
73
76 inline const Aws::String& GetThreatFileSha256() const{ return m_threatFileSha256; }
77 inline bool ThreatFileSha256HasBeenSet() const { return m_threatFileSha256HasBeenSet; }
78 inline void SetThreatFileSha256(const Aws::String& value) { m_threatFileSha256HasBeenSet = true; m_threatFileSha256 = value; }
79 inline void SetThreatFileSha256(Aws::String&& value) { m_threatFileSha256HasBeenSet = true; m_threatFileSha256 = std::move(value); }
80 inline void SetThreatFileSha256(const char* value) { m_threatFileSha256HasBeenSet = true; m_threatFileSha256.assign(value); }
82 inline ThreatIntelligenceDetail& WithThreatFileSha256(Aws::String&& value) { SetThreatFileSha256(std::move(value)); return *this;}
83 inline ThreatIntelligenceDetail& WithThreatFileSha256(const char* value) { SetThreatFileSha256(value); return *this;}
85 private:
86
87 Aws::String m_threatListName;
88 bool m_threatListNameHasBeenSet = false;
89
90 Aws::Vector<Aws::String> m_threatNames;
91 bool m_threatNamesHasBeenSet = false;
92
93 Aws::String m_threatFileSha256;
94 bool m_threatFileSha256HasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace GuardDuty
99} // namespace Aws
const Aws::Vector< Aws::String > & GetThreatNames() const
ThreatIntelligenceDetail & WithThreatNames(const Aws::Vector< Aws::String > &value)
void SetThreatNames(Aws::Vector< Aws::String > &&value)
ThreatIntelligenceDetail & AddThreatNames(const char *value)
void SetThreatNames(const Aws::Vector< Aws::String > &value)
ThreatIntelligenceDetail & WithThreatFileSha256(Aws::String &&value)
AWS_GUARDDUTY_API ThreatIntelligenceDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ThreatIntelligenceDetail & WithThreatFileSha256(const Aws::String &value)
ThreatIntelligenceDetail & AddThreatNames(const Aws::String &value)
ThreatIntelligenceDetail & WithThreatListName(Aws::String &&value)
ThreatIntelligenceDetail & WithThreatListName(const char *value)
AWS_GUARDDUTY_API ThreatIntelligenceDetail(Aws::Utils::Json::JsonView jsonValue)
ThreatIntelligenceDetail & WithThreatNames(Aws::Vector< Aws::String > &&value)
ThreatIntelligenceDetail & AddThreatNames(Aws::String &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
ThreatIntelligenceDetail & WithThreatFileSha256(const char *value)
ThreatIntelligenceDetail & WithThreatListName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue