/*
* 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 servicecatalog-2015-12-10.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.ServiceCatalog.Model
{
///
/// Information about a product view.
///
public partial class ProductViewDetail
{
private DateTime? _createdTime;
private string _productARN;
private ProductViewSummary _productViewSummary;
private SourceConnectionDetail _sourceConnection;
private Status _status;
///
/// Gets and sets the property CreatedTime.
///
/// The UTC time stamp of the creation time.
///
///
public DateTime CreatedTime
{
get { return this._createdTime.GetValueOrDefault(); }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime.HasValue;
}
///
/// Gets and sets the property ProductARN.
///
/// The ARN of the product.
///
///
[AWSProperty(Min=1, Max=150)]
public string ProductARN
{
get { return this._productARN; }
set { this._productARN = value; }
}
// Check to see if ProductARN property is set
internal bool IsSetProductARN()
{
return this._productARN != null;
}
///
/// Gets and sets the property ProductViewSummary.
///
/// Summary information about the product view.
///
///
public ProductViewSummary ProductViewSummary
{
get { return this._productViewSummary; }
set { this._productViewSummary = value; }
}
// Check to see if ProductViewSummary property is set
internal bool IsSetProductViewSummary()
{
return this._productViewSummary != null;
}
///
/// Gets and sets the property SourceConnection.
///
/// A top level ProductViewDetail
response containing details about the product’s
/// connection. Service Catalog returns this field for the CreateProduct
,
/// UpdateProduct
, DescribeProductAsAdmin
, and SearchProductAsAdmin
/// APIs. This response contains the same fields as the ConnectionParameters
/// request, with the addition of the LastSync
response.
///
///
public SourceConnectionDetail SourceConnection
{
get { return this._sourceConnection; }
set { this._sourceConnection = value; }
}
// Check to see if SourceConnection property is set
internal bool IsSetSourceConnection()
{
return this._sourceConnection != null;
}
///
/// Gets and sets the property Status.
///
/// The status of the product.
///
/// -
///
///
AVAILABLE
- The product is ready for use.
///
/// -
///
///
CREATING
- Product creation has started; the product is not ready for
/// use.
///
/// -
///
///
FAILED
- An action failed.
///
///
///
public Status Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}