/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the wafv2-2019-07-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.WAFV2.Model
{
///
/// 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
.
///
///
///
public partial class VersionToPublish
{
private string _associatedRuleGroupArn;
private int? _forecastedLifetime;
///
/// Gets and sets the property AssociatedRuleGroupArn.
///
/// The Amazon Resource Name (ARN) of the vendor's rule group that's used in the published
/// managed rule group version.
///
///
[AWSProperty(Min=20, Max=2048)]
public string AssociatedRuleGroupArn
{
get { return this._associatedRuleGroupArn; }
set { this._associatedRuleGroupArn = value; }
}
// Check to see if AssociatedRuleGroupArn property is set
internal bool IsSetAssociatedRuleGroupArn()
{
return this._associatedRuleGroupArn != null;
}
///
/// Gets and sets the property ForecastedLifetime.
///
/// The amount of time the vendor expects this version of the managed rule group to last,
/// in days.
///
///
[AWSProperty(Min=1)]
public int ForecastedLifetime
{
get { return this._forecastedLifetime.GetValueOrDefault(); }
set { this._forecastedLifetime = value; }
}
// Check to see if ForecastedLifetime property is set
internal bool IsSetForecastedLifetime()
{
return this._forecastedLifetime.HasValue;
}
}
}