/*
* 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 gamesparks-2021-08-17.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.GameSparks
{
///
/// Constants used for properties of type DeploymentAction.
///
public class DeploymentAction : ConstantClass
{
///
/// Constant DEPLOY for DeploymentAction
///
public static readonly DeploymentAction DEPLOY = new DeploymentAction("DEPLOY");
///
/// Constant UNDEPLOY for DeploymentAction
///
public static readonly DeploymentAction UNDEPLOY = new DeploymentAction("UNDEPLOY");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public DeploymentAction(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static DeploymentAction FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator DeploymentAction(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DeploymentState.
///
public class DeploymentState : ConstantClass
{
///
/// Constant COMPLETED for DeploymentState
///
public static readonly DeploymentState COMPLETED = new DeploymentState("COMPLETED");
///
/// Constant FAILED for DeploymentState
///
public static readonly DeploymentState FAILED = new DeploymentState("FAILED");
///
/// Constant IN_PROGRESS for DeploymentState
///
public static readonly DeploymentState IN_PROGRESS = new DeploymentState("IN_PROGRESS");
///
/// Constant PENDING for DeploymentState
///
public static readonly DeploymentState PENDING = new DeploymentState("PENDING");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public DeploymentState(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static DeploymentState FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator DeploymentState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type GameState.
///
public class GameState : ConstantClass
{
///
/// Constant ACTIVE for GameState
///
public static readonly GameState ACTIVE = new GameState("ACTIVE");
///
/// Constant DELETING for GameState
///
public static readonly GameState DELETING = new GameState("DELETING");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public GameState(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static GameState FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator GameState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type GeneratedCodeJobState.
///
public class GeneratedCodeJobState : ConstantClass
{
///
/// Constant COMPLETED for GeneratedCodeJobState
///
public static readonly GeneratedCodeJobState COMPLETED = new GeneratedCodeJobState("COMPLETED");
///
/// Constant FAILED for GeneratedCodeJobState
///
public static readonly GeneratedCodeJobState FAILED = new GeneratedCodeJobState("FAILED");
///
/// Constant IN_PROGRESS for GeneratedCodeJobState
///
public static readonly GeneratedCodeJobState IN_PROGRESS = new GeneratedCodeJobState("IN_PROGRESS");
///
/// Constant PENDING for GeneratedCodeJobState
///
public static readonly GeneratedCodeJobState PENDING = new GeneratedCodeJobState("PENDING");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public GeneratedCodeJobState(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static GeneratedCodeJobState FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator GeneratedCodeJobState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Operation.
///
public class Operation : ConstantClass
{
///
/// Constant ADD for Operation
///
public static readonly Operation ADD = new Operation("ADD");
///
/// Constant REMOVE for Operation
///
public static readonly Operation REMOVE = new Operation("REMOVE");
///
/// Constant REPLACE for Operation
///
public static readonly Operation REPLACE = new Operation("REPLACE");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public Operation(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static Operation FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator Operation(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResultCode.
///
public class ResultCode : ConstantClass
{
///
/// Constant INVALID_ROLE_FAILURE for ResultCode
///
public static readonly ResultCode INVALID_ROLE_FAILURE = new ResultCode("INVALID_ROLE_FAILURE");
///
/// Constant SUCCESS for ResultCode
///
public static readonly ResultCode SUCCESS = new ResultCode("SUCCESS");
///
/// Constant UNSPECIFIED_FAILURE for ResultCode
///
public static readonly ResultCode UNSPECIFIED_FAILURE = new ResultCode("UNSPECIFIED_FAILURE");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public ResultCode(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ResultCode FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ResultCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type StageState.
///
public class StageState : ConstantClass
{
///
/// Constant ACTIVE for StageState
///
public static readonly StageState ACTIVE = new StageState("ACTIVE");
///
/// Constant DELETING for StageState
///
public static readonly StageState DELETING = new StageState("DELETING");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public StageState(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static StageState FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator StageState(string value)
{
return FindValue(value);
}
}
}