7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
42 template <
typename BotNameT = Aws::String>
44 m_botNameHasBeenSet =
true;
45 m_botName = std::forward<BotNameT>(value);
47 template <
typename BotNameT = Aws::String>
62 m_requestCountHasBeenSet =
true;
63 m_requestCount = value;
79 m_percentageHasBeenSet =
true;
90 long long m_requestCount{0};
92 double m_percentage{0.0};
93 bool m_botNameHasBeenSet =
false;
94 bool m_requestCountHasBeenSet =
false;
95 bool m_percentageHasBeenSet =
false;
bool PercentageHasBeenSet() const
AWS_WAFV2_API BotStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BotNameHasBeenSet() const
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
BotStatistics & WithPercentage(double value)
BotStatistics & WithBotName(BotNameT &&value)
const Aws::String & GetBotName() const
BotStatistics & WithRequestCount(long long value)
AWS_WAFV2_API BotStatistics()=default
void SetPercentage(double value)
bool RequestCountHasBeenSet() const
AWS_WAFV2_API BotStatistics(Aws::Utils::Json::JsonView jsonValue)
void SetRequestCount(long long value)
void SetBotName(BotNameT &&value)
long long GetRequestCount() const
double GetPercentage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue