7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/DetectionSource.h>
11#include <aws/guardduty/model/ItemDetails.h>
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
63 m_sourceHasBeenSet =
true;
76 inline long long GetCount()
const {
return m_count; }
79 m_countHasBeenSet =
true;
94 template <
typename HashT = Aws::String>
96 m_hashHasBeenSet =
true;
97 m_hash = std::forward<HashT>(value);
99 template <
typename HashT = Aws::String>
101 SetHash(std::forward<HashT>(value));
112 template <
typename ItemDetailsT = Aws::Vector<ItemDetails>>
114 m_itemDetailsHasBeenSet =
true;
115 m_itemDetails = std::forward<ItemDetailsT>(value);
117 template <
typename ItemDetailsT = Aws::Vector<ItemDetails>>
122 template <
typename ItemDetailsT = ItemDetails>
124 m_itemDetailsHasBeenSet =
true;
125 m_itemDetails.emplace_back(std::forward<ItemDetailsT>(value));
134 long long m_count{0};
139 bool m_nameHasBeenSet =
false;
140 bool m_sourceHasBeenSet =
false;
141 bool m_countHasBeenSet =
false;
142 bool m_hashHasBeenSet =
false;
143 bool m_itemDetailsHasBeenSet =
false;
bool CountHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSource(DetectionSource value)
ScanResultThreat & WithHash(HashT &&value)
const Aws::Vector< ItemDetails > & GetItemDetails() const
const Aws::String & GetName() const
AWS_GUARDDUTY_API ScanResultThreat(Aws::Utils::Json::JsonView jsonValue)
ScanResultThreat & WithSource(DetectionSource value)
void SetName(NameT &&value)
AWS_GUARDDUTY_API ScanResultThreat()=default
void SetItemDetails(ItemDetailsT &&value)
ScanResultThreat & AddItemDetails(ItemDetailsT &&value)
void SetHash(HashT &&value)
DetectionSource GetSource() const
AWS_GUARDDUTY_API ScanResultThreat & operator=(Aws::Utils::Json::JsonView jsonValue)
bool HashHasBeenSet() const
void SetCount(long long value)
long long GetCount() const
bool SourceHasBeenSet() const
ScanResultThreat & WithCount(long long value)
ScanResultThreat & WithName(NameT &&value)
bool ItemDetailsHasBeenSet() const
const Aws::String & GetHash() const
bool NameHasBeenSet() const
ScanResultThreat & WithItemDetails(ItemDetailsT &&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