/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A version of the named managed rule group, that the rule group's vendor
* publishes for use by customers. This is intended for use only by
* vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web
* Services Marketplace sellers. Vendors, you can use the managed rule set
* APIs to provide controlled rollout of your versioned managed rule group
* offerings for your customers. The APIs are ListManagedRuleSets
,
* GetManagedRuleSet
, PutManagedRuleSetVersions
, and
* UpdateManagedRuleSetVersionExpiryDate
.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the vendor's rule group that's used in the * published managed rule group version.
*/ inline const Aws::String& GetAssociatedRuleGroupArn() const{ return m_associatedRuleGroupArn; } /** *The Amazon Resource Name (ARN) of the vendor's rule group that's used in the * published managed rule group version.
*/ inline bool AssociatedRuleGroupArnHasBeenSet() const { return m_associatedRuleGroupArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the vendor's rule group that's used in the * published managed rule group version.
*/ inline void SetAssociatedRuleGroupArn(const Aws::String& value) { m_associatedRuleGroupArnHasBeenSet = true; m_associatedRuleGroupArn = value; } /** *The Amazon Resource Name (ARN) of the vendor's rule group that's used in the * published managed rule group version.
*/ inline void SetAssociatedRuleGroupArn(Aws::String&& value) { m_associatedRuleGroupArnHasBeenSet = true; m_associatedRuleGroupArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the vendor's rule group that's used in the * published managed rule group version.
*/ inline void SetAssociatedRuleGroupArn(const char* value) { m_associatedRuleGroupArnHasBeenSet = true; m_associatedRuleGroupArn.assign(value); } /** *The Amazon Resource Name (ARN) of the vendor's rule group that's used in the * published managed rule group version.
*/ inline VersionToPublish& WithAssociatedRuleGroupArn(const Aws::String& value) { SetAssociatedRuleGroupArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the vendor's rule group that's used in the * published managed rule group version.
*/ inline VersionToPublish& WithAssociatedRuleGroupArn(Aws::String&& value) { SetAssociatedRuleGroupArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the vendor's rule group that's used in the * published managed rule group version.
*/ inline VersionToPublish& WithAssociatedRuleGroupArn(const char* value) { SetAssociatedRuleGroupArn(value); return *this;} /** *The amount of time the vendor expects this version of the managed rule group * to last, in days.
*/ inline int GetForecastedLifetime() const{ return m_forecastedLifetime; } /** *The amount of time the vendor expects this version of the managed rule group * to last, in days.
*/ inline bool ForecastedLifetimeHasBeenSet() const { return m_forecastedLifetimeHasBeenSet; } /** *The amount of time the vendor expects this version of the managed rule group * to last, in days.
*/ inline void SetForecastedLifetime(int value) { m_forecastedLifetimeHasBeenSet = true; m_forecastedLifetime = value; } /** *The amount of time the vendor expects this version of the managed rule group * to last, in days.
*/ inline VersionToPublish& WithForecastedLifetime(int value) { SetForecastedLifetime(value); return *this;} private: Aws::String m_associatedRuleGroupArn; bool m_associatedRuleGroupArnHasBeenSet = false; int m_forecastedLifetime; bool m_forecastedLifetimeHasBeenSet = false; }; } // namespace Model } // namespace WAFV2 } // namespace Aws