/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The data in a particular data cell defined on the screen.See
* Also:
AWS
* API Reference
The overrideFormat is optional and is specified only if a particular row of * data has a different format for the data than the default format defined on the * screen or the table.
*/ inline const Format& GetOverrideFormat() const{ return m_overrideFormat; } /** *The overrideFormat is optional and is specified only if a particular row of * data has a different format for the data than the default format defined on the * screen or the table.
*/ inline bool OverrideFormatHasBeenSet() const { return m_overrideFormatHasBeenSet; } /** *The overrideFormat is optional and is specified only if a particular row of * data has a different format for the data than the default format defined on the * screen or the table.
*/ inline void SetOverrideFormat(const Format& value) { m_overrideFormatHasBeenSet = true; m_overrideFormat = value; } /** *The overrideFormat is optional and is specified only if a particular row of * data has a different format for the data than the default format defined on the * screen or the table.
*/ inline void SetOverrideFormat(Format&& value) { m_overrideFormatHasBeenSet = true; m_overrideFormat = std::move(value); } /** *The overrideFormat is optional and is specified only if a particular row of * data has a different format for the data than the default format defined on the * screen or the table.
*/ inline DataItem& WithOverrideFormat(const Format& value) { SetOverrideFormat(value); return *this;} /** *The overrideFormat is optional and is specified only if a particular row of * data has a different format for the data than the default format defined on the * screen or the table.
*/ inline DataItem& WithOverrideFormat(Format&& value) { SetOverrideFormat(std::move(value)); return *this;} /** *The raw value of the data. e.g. jsmith@example.com
*/ inline const Aws::String& GetRawValue() const{ return m_rawValue; } /** *The raw value of the data. e.g. jsmith@example.com
*/ inline bool RawValueHasBeenSet() const { return m_rawValueHasBeenSet; } /** *The raw value of the data. e.g. jsmith@example.com
*/ inline void SetRawValue(const Aws::String& value) { m_rawValueHasBeenSet = true; m_rawValue = value; } /** *The raw value of the data. e.g. jsmith@example.com
*/ inline void SetRawValue(Aws::String&& value) { m_rawValueHasBeenSet = true; m_rawValue = std::move(value); } /** *The raw value of the data. e.g. jsmith@example.com
*/ inline void SetRawValue(const char* value) { m_rawValueHasBeenSet = true; m_rawValue.assign(value); } /** *The raw value of the data. e.g. jsmith@example.com
*/ inline DataItem& WithRawValue(const Aws::String& value) { SetRawValue(value); return *this;} /** *The raw value of the data. e.g. jsmith@example.com
*/ inline DataItem& WithRawValue(Aws::String&& value) { SetRawValue(std::move(value)); return *this;} /** *The raw value of the data. e.g. jsmith@example.com
*/ inline DataItem& WithRawValue(const char* value) { SetRawValue(value); return *this;} /** *The formatted value of the data. e.g. John Smith.
*/ inline const Aws::String& GetFormattedValue() const{ return m_formattedValue; } /** *The formatted value of the data. e.g. John Smith.
*/ inline bool FormattedValueHasBeenSet() const { return m_formattedValueHasBeenSet; } /** *The formatted value of the data. e.g. John Smith.
*/ inline void SetFormattedValue(const Aws::String& value) { m_formattedValueHasBeenSet = true; m_formattedValue = value; } /** *The formatted value of the data. e.g. John Smith.
*/ inline void SetFormattedValue(Aws::String&& value) { m_formattedValueHasBeenSet = true; m_formattedValue = std::move(value); } /** *The formatted value of the data. e.g. John Smith.
*/ inline void SetFormattedValue(const char* value) { m_formattedValueHasBeenSet = true; m_formattedValue.assign(value); } /** *The formatted value of the data. e.g. John Smith.
*/ inline DataItem& WithFormattedValue(const Aws::String& value) { SetFormattedValue(value); return *this;} /** *The formatted value of the data. e.g. John Smith.
*/ inline DataItem& WithFormattedValue(Aws::String&& value) { SetFormattedValue(std::move(value)); return *this;} /** *The formatted value of the data. e.g. John Smith.
*/ inline DataItem& WithFormattedValue(const char* value) { SetFormattedValue(value); return *this;} private: Format m_overrideFormat; bool m_overrideFormatHasBeenSet = false; Aws::String m_rawValue; bool m_rawValueHasBeenSet = false; Aws::String m_formattedValue; bool m_formattedValueHasBeenSet = false; }; } // namespace Model } // namespace Honeycode } // namespace Aws