7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
41 template <
typename PathT = Aws::String>
43 m_pathHasBeenSet =
true;
44 m_path = std::forward<PathT>(value);
46 template <
typename PathT = Aws::String>
48 SetPath(std::forward<PathT>(value));
60 m_percentageHasBeenSet =
true;
75 template <
typename AmountT = Aws::String>
77 m_amountHasBeenSet =
true;
78 m_amount = std::forward<AmountT>(value);
80 template <
typename AmountT = Aws::String>
94 m_requestCountHasBeenSet =
true;
95 m_requestCount = value;
105 double m_percentage{0.0};
109 long long m_requestCount{0};
110 bool m_pathHasBeenSet =
false;
111 bool m_percentageHasBeenSet =
false;
112 bool m_amountHasBeenSet =
false;
113 bool m_requestCountHasBeenSet =
false;
RevenuePathStatistics & WithAmount(AmountT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
double GetPercentage() const
bool RequestCountHasBeenSet() const
RevenuePathStatistics & WithPercentage(double value)
AWS_WAFV2_API RevenuePathStatistics()=default
void SetPath(PathT &&value)
const Aws::String & GetPath() const
void SetPercentage(double value)
void SetRequestCount(long long value)
AWS_WAFV2_API RevenuePathStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AmountHasBeenSet() const
RevenuePathStatistics & WithPath(PathT &&value)
const Aws::String & GetAmount() const
AWS_WAFV2_API RevenuePathStatistics(Aws::Utils::Json::JsonView jsonValue)
long long GetRequestCount() const
RevenuePathStatistics & WithRequestCount(long long value)
bool PercentageHasBeenSet() const
bool PathHasBeenSet() const
void SetAmount(AmountT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue