7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/shield/Shield_EXPORTS.h>
30 AWS_SHIELD_API
Limit() =
default;
41 template <
typename TypeT = Aws::String>
43 m_typeHasBeenSet =
true;
44 m_type = std::forward<TypeT>(value);
46 template <
typename TypeT = Aws::String>
48 SetType(std::forward<TypeT>(value));
58 inline long long GetMax()
const {
return m_max; }
60 inline void SetMax(
long long value) {
61 m_maxHasBeenSet =
true;
73 bool m_typeHasBeenSet =
false;
74 bool m_maxHasBeenSet =
false;
bool TypeHasBeenSet() const
AWS_SHIELD_API Limit(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetType() const
Limit & WithType(TypeT &&value)
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
Limit & WithMax(long long value)
bool MaxHasBeenSet() const
void SetMax(long long value)
AWS_SHIELD_API Limit & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SHIELD_API Limit()=default
void SetType(TypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue