7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/ScanThreatName.h>
43 m_itemCountHasBeenSet =
true;
60 m_uniqueThreatNameCountHasBeenSet =
true;
61 m_uniqueThreatNameCount = value;
77 m_shortenedHasBeenSet =
true;
92 template <
typename ThreatNamesT = Aws::Vector<ScanThreatName>>
94 m_threatNamesHasBeenSet =
true;
95 m_threatNames = std::forward<ThreatNamesT>(value);
97 template <
typename ThreatNamesT = Aws::Vector<ScanThreatName>>
102 template <
typename ThreatNamesT = ScanThreatName>
104 m_threatNamesHasBeenSet =
true;
105 m_threatNames.emplace_back(std::forward<ThreatNamesT>(value));
112 int m_uniqueThreatNameCount{0};
114 bool m_shortened{
false};
117 bool m_itemCountHasBeenSet =
false;
118 bool m_uniqueThreatNameCountHasBeenSet =
false;
119 bool m_shortenedHasBeenSet =
false;
120 bool m_threatNamesHasBeenSet =
false;
void SetShortened(bool value)
bool UniqueThreatNameCountHasBeenSet() const
bool ThreatNamesHasBeenSet() const
ThreatDetectedByName & WithItemCount(int value)
AWS_GUARDDUTY_API ThreatDetectedByName()=default
ThreatDetectedByName & WithShortened(bool value)
bool ShortenedHasBeenSet() const
void SetItemCount(int value)
void SetThreatNames(ThreatNamesT &&value)
const Aws::Vector< ScanThreatName > & GetThreatNames() const
AWS_GUARDDUTY_API ThreatDetectedByName & operator=(Aws::Utils::Json::JsonView jsonValue)
ThreatDetectedByName & WithUniqueThreatNameCount(int value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API ThreatDetectedByName(Aws::Utils::Json::JsonView jsonValue)
int GetUniqueThreatNameCount() const
ThreatDetectedByName & AddThreatNames(ThreatNamesT &&value)
ThreatDetectedByName & WithThreatNames(ThreatNamesT &&value)
void SetUniqueThreatNameCount(int value)
bool ItemCountHasBeenSet() const
bool GetShortened() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue