/*
* 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.
*/
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal.Util;
using Amazon.Runtime.Internal.Auth;
using Amazon.Util;
namespace Amazon.Runtime
{
///
/// Abstract parameter value.
///
public abstract class ParameterValue
{
}
///
/// String parameter value.
///
public class StringParameterValue : ParameterValue
{
///
/// String value of the parameter.
///
public string Value { get; set; }
///
/// Constructs ParameterValue for a single string.
///
///
public StringParameterValue(string value)
{
Value = value;
}
internal StringParameterValue() { }
}
///
/// String list parameter value.
///
public class StringListParameterValue : ParameterValue
{
///
/// List of strings value of the parameter.
///
public List Value { get; set; }
///
/// Constructs ParameterValue for a list of strings.
///
///
public StringListParameterValue(List values)
{
Value = values;
}
internal StringListParameterValue() { }
}
///
/// Double list parameter value.
///
public class DoubleListParameterValue : ParameterValue
{
///
/// List of doubles value of the parameter.
///
public List Value
{
get; set;
}
///
/// Constructs ParameterValue for a list of doubles.
///
///
public DoubleListParameterValue(List values)
{
Value = values;
}
internal DoubleListParameterValue()
{
}
}
}