/*
* 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 resiliencehub-2020-04-30.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.ResilienceHub.Model
{
///
/// Defines a recommendation.
///
public partial class RecommendationItem
{
private bool? _alreadyImplemented;
private string _resourceId;
private string _targetAccountId;
private string _targetRegion;
///
/// Gets and sets the property AlreadyImplemented.
///
/// Specifies if the recommendation has already been implemented.
///
///
public bool AlreadyImplemented
{
get { return this._alreadyImplemented.GetValueOrDefault(); }
set { this._alreadyImplemented = value; }
}
// Check to see if AlreadyImplemented property is set
internal bool IsSetAlreadyImplemented()
{
return this._alreadyImplemented.HasValue;
}
///
/// Gets and sets the property ResourceId.
///
/// The resource identifier.
///
///
[AWSProperty(Min=1, Max=500)]
public string ResourceId
{
get { return this._resourceId; }
set { this._resourceId = value; }
}
// Check to see if ResourceId property is set
internal bool IsSetResourceId()
{
return this._resourceId != null;
}
///
/// Gets and sets the property TargetAccountId.
///
/// The target account identifier.
///
///
public string TargetAccountId
{
get { return this._targetAccountId; }
set { this._targetAccountId = value; }
}
// Check to see if TargetAccountId property is set
internal bool IsSetTargetAccountId()
{
return this._targetAccountId != null;
}
///
/// Gets and sets the property TargetRegion.
///
/// The target region.
///
///
public string TargetRegion
{
get { return this._targetRegion; }
set { this._targetRegion = value; }
}
// Check to see if TargetRegion property is set
internal bool IsSetTargetRegion()
{
return this._targetRegion != null;
}
}
}