/*
* 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 xray-2016-04-12.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.XRay.Model
{
///
/// Information about an application that processed requests, users that made requests,
/// or downstream services, resources, and applications that an application used.
///
public partial class InsightImpactGraphService
{
private string _accountId;
private List _edges = new List();
private string _name;
private List _names = new List();
private int? _referenceId;
private string _type;
///
/// Gets and sets the property AccountId.
///
/// Identifier of the Amazon Web Services account in which the service runs.
///
///
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 Edges.
///
/// Connections to downstream services.
///
///
public List Edges
{
get { return this._edges; }
set { this._edges = value; }
}
// Check to see if Edges property is set
internal bool IsSetEdges()
{
return this._edges != null && this._edges.Count > 0;
}
///
/// Gets and sets the property Name.
///
/// The canonical name of the service.
///
///
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property Names.
///
/// A list of names for the service, including the canonical name.
///
///
public List Names
{
get { return this._names; }
set { this._names = value; }
}
// Check to see if Names property is set
internal bool IsSetNames()
{
return this._names != null && this._names.Count > 0;
}
///
/// Gets and sets the property ReferenceId.
///
/// Identifier for the service. Unique within the service map.
///
///
public int ReferenceId
{
get { return this._referenceId.GetValueOrDefault(); }
set { this._referenceId = value; }
}
// Check to see if ReferenceId property is set
internal bool IsSetReferenceId()
{
return this._referenceId.HasValue;
}
///
/// Gets and sets the property Type.
///
/// Identifier for the service. Unique within the service map.
///
/// -
///
/// Amazon Web Services Resource - The type of an Amazon Web Services resource. For example,
/// AWS::EC2::Instance for an application running on Amazon EC2 or AWS::DynamoDB::Table
/// for an Amazon DynamoDB table that the application used.
///
///
-
///
/// Amazon Web Services Service - The type of an Amazon Web Services service. For example,
/// AWS::DynamoDB for downstream calls to Amazon DynamoDB that didn't target a specific
/// table.
///
///
-
///
/// Amazon Web Services Service - The type of an Amazon Web Services service. For example,
/// AWS::DynamoDB for downstream calls to Amazon DynamoDB that didn't target a specific
/// table.
///
///
-
///
/// remote - A downstream service of indeterminate type.
///
///
///
public string Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}