7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wafv2/WAFV2_EXPORTS.h>
50 template <
typename AssociatedRuleGroupArnT = Aws::String>
52 m_associatedRuleGroupArnHasBeenSet =
true;
53 m_associatedRuleGroupArn = std::forward<AssociatedRuleGroupArnT>(value);
55 template <
typename AssociatedRuleGroupArnT = Aws::String>
78 m_capacityHasBeenSet =
true;
95 m_forecastedLifetimeHasBeenSet =
true;
96 m_forecastedLifetime = value;
112 template <
typename PublishTimestampT = Aws::Utils::DateTime>
114 m_publishTimestampHasBeenSet =
true;
115 m_publishTimestamp = std::forward<PublishTimestampT>(value);
117 template <
typename PublishTimestampT = Aws::Utils::DateTime>
132 template <
typename LastUpdateTimestampT = Aws::Utils::DateTime>
134 m_lastUpdateTimestampHasBeenSet =
true;
135 m_lastUpdateTimestamp = std::forward<LastUpdateTimestampT>(value);
137 template <
typename LastUpdateTimestampT = Aws::Utils::DateTime>
152 template <
typename ExpiryTimestampT = Aws::Utils::DateTime>
154 m_expiryTimestampHasBeenSet =
true;
155 m_expiryTimestamp = std::forward<ExpiryTimestampT>(value);
157 template <
typename ExpiryTimestampT = Aws::Utils::DateTime>
166 long long m_capacity{0};
168 int m_forecastedLifetime{0};
175 bool m_associatedRuleGroupArnHasBeenSet =
false;
176 bool m_capacityHasBeenSet =
false;
177 bool m_forecastedLifetimeHasBeenSet =
false;
178 bool m_publishTimestampHasBeenSet =
false;
179 bool m_lastUpdateTimestampHasBeenSet =
false;
180 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue