/*
* 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 application-insights-2018-11-25.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.ApplicationInsights.Model
{
///
/// Describes the status of the application.
///
public partial class ApplicationInfo
{
private string _accountId;
private bool? _autoConfigEnabled;
private bool? _cweMonitorEnabled;
private DiscoveryType _discoveryType;
private string _lifeCycle;
private bool? _opsCenterEnabled;
private string _opsItemSNSTopicArn;
private string _remarks;
private string _resourceGroupName;
///
/// Gets and sets the property AccountId.
///
/// The AWS account ID for the owner of the application.
///
///
[AWSProperty(Min=12, Max=12)]
public string AccountId
{
get { return this._accountId; }
set { this._accountId = value; }
}
// Check to see if AccountId property is set
internal bool IsSetAccountId()
{
return this._accountId != null;
}
///
/// Gets and sets the property AutoConfigEnabled.
///
/// Indicates whether auto-configuration is turned on for this application.
///
///
public bool AutoConfigEnabled
{
get { return this._autoConfigEnabled.GetValueOrDefault(); }
set { this._autoConfigEnabled = value; }
}
// Check to see if AutoConfigEnabled property is set
internal bool IsSetAutoConfigEnabled()
{
return this._autoConfigEnabled.HasValue;
}
///
/// Gets and sets the property CWEMonitorEnabled.
///
/// Indicates whether Application Insights can listen to CloudWatch events for the application
/// resources, such as instance terminated
, failed deployment
,
/// and others.
///
///
public bool CWEMonitorEnabled
{
get { return this._cweMonitorEnabled.GetValueOrDefault(); }
set { this._cweMonitorEnabled = value; }
}
// Check to see if CWEMonitorEnabled property is set
internal bool IsSetCWEMonitorEnabled()
{
return this._cweMonitorEnabled.HasValue;
}
///
/// Gets and sets the property DiscoveryType.
///
/// The method used by Application Insights to onboard your resources.
///
///
public DiscoveryType DiscoveryType
{
get { return this._discoveryType; }
set { this._discoveryType = value; }
}
// Check to see if DiscoveryType property is set
internal bool IsSetDiscoveryType()
{
return this._discoveryType != null;
}
///
/// Gets and sets the property LifeCycle.
///
/// The lifecycle of the application.
///
///
public string LifeCycle
{
get { return this._lifeCycle; }
set { this._lifeCycle = value; }
}
// Check to see if LifeCycle property is set
internal bool IsSetLifeCycle()
{
return this._lifeCycle != null;
}
///
/// Gets and sets the property OpsCenterEnabled.
///
/// Indicates whether Application Insights will create opsItems for any problem detected
/// by Application Insights for an application.
///
///
public bool OpsCenterEnabled
{
get { return this._opsCenterEnabled.GetValueOrDefault(); }
set { this._opsCenterEnabled = value; }
}
// Check to see if OpsCenterEnabled property is set
internal bool IsSetOpsCenterEnabled()
{
return this._opsCenterEnabled.HasValue;
}
///
/// Gets and sets the property OpsItemSNSTopicArn.
///
/// The SNS topic provided to Application Insights that is associated to the created
/// opsItems to receive SNS notifications for opsItem updates.
///
///
[AWSProperty(Min=20, Max=300)]
public string OpsItemSNSTopicArn
{
get { return this._opsItemSNSTopicArn; }
set { this._opsItemSNSTopicArn = value; }
}
// Check to see if OpsItemSNSTopicArn property is set
internal bool IsSetOpsItemSNSTopicArn()
{
return this._opsItemSNSTopicArn != null;
}
///
/// Gets and sets the property Remarks.
///
/// The issues on the user side that block Application Insights from successfully monitoring
/// an application. Example remarks include:
///
/// -
///
/// “Configuring application, detected 1 Errors, 3 Warnings”
///
///
-
///
/// “Configuring application, detected 1 Unconfigured Components”
///
///
///
public string Remarks
{
get { return this._remarks; }
set { this._remarks = value; }
}
// Check to see if Remarks property is set
internal bool IsSetRemarks()
{
return this._remarks != null;
}
///
/// Gets and sets the property ResourceGroupName.
///
/// The name of the resource group used for the application.
///
///
[AWSProperty(Min=1, Max=256)]
public string ResourceGroupName
{
get { return this._resourceGroupName; }
set { this._resourceGroupName = value; }
}
// Check to see if ResourceGroupName property is set
internal bool IsSetResourceGroupName()
{
return this._resourceGroupName != null;
}
}
}