/*
* 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
{
///
/// Container for the parameters to the UpdateApplication operation.
/// Updates the application.
///
public partial class UpdateApplicationRequest : AmazonApplicationInsightsRequest
{
private bool? _autoConfigEnabled;
private bool? _cweMonitorEnabled;
private bool? _opsCenterEnabled;
private string _opsItemSNSTopicArn;
private bool? _removeSNSTopic;
private string _resourceGroupName;
///
/// Gets and sets the property AutoConfigEnabled.
///
/// Turns auto-configuration on or off.
///
///
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 OpsCenterEnabled.
///
/// When set to true
, creates opsItems for any problems detected on 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
/// opsItem. Allows you to receive notifications for updates to the opsItem.
///
///
[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 RemoveSNSTopic.
///
/// Disassociates the SNS topic from the opsItem created for detected problems.
///
///
public bool RemoveSNSTopic
{
get { return this._removeSNSTopic.GetValueOrDefault(); }
set { this._removeSNSTopic = value; }
}
// Check to see if RemoveSNSTopic property is set
internal bool IsSetRemoveSNSTopic()
{
return this._removeSNSTopic.HasValue;
}
///
/// Gets and sets the property ResourceGroupName.
///
/// The name of the resource group.
///
///
[AWSProperty(Required=true, 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;
}
}
}