/* * 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 { /// /// Set of rule statements, used with FlexMatch, that determine how to build your player /// matches. Each rule set describes a type of group to be created and defines the parameters /// for acceptable player matches. /// /// /// /// A rule set may define the following elements for a match. For detailed information /// and examples showing how to construct a rule set, see Build /// a FlexMatch rule set. /// /// /// public partial class MatchmakingRuleSet { private DateTime? _creationTime; private string _ruleSetArn; private string _ruleSetBody; private string _ruleSetName; /// /// Gets and sets the property CreationTime. /// /// A time stamp indicating when this data object was created. 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 RuleSetArn. /// /// The Amazon Resource Name (ARN) /// that is assigned to a Amazon GameLift matchmaking rule set resource and uniquely identifies /// it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::matchmakingruleset/<ruleset /// name>. In a GameLift rule set ARN, the resource ID matches the RuleSetName /// value. /// /// public string RuleSetArn { get { return this._ruleSetArn; } set { this._ruleSetArn = value; } } // Check to see if RuleSetArn property is set internal bool IsSetRuleSetArn() { return this._ruleSetArn != null; } /// /// Gets and sets the property RuleSetBody. /// /// A collection of matchmaking rules, formatted as a JSON string. Comments are not allowed /// in JSON, but most elements support a description field. /// /// [AWSProperty(Required=true, Min=1, Max=65535)] public string RuleSetBody { get { return this._ruleSetBody; } set { this._ruleSetBody = value; } } // Check to see if RuleSetBody property is set internal bool IsSetRuleSetBody() { return this._ruleSetBody != null; } /// /// Gets and sets the property RuleSetName. /// /// A unique identifier for the matchmaking rule set /// /// [AWSProperty(Max=128)] public string RuleSetName { get { return this._ruleSetName; } set { this._ruleSetName = value; } } // Check to see if RuleSetName property is set internal bool IsSetRuleSetName() { return this._ruleSetName != null; } } }