7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
35 AWS_SHIELD_API
Limit() =
default;
47 template<
typename TypeT = Aws::String>
48 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
49 template<
typename TypeT = Aws::String>
58 inline long long GetMax()
const {
return m_max; }
60 inline void SetMax(
long long value) { m_maxHasBeenSet =
true; m_max = value; }
66 bool m_typeHasBeenSet =
false;
69 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