/*
* 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
{
///
/// This is the response object from the DescribeDimensionKeys operation.
///
public partial class DescribeDimensionKeysResponse : AmazonWebServiceResponse
{
private DateTime? _alignedEndTime;
private DateTime? _alignedStartTime;
private List _keys = new List();
private string _nextToken;
private List _partitionKeys = new List();
///
/// Gets and sets the property AlignedEndTime.
///
/// The end time for the returned dimension keys, after alignment to a granular boundary
/// (as specified by PeriodInSeconds
). AlignedEndTime
will be
/// greater than or equal to the value of the user-specified Endtime
.
///
///
public DateTime AlignedEndTime
{
get { return this._alignedEndTime.GetValueOrDefault(); }
set { this._alignedEndTime = value; }
}
// Check to see if AlignedEndTime property is set
internal bool IsSetAlignedEndTime()
{
return this._alignedEndTime.HasValue;
}
///
/// Gets and sets the property AlignedStartTime.
///
/// The start time for the returned dimension keys, after alignment to a granular boundary
/// (as specified by PeriodInSeconds
). AlignedStartTime
will
/// be less than or equal to the value of the user-specified StartTime
.
///
///
public DateTime AlignedStartTime
{
get { return this._alignedStartTime.GetValueOrDefault(); }
set { this._alignedStartTime = value; }
}
// Check to see if AlignedStartTime property is set
internal bool IsSetAlignedStartTime()
{
return this._alignedStartTime.HasValue;
}
///
/// Gets and sets the property Keys.
///
/// The dimension keys that were requested.
///
///
public List Keys
{
get { return this._keys; }
set { this._keys = value; }
}
// Check to see if Keys property is set
internal bool IsSetKeys()
{
return this._keys != null && this._keys.Count > 0;
}
///
/// Gets and sets the property NextToken.
///
/// A pagination token that indicates the response didn’t return all available records
/// because MaxRecords
was specified in the previous request. To get the
/// remaining records, specify NextToken
in a separate request with this
/// value.
///
///
[AWSProperty(Min=1, Max=8192)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
///
/// Gets and sets the property PartitionKeys.
///
/// If PartitionBy
was present in the request, PartitionKeys
/// contains the breakdown of dimension keys by the specified partitions.
///
///
public List PartitionKeys
{
get { return this._partitionKeys; }
set { this._partitionKeys = value; }
}
// Check to see if PartitionKeys property is set
internal bool IsSetPartitionKeys()
{
return this._partitionKeys != null && this._partitionKeys.Count > 0;
}
}
}