/* * 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 pi-2018-02-27.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.PI.Model { /// /// Container for the parameters to the GetResourceMetadata operation. /// Retrieve the metadata for different features. For example, the metadata might indicate /// that a feature is turned on or off on a specific DB instance. /// public partial class GetResourceMetadataRequest : AmazonPIRequest { private string _identifier; private ServiceType _serviceType; /// /// Gets and sets the property Identifier. /// /// An immutable identifier for a data source that is unique for an Amazon Web Services /// Region. Performance Insights gathers metrics from this data source. To use a DB instance /// as a data source, specify its DbiResourceId value. For example, specify /// db-ABCDEFGHIJKLMNOPQRSTU1VW2X. /// /// [AWSProperty(Required=true, Min=0, Max=256)] public string Identifier { get { return this._identifier; } set { this._identifier = value; } } // Check to see if Identifier property is set internal bool IsSetIdentifier() { return this._identifier != null; } /// /// Gets and sets the property ServiceType. /// /// The Amazon Web Services service for which Performance Insights returns metrics. /// /// [AWSProperty(Required=true)] public ServiceType ServiceType { get { return this._serviceType; } set { this._serviceType = value; } } // Check to see if ServiceType property is set internal bool IsSetServiceType() { return this._serviceType != null; } } }