7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
42 template <
typename SourceNameT = Aws::String>
44 m_sourceNameHasBeenSet =
true;
45 m_sourceName = std::forward<SourceNameT>(value);
47 template <
typename SourceNameT = Aws::String>
61 m_percentageHasBeenSet =
true;
76 template <
typename AmountT = Aws::String>
78 m_amountHasBeenSet =
true;
79 m_amount = std::forward<AmountT>(value);
81 template <
typename AmountT = Aws::String>
95 m_requestCountHasBeenSet =
true;
96 m_requestCount = value;
110 template <
typename SourceCategoryT = Aws::String>
112 m_sourceCategoryHasBeenSet =
true;
113 m_sourceCategory = std::forward<SourceCategoryT>(value);
115 template <
typename SourceCategoryT = Aws::String>
129 template <
typename IntentT = Aws::String>
131 m_intentHasBeenSet =
true;
132 m_intent = std::forward<IntentT>(value);
134 template <
typename IntentT = Aws::String>
147 template <
typename OrganizationT = Aws::String>
149 m_organizationHasBeenSet =
true;
150 m_organization = std::forward<OrganizationT>(value);
152 template <
typename OrganizationT = Aws::String>
173 m_verifiedHasBeenSet =
true;
188 template <
typename GroupByValueT = Aws::String>
190 m_groupByValueHasBeenSet =
true;
191 m_groupByValue = std::forward<GroupByValueT>(value);
193 template <
typename GroupByValueT = Aws::String>
202 double m_percentage{0.0};
206 long long m_requestCount{0};
214 bool m_verified{
false};
217 bool m_sourceNameHasBeenSet =
false;
218 bool m_percentageHasBeenSet =
false;
219 bool m_amountHasBeenSet =
false;
220 bool m_requestCountHasBeenSet =
false;
221 bool m_sourceCategoryHasBeenSet =
false;
222 bool m_intentHasBeenSet =
false;
223 bool m_organizationHasBeenSet =
false;
224 bool m_verifiedHasBeenSet =
false;
225 bool m_groupByValueHasBeenSet =
false;
void SetSourceName(SourceNameT &&value)
AWS_WAFV2_API SourceStatistics(Aws::Utils::Json::JsonView jsonValue)
bool OrganizationHasBeenSet() const
SourceStatistics & WithSourceName(SourceNameT &&value)
AWS_WAFV2_API SourceStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceStatistics & WithIntent(IntentT &&value)
bool AmountHasBeenSet() const
double GetPercentage() const
void SetSourceCategory(SourceCategoryT &&value)
bool VerifiedHasBeenSet() const
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool IntentHasBeenSet() const
SourceStatistics & WithVerified(bool value)
SourceStatistics & WithGroupByValue(GroupByValueT &&value)
AWS_WAFV2_API SourceStatistics()=default
SourceStatistics & WithPercentage(double value)
bool PercentageHasBeenSet() const
void SetOrganization(OrganizationT &&value)
SourceStatistics & WithAmount(AmountT &&value)
bool GroupByValueHasBeenSet() const
bool RequestCountHasBeenSet() const
const Aws::String & GetGroupByValue() const
void SetIntent(IntentT &&value)
const Aws::String & GetIntent() const
SourceStatistics & WithRequestCount(long long value)
void SetVerified(bool value)
const Aws::String & GetOrganization() const
const Aws::String & GetSourceName() const
bool SourceNameHasBeenSet() const
const Aws::String & GetAmount() const
bool SourceCategoryHasBeenSet() const
long long GetRequestCount() const
SourceStatistics & WithSourceCategory(SourceCategoryT &&value)
void SetGroupByValue(GroupByValueT &&value)
SourceStatistics & WithOrganization(OrganizationT &&value)
const Aws::String & GetSourceCategory() const
void SetAmount(AmountT &&value)
void SetRequestCount(long long value)
void SetPercentage(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue