// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.CLI
{
///
/// The class encapsulates the user response in a structured response
/// from a list of options shown.
///
/// Type of the option shown in the list of options
public class UserResponse
{
///
/// If true, the user has chosen to create a new resource.
///
public bool CreateNew { get; set; }
///
/// If set, the user has chosen to create a new resource with a custom name.
/// must be true.
///
public string? NewName { get; set; }
///
/// If set, customer has chosen an existing option from the list of options shown.
///
public T? SelectedOption { get; set; }
///
/// If set, customer has chosen empty option.
///
public bool IsEmpty { get; set; }
}
}