/* * 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 license-manager-2018-08-01.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.LicenseManager.Model { /// /// Container for the parameters to the CreateLicenseManagerReportGenerator operation. /// Creates a report generator. /// public partial class CreateLicenseManagerReportGeneratorRequest : AmazonLicenseManagerRequest { private string _clientToken; private string _description; private ReportContext _reportContext; private ReportFrequency _reportFrequency; private string _reportGeneratorName; private List _tags = new List(); private List _type = new List(); /// /// Gets and sets the property ClientToken. /// /// Unique, case-sensitive identifier that you provide to ensure the idempotency of the /// request. /// /// [AWSProperty(Required=true, Min=1, Max=36)] public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// /// Gets and sets the property Description. /// /// Description of the report generator. /// /// public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property ReportContext. /// /// Defines the type of license configuration the report generator tracks. /// /// [AWSProperty(Required=true)] public ReportContext ReportContext { get { return this._reportContext; } set { this._reportContext = value; } } // Check to see if ReportContext property is set internal bool IsSetReportContext() { return this._reportContext != null; } /// /// Gets and sets the property ReportFrequency. /// /// Frequency by which reports are generated. Reports can be generated daily, monthly, /// or weekly. /// /// [AWSProperty(Required=true)] public ReportFrequency ReportFrequency { get { return this._reportFrequency; } set { this._reportFrequency = value; } } // Check to see if ReportFrequency property is set internal bool IsSetReportFrequency() { return this._reportFrequency != null; } /// /// Gets and sets the property ReportGeneratorName. /// /// Name of the report generator. /// /// [AWSProperty(Required=true, Min=1, Max=100)] public string ReportGeneratorName { get { return this._reportGeneratorName; } set { this._reportGeneratorName = value; } } // Check to see if ReportGeneratorName property is set internal bool IsSetReportGeneratorName() { return this._reportGeneratorName != null; } /// /// Gets and sets the property Tags. /// /// Tags to add to the report generator. /// /// public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// /// Gets and sets the property Type. /// /// Type of reports to generate. The following report types an be generated: /// ///
  • /// /// License configuration report - Reports the number and details of consumed licenses /// for a license configuration. /// ///
  • /// /// Resource report - Reports the tracked licenses and resource consumption for a license /// configuration. /// ///
///
[AWSProperty(Required=true)] public List Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null && this._type.Count > 0; } } }