/*
* 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
{
///
/// An object that describes the details for a specified dimension.
///
public partial class DimensionKeyDetail
{
private string _dimension;
private DetailStatus _status;
private string _value;
///
/// Gets and sets the property Dimension.
///
/// The full name of the dimension. The full name includes the group name and key name.
/// The following values are valid:
///
/// -
///
///
db.query.statement
(Amazon DocumentDB)
///
/// -
///
///
db.sql.statement
(Amazon RDS and Aurora)
///
///
///
[AWSProperty(Min=0, Max=256)]
public string Dimension
{
get { return this._dimension; }
set { this._dimension = value; }
}
// Check to see if Dimension property is set
internal bool IsSetDimension()
{
return this._dimension != null;
}
///
/// Gets and sets the property Status.
///
/// The status of the dimension detail data. Possible values include the following:
///
/// -
///
///
AVAILABLE
- The dimension detail data is ready to be retrieved.
///
/// -
///
///
PROCESSING
- The dimension detail data isn't ready to be retrieved because
/// more processing time is required. If the requested detail data has the status PROCESSING
,
/// Performance Insights returns the truncated query.
///
/// -
///
///
UNAVAILABLE
- The dimension detail data could not be collected successfully.
///
///
///
public DetailStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property Value.
///
/// The value of the dimension detail data. Depending on the return status, this value
/// is either the full or truncated SQL query for the following dimensions:
///
/// -
///
///
db.query.statement
(Amazon DocumentDB)
///
/// -
///
///
db.sql.statement
(Amazon RDS and Aurora)
///
///
///
[AWSProperty(Min=0, Max=256)]
public string Value
{
get { return this._value; }
set { this._value = value; }
}
// Check to see if Value property is set
internal bool IsSetValue()
{
return this._value != null;
}
}
}