/* * 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 gamelift-2015-10-01.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.GameLift.Model { /// /// Represents an authorization for a VPC peering connection between the VPC for an Amazon /// GameLift fleet and another VPC on an account you have access to. This authorization /// must exist and be valid for the peering connection to be established. Authorizations /// are valid for 24 hours after they are issued. /// /// /// /// Related actions /// /// /// /// All /// APIs by task /// /// public partial class VpcPeeringAuthorization { private DateTime? _creationTime; private DateTime? _expirationTime; private string _gameLiftAwsAccountId; private string _peerVpcAwsAccountId; private string _peerVpcId; /// /// Gets and sets the property CreationTime. /// /// Time stamp indicating when this authorization was issued. Format is a number expressed /// in Unix time as milliseconds (for example "1469498468.057"). /// /// public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// /// Gets and sets the property ExpirationTime. /// /// Time stamp indicating when this authorization expires (24 hours after issuance). Format /// is a number expressed in Unix time as milliseconds (for example "1469498468.057"). /// /// public DateTime ExpirationTime { get { return this._expirationTime.GetValueOrDefault(); } set { this._expirationTime = value; } } // Check to see if ExpirationTime property is set internal bool IsSetExpirationTime() { return this._expirationTime.HasValue; } /// /// Gets and sets the property GameLiftAwsAccountId. /// /// A unique identifier for the Amazon Web Services account that you use to manage your /// Amazon GameLift fleet. You can find your Account ID in the Amazon Web Services Management /// Console under account settings. /// /// [AWSProperty(Min=1, Max=1024)] public string GameLiftAwsAccountId { get { return this._gameLiftAwsAccountId; } set { this._gameLiftAwsAccountId = value; } } // Check to see if GameLiftAwsAccountId property is set internal bool IsSetGameLiftAwsAccountId() { return this._gameLiftAwsAccountId != null; } /// /// Gets and sets the property PeerVpcAwsAccountId. /// /// The authorization's peer VPC Amazon Web Services account ID. /// /// [AWSProperty(Min=1, Max=1024)] public string PeerVpcAwsAccountId { get { return this._peerVpcAwsAccountId; } set { this._peerVpcAwsAccountId = value; } } // Check to see if PeerVpcAwsAccountId property is set internal bool IsSetPeerVpcAwsAccountId() { return this._peerVpcAwsAccountId != null; } /// /// Gets and sets the property PeerVpcId. /// /// A unique identifier for a VPC with resources to be accessed by your Amazon GameLift /// fleet. The VPC must be in the same Region as your fleet. To look up a VPC ID, use /// the VPC Dashboard in the Amazon /// Web Services Management Console. Learn more about VPC peering in VPC /// Peering with Amazon GameLift Fleets. /// /// [AWSProperty(Min=1, Max=1024)] public string PeerVpcId { get { return this._peerVpcId; } set { this._peerVpcId = value; } } // Check to see if PeerVpcId property is set internal bool IsSetPeerVpcId() { return this._peerVpcId != null; } } }