7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wafv2/WAFV2_EXPORTS.h>
10#include <aws/wafv2/model/BotStatistics.h>
11#include <aws/wafv2/model/FilterSource.h>
47 template <
typename SourceT = FilterSource>
49 m_sourceHasBeenSet =
true;
50 m_source = std::forward<SourceT>(value);
52 template <
typename SourceT = FilterSource>
66 template <
typename PathT = Aws::String>
68 m_pathHasBeenSet =
true;
69 m_path = std::forward<PathT>(value);
71 template <
typename PathT = Aws::String>
73 SetPath(std::forward<PathT>(value));
85 m_requestCountHasBeenSet =
true;
86 m_requestCount = value;
101 m_percentageHasBeenSet =
true;
102 m_percentage = value;
118 template <
typename TopBotsT = Aws::Vector<BotStatistics>>
120 m_topBotsHasBeenSet =
true;
121 m_topBots = std::forward<TopBotsT>(value);
123 template <
typename TopBotsT = Aws::Vector<BotStatistics>>
128 template <
typename TopBotsT = BotStatistics>
130 m_topBotsHasBeenSet =
true;
131 m_topBots.emplace_back(std::forward<TopBotsT>(value));
140 long long m_requestCount{0};
142 double m_percentage{0.0};
145 bool m_sourceHasBeenSet =
false;
146 bool m_pathHasBeenSet =
false;
147 bool m_requestCountHasBeenSet =
false;
148 bool m_percentageHasBeenSet =
false;
149 bool m_topBotsHasBeenSet =
false;
void SetRequestCount(long long value)
bool SourceHasBeenSet() const
void SetPath(PathT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
PathStatistics & WithPercentage(double value)
bool RequestCountHasBeenSet() const
bool PercentageHasBeenSet() const
long long GetRequestCount() const
AWS_WAFV2_API PathStatistics(Aws::Utils::Json::JsonView jsonValue)
double GetPercentage() const
PathStatistics & AddTopBots(TopBotsT &&value)
PathStatistics & WithSource(SourceT &&value)
PathStatistics & WithRequestCount(long long value)
void SetTopBots(TopBotsT &&value)
void SetPercentage(double value)
const FilterSource & GetSource() const
PathStatistics & WithPath(PathT &&value)
void SetSource(SourceT &&value)
bool TopBotsHasBeenSet() const
AWS_WAFV2_API PathStatistics()=default
const Aws::String & GetPath() const
PathStatistics & WithTopBots(TopBotsT &&value)
AWS_WAFV2_API PathStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PathHasBeenSet() const
const Aws::Vector< BotStatistics > & GetTopBots() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue