7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/shield/model/Limit.h>
49 template<
typename ProtectedResourceTypeLimitsT = Aws::Vector<Limit>>
50 void SetProtectedResourceTypeLimits(ProtectedResourceTypeLimitsT&& value) { m_protectedResourceTypeLimitsHasBeenSet =
true; m_protectedResourceTypeLimits = std::forward<ProtectedResourceTypeLimitsT>(value); }
51 template<
typename ProtectedResourceTypeLimitsT = Aws::Vector<Limit>>
53 template<
typename ProtectedResourceTypeLimitsT = Limit>
54 ProtectionLimits&
AddProtectedResourceTypeLimits(ProtectedResourceTypeLimitsT&& value) { m_protectedResourceTypeLimitsHasBeenSet =
true; m_protectedResourceTypeLimits.emplace_back(std::forward<ProtectedResourceTypeLimitsT>(value));
return *
this; }
59 bool m_protectedResourceTypeLimitsHasBeenSet =
false;
const Aws::Vector< Limit > & GetProtectedResourceTypeLimits() const
AWS_SHIELD_API ProtectionLimits()=default
AWS_SHIELD_API ProtectionLimits(Aws::Utils::Json::JsonView jsonValue)
void SetProtectedResourceTypeLimits(ProtectedResourceTypeLimitsT &&value)
bool ProtectedResourceTypeLimitsHasBeenSet() const
AWS_SHIELD_API ProtectionLimits & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
ProtectionLimits & AddProtectedResourceTypeLimits(ProtectedResourceTypeLimitsT &&value)
ProtectionLimits & WithProtectedResourceTypeLimits(ProtectedResourceTypeLimitsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue