7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/model/ScanThreatName.h>
48 inline void SetItemCount(
int value) { m_itemCountHasBeenSet =
true; m_itemCount = value; }
70 inline void SetShortened(
bool value) { m_shortenedHasBeenSet =
true; m_shortened = value; }
80 template<
typename ThreatNamesT = Aws::Vector<ScanThreatName>>
81 void SetThreatNames(ThreatNamesT&& value) { m_threatNamesHasBeenSet =
true; m_threatNames = std::forward<ThreatNamesT>(value); }
82 template<
typename ThreatNamesT = Aws::Vector<ScanThreatName>>
84 template<
typename ThreatNamesT = ScanThreatName>
90 bool m_itemCountHasBeenSet =
false;
92 int m_uniqueThreatNameCount{0};
93 bool m_uniqueThreatNameCountHasBeenSet =
false;
95 bool m_shortened{
false};
96 bool m_shortenedHasBeenSet =
false;
99 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