/*
* 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 proton-2020-07-20.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.Proton.Model
{
///
/// The detailed data about the current state of the component.
///
public partial class ComponentState
{
private string _serviceInstanceName;
private string _serviceName;
private string _serviceSpec;
private string _templateFile;
///
/// Gets and sets the property ServiceInstanceName.
///
/// The name of the service instance that this component is attached to. Provided when
/// a component is attached to a service instance.
///
///
[AWSProperty(Min=0, Max=100)]
public string ServiceInstanceName
{
get { return this._serviceInstanceName; }
set { this._serviceInstanceName = value; }
}
// Check to see if ServiceInstanceName property is set
internal bool IsSetServiceInstanceName()
{
return this._serviceInstanceName != null;
}
///
/// Gets and sets the property ServiceName.
///
/// The name of the service that serviceInstanceName
is associated with.
/// Provided when a component is attached to a service instance.
///
///
[AWSProperty(Min=0, Max=100)]
public string ServiceName
{
get { return this._serviceName; }
set { this._serviceName = value; }
}
// Check to see if ServiceName property is set
internal bool IsSetServiceName()
{
return this._serviceName != null;
}
///
/// Gets and sets the property ServiceSpec.
///
/// The service spec that the component uses to access service inputs. Provided when a
/// component is attached to a service instance.
///
///
[AWSProperty(Sensitive=true, Min=1, Max=51200)]
public string ServiceSpec
{
get { return this._serviceSpec; }
set { this._serviceSpec = value; }
}
// Check to see if ServiceSpec property is set
internal bool IsSetServiceSpec()
{
return this._serviceSpec != null;
}
///
/// Gets and sets the property TemplateFile.
///
/// The template file used.
///
///
[AWSProperty(Sensitive=true, Min=1, Max=51200)]
public string TemplateFile
{
get { return this._templateFile; }
set { this._templateFile = value; }
}
// Check to see if TemplateFile property is set
internal bool IsSetTemplateFile()
{
return this._templateFile != null;
}
}
}