/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information relating to dates in a document, including the type of
* value, and the value.See Also:
AWS
* API Reference
The value of the date, written as Year-Month-DayTHour:Minute:Second.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *The value of the date, written as Year-Month-DayTHour:Minute:Second.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value of the date, written as Year-Month-DayTHour:Minute:Second.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *The value of the date, written as Year-Month-DayTHour:Minute:Second.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The value of the date, written as Year-Month-DayTHour:Minute:Second.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *The value of the date, written as Year-Month-DayTHour:Minute:Second.
*/ inline NormalizedValue& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *The value of the date, written as Year-Month-DayTHour:Minute:Second.
*/ inline NormalizedValue& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *The value of the date, written as Year-Month-DayTHour:Minute:Second.
*/ inline NormalizedValue& WithValue(const char* value) { SetValue(value); return *this;} /** *The normalized type of the value detected. In this case, DATE.
*/ inline const ValueType& GetValueType() const{ return m_valueType; } /** *The normalized type of the value detected. In this case, DATE.
*/ inline bool ValueTypeHasBeenSet() const { return m_valueTypeHasBeenSet; } /** *The normalized type of the value detected. In this case, DATE.
*/ inline void SetValueType(const ValueType& value) { m_valueTypeHasBeenSet = true; m_valueType = value; } /** *The normalized type of the value detected. In this case, DATE.
*/ inline void SetValueType(ValueType&& value) { m_valueTypeHasBeenSet = true; m_valueType = std::move(value); } /** *The normalized type of the value detected. In this case, DATE.
*/ inline NormalizedValue& WithValueType(const ValueType& value) { SetValueType(value); return *this;} /** *The normalized type of the value detected. In this case, DATE.
*/ inline NormalizedValue& WithValueType(ValueType&& value) { SetValueType(std::move(value)); return *this;} private: Aws::String m_value; bool m_valueHasBeenSet = false; ValueType m_valueType; bool m_valueTypeHasBeenSet = false; }; } // namespace Model } // namespace Textract } // namespace Aws