// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using AWS.Deploy.Common;
using AWS.Deploy.Common.Recipes;
namespace AWS.Deploy.Orchestration.RecommendationEngine
{
    /// 
    /// The input fields passed into recommendation tests.
    /// 
    public class RecommendationTestInput
    {
        /// 
        /// The modeled test and its conditions from the recipe.
        /// 
        public RuleTest Test { get; set; }
        /// 
        /// The definition of the project which provides access to project metadata.
        /// 
        public ProjectDefinition ProjectDefinition { get; set; }
        /// 
        /// The session that provides access to the AWS credentials and region configured. This allows
        /// potential tests to check for AWS resources in the account being deployed to.
        /// 
        public OrchestratorSession Session { get; set; }
        public RecommendationTestInput(
            RuleTest test,
            ProjectDefinition projectDefinition,
            OrchestratorSession session)
        {
            Test = test;
            ProjectDefinition = projectDefinition;
            Session = session;
        }
    }
}