/*
* 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 comprehend-2017-11-27.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Comprehend.Model
{
///
/// Describes the level of confidence that Amazon Comprehend has in the accuracy of its
/// detection of sentiments.
///
public partial class SentimentScore
{
private float? _mixed;
private float? _negative;
private float? _neutral;
private float? _positive;
///
/// Gets and sets the property Mixed.
///
/// The level of confidence that Amazon Comprehend has in the accuracy of its detection
/// of the MIXED
sentiment.
///
///
public float Mixed
{
get { return this._mixed.GetValueOrDefault(); }
set { this._mixed = value; }
}
// Check to see if Mixed property is set
internal bool IsSetMixed()
{
return this._mixed.HasValue;
}
///
/// Gets and sets the property Negative.
///
/// The level of confidence that Amazon Comprehend has in the accuracy of its detection
/// of the NEGATIVE
sentiment.
///
///
public float Negative
{
get { return this._negative.GetValueOrDefault(); }
set { this._negative = value; }
}
// Check to see if Negative property is set
internal bool IsSetNegative()
{
return this._negative.HasValue;
}
///
/// Gets and sets the property Neutral.
///
/// The level of confidence that Amazon Comprehend has in the accuracy of its detection
/// of the NEUTRAL
sentiment.
///
///
public float Neutral
{
get { return this._neutral.GetValueOrDefault(); }
set { this._neutral = value; }
}
// Check to see if Neutral property is set
internal bool IsSetNeutral()
{
return this._neutral.HasValue;
}
///
/// Gets and sets the property Positive.
///
/// The level of confidence that Amazon Comprehend has in the accuracy of its detection
/// of the POSITIVE
sentiment.
///
///
public float Positive
{
get { return this._positive.GetValueOrDefault(); }
set { this._positive = value; }
}
// Check to see if Positive property is set
internal bool IsSetPositive()
{
return this._positive.HasValue;
}
}
}