7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
58 inline void SetAssociatedRuleGroupArn(
const char* value) { m_associatedRuleGroupArnHasBeenSet =
true; m_associatedRuleGroupArn.assign(value); }
79 inline void SetCapacity(
long long value) { m_capacityHasBeenSet =
true; m_capacity = value; }
90 inline void SetForecastedLifetime(
int value) { m_forecastedLifetimeHasBeenSet =
true; m_forecastedLifetime = value; }
138 bool m_associatedRuleGroupArnHasBeenSet =
false;
140 long long m_capacity;
141 bool m_capacityHasBeenSet =
false;
143 int m_forecastedLifetime;
144 bool m_forecastedLifetimeHasBeenSet =
false;
147 bool m_publishTimestampHasBeenSet =
false;
150 bool m_lastUpdateTimestampHasBeenSet =
false;
153 bool m_expiryTimestampHasBeenSet =
false;
int GetForecastedLifetime() const
const Aws::Utils::DateTime & GetLastUpdateTimestamp() const
ManagedRuleSetVersion & WithCapacity(long long value)
const Aws::String & GetAssociatedRuleGroupArn() const
ManagedRuleSetVersion & WithExpiryTimestamp(const Aws::Utils::DateTime &value)
bool ForecastedLifetimeHasBeenSet() const
ManagedRuleSetVersion & WithPublishTimestamp(Aws::Utils::DateTime &&value)
void SetAssociatedRuleGroupArn(const char *value)
void SetAssociatedRuleGroupArn(Aws::String &&value)
bool PublishTimestampHasBeenSet() const
ManagedRuleSetVersion & WithForecastedLifetime(int value)
long long GetCapacity() const
void SetForecastedLifetime(int value)
ManagedRuleSetVersion & WithLastUpdateTimestamp(Aws::Utils::DateTime &&value)
ManagedRuleSetVersion & WithAssociatedRuleGroupArn(Aws::String &&value)
ManagedRuleSetVersion & WithPublishTimestamp(const Aws::Utils::DateTime &value)
ManagedRuleSetVersion & WithExpiryTimestamp(Aws::Utils::DateTime &&value)
void SetLastUpdateTimestamp(const Aws::Utils::DateTime &value)
void SetExpiryTimestamp(Aws::Utils::DateTime &&value)
AWS_WAFV2_API ManagedRuleSetVersion(Aws::Utils::Json::JsonView jsonValue)
void SetPublishTimestamp(const Aws::Utils::DateTime &value)
ManagedRuleSetVersion & WithAssociatedRuleGroupArn(const Aws::String &value)
bool LastUpdateTimestampHasBeenSet() const
AWS_WAFV2_API ManagedRuleSetVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetPublishTimestamp() const
void SetAssociatedRuleGroupArn(const Aws::String &value)
void SetCapacity(long long value)
void SetPublishTimestamp(Aws::Utils::DateTime &&value)
ManagedRuleSetVersion & WithLastUpdateTimestamp(const Aws::Utils::DateTime &value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool ExpiryTimestampHasBeenSet() const
AWS_WAFV2_API ManagedRuleSetVersion()
bool AssociatedRuleGroupArnHasBeenSet() const
void SetLastUpdateTimestamp(Aws::Utils::DateTime &&value)
ManagedRuleSetVersion & WithAssociatedRuleGroupArn(const char *value)
bool CapacityHasBeenSet() const
const Aws::Utils::DateTime & GetExpiryTimestamp() const
void SetExpiryTimestamp(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue