7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/shield/Shield_EXPORTS.h>
30 AWS_SHIELD_API
Limit() =
default;
31 AWS_SHIELD_API
Limit(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_SHIELD_API
Limit&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_SHIELD_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
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
const Aws::String & GetType() const
Limit & WithType(TypeT &&value)
Limit & WithMax(long long value)
AWS_SHIELD_API Limit(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool MaxHasBeenSet() const
void SetMax(long long value)
AWS_SHIELD_API Limit & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_SHIELD_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_SHIELD_API Limit()=default
void SetType(TypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String