// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 namespace AWS.Deploy.CLI.TypeHintResponses { /// /// The class encapsulates /// type hint response /// public class ECSClusterTypeHintResponse : IDisplayable { public bool CreateNew { get; set; } public string ClusterArn { get; set; } public string NewClusterName { get; set; } public ECSClusterTypeHintResponse( bool createNew, string clusterArn, string newClusterName) { CreateNew = createNew; ClusterArn = clusterArn; NewClusterName = newClusterName; } public string ToDisplayString() { if (CreateNew) return NewClusterName; return ClusterArn; } } }