/*
* 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 networkmanager-2019-07-05.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.NetworkManager.Model
{
///
/// Container for the parameters to the GetNetworkResourceRelationships operation.
/// Gets the network resource relationships for the specified global network.
///
public partial class GetNetworkResourceRelationshipsRequest : AmazonNetworkManagerRequest
{
private string _accountId;
private string _awsRegion;
private string _coreNetworkId;
private string _globalNetworkId;
private int? _maxResults;
private string _nextToken;
private string _registeredGatewayArn;
private string _resourceArn;
private string _resourceType;
///
/// Gets and sets the property AccountId.
///
/// The Amazon Web Services account ID.
///
///
[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 AwsRegion.
///
/// The Amazon Web Services Region.
///
///
[AWSProperty(Min=1, Max=63)]
public string AwsRegion
{
get { return this._awsRegion; }
set { this._awsRegion = value; }
}
// Check to see if AwsRegion property is set
internal bool IsSetAwsRegion()
{
return this._awsRegion != null;
}
///
/// Gets and sets the property CoreNetworkId.
///
/// The ID of a core network.
///
///
[AWSProperty(Min=0, Max=50)]
public string CoreNetworkId
{
get { return this._coreNetworkId; }
set { this._coreNetworkId = value; }
}
// Check to see if CoreNetworkId property is set
internal bool IsSetCoreNetworkId()
{
return this._coreNetworkId != null;
}
///
/// Gets and sets the property GlobalNetworkId.
///
/// The ID of the global network.
///
///
[AWSProperty(Required=true, Min=0, Max=50)]
public string GlobalNetworkId
{
get { return this._globalNetworkId; }
set { this._globalNetworkId = value; }
}
// Check to see if GlobalNetworkId property is set
internal bool IsSetGlobalNetworkId()
{
return this._globalNetworkId != null;
}
///
/// Gets and sets the property MaxResults.
///
/// The maximum number of results to return.
///
///
[AWSProperty(Min=1, Max=500)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
///
/// Gets and sets the property NextToken.
///
/// The token for the next page of results.
///
///
[AWSProperty(Min=0, Max=2048)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
///
/// Gets and sets the property RegisteredGatewayArn.
///
/// The ARN of the registered gateway.
///
///
[AWSProperty(Min=0, Max=1500)]
public string RegisteredGatewayArn
{
get { return this._registeredGatewayArn; }
set { this._registeredGatewayArn = value; }
}
// Check to see if RegisteredGatewayArn property is set
internal bool IsSetRegisteredGatewayArn()
{
return this._registeredGatewayArn != null;
}
///
/// Gets and sets the property ResourceArn.
///
/// The ARN of the gateway.
///
///
[AWSProperty(Min=0, Max=1500)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
///
/// Gets and sets the property ResourceType.
///
/// The resource type.
///
///
///
/// The following are the supported resource types for Direct Connect:
///
/// -
///
///
dxcon
///
/// -
///
///
dx-gateway
///
/// -
///
///
dx-vif
///
///
///
/// The following are the supported resource types for Network Manager:
///
/// -
///
///
connection
///
/// -
///
///
device
///
/// -
///
///
link
///
/// -
///
///
site
///
///
///
/// The following are the supported resource types for Amazon VPC:
///
/// -
///
///
customer-gateway
///
/// -
///
///
transit-gateway
///
/// -
///
///
transit-gateway-attachment
///
/// -
///
///
transit-gateway-connect-peer
///
/// -
///
///
transit-gateway-route-table
///
/// -
///
///
vpn-connection
///
///
///
[AWSProperty(Min=0, Max=256)]
public string ResourceType
{
get { return this._resourceType; }
set { this._resourceType = value; }
}
// Check to see if ResourceType property is set
internal bool IsSetResourceType()
{
return this._resourceType != null;
}
}
}