7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
56 template<
typename AssociatedRuleGroupArnT = Aws::String>
58 template<
typename AssociatedRuleGroupArnT = Aws::String>
77 inline void SetCapacity(
long long value) { m_capacityHasBeenSet =
true; m_capacity = value; }
88 inline void SetForecastedLifetime(
int value) { m_forecastedLifetimeHasBeenSet =
true; m_forecastedLifetime = value; }
100 template<
typename PublishTimestampT = Aws::Utils::DateTime>
102 template<
typename PublishTimestampT = Aws::Utils::DateTime>
114 template<
typename LastUpdateTimestampT = Aws::Utils::DateTime>
116 template<
typename LastUpdateTimestampT = Aws::Utils::DateTime>
128 template<
typename ExpiryTimestampT = Aws::Utils::DateTime>
130 template<
typename ExpiryTimestampT = Aws::Utils::DateTime>
136 bool m_associatedRuleGroupArnHasBeenSet =
false;
138 long long m_capacity{0};
139 bool m_capacityHasBeenSet =
false;
141 int m_forecastedLifetime{0};
142 bool m_forecastedLifetimeHasBeenSet =
false;
145 bool m_publishTimestampHasBeenSet =
false;
148 bool m_lastUpdateTimestampHasBeenSet =
false;
151 bool m_expiryTimestampHasBeenSet =
false;
int GetForecastedLifetime() const
const Aws::Utils::DateTime & GetLastUpdateTimestamp() const
ManagedRuleSetVersion & WithCapacity(long long value)
const Aws::String & GetAssociatedRuleGroupArn() const
bool ForecastedLifetimeHasBeenSet() const
void SetExpiryTimestamp(ExpiryTimestampT &&value)
bool PublishTimestampHasBeenSet() const
ManagedRuleSetVersion & WithForecastedLifetime(int value)
long long GetCapacity() const
void SetForecastedLifetime(int value)
AWS_WAFV2_API ManagedRuleSetVersion(Aws::Utils::Json::JsonView jsonValue)
bool LastUpdateTimestampHasBeenSet() const
AWS_WAFV2_API ManagedRuleSetVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetPublishTimestamp() const
AWS_WAFV2_API ManagedRuleSetVersion()=default
void SetCapacity(long long value)
void SetAssociatedRuleGroupArn(AssociatedRuleGroupArnT &&value)
ManagedRuleSetVersion & WithPublishTimestamp(PublishTimestampT &&value)
ManagedRuleSetVersion & WithAssociatedRuleGroupArn(AssociatedRuleGroupArnT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool ExpiryTimestampHasBeenSet() const
bool AssociatedRuleGroupArnHasBeenSet() const
void SetLastUpdateTimestamp(LastUpdateTimestampT &&value)
ManagedRuleSetVersion & WithExpiryTimestamp(ExpiryTimestampT &&value)
bool CapacityHasBeenSet() const
ManagedRuleSetVersion & WithLastUpdateTimestamp(LastUpdateTimestampT &&value)
const Aws::Utils::DateTime & GetExpiryTimestamp() const
void SetPublishTimestamp(PublishTimestampT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue