/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The configuration options that determine how missing data is treated during * the rendering of a line chart.

See Also:

AWS * API Reference

*/ class MissingDataConfiguration { public: AWS_QUICKSIGHT_API MissingDataConfiguration(); AWS_QUICKSIGHT_API MissingDataConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API MissingDataConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The treatment option that determines how missing data should be rendered. * Choose from the following options:

  • INTERPOLATE: * Interpolate missing values between the prior and the next known value.

  • *
  • SHOW_AS_ZERO: Show missing values as the value * 0.

  • SHOW_AS_BLANK: Display a blank * space when rendering missing data.

*/ inline const MissingDataTreatmentOption& GetTreatmentOption() const{ return m_treatmentOption; } /** *

The treatment option that determines how missing data should be rendered. * Choose from the following options:

  • INTERPOLATE: * Interpolate missing values between the prior and the next known value.

  • *
  • SHOW_AS_ZERO: Show missing values as the value * 0.

  • SHOW_AS_BLANK: Display a blank * space when rendering missing data.

*/ inline bool TreatmentOptionHasBeenSet() const { return m_treatmentOptionHasBeenSet; } /** *

The treatment option that determines how missing data should be rendered. * Choose from the following options:

  • INTERPOLATE: * Interpolate missing values between the prior and the next known value.

  • *
  • SHOW_AS_ZERO: Show missing values as the value * 0.

  • SHOW_AS_BLANK: Display a blank * space when rendering missing data.

*/ inline void SetTreatmentOption(const MissingDataTreatmentOption& value) { m_treatmentOptionHasBeenSet = true; m_treatmentOption = value; } /** *

The treatment option that determines how missing data should be rendered. * Choose from the following options:

  • INTERPOLATE: * Interpolate missing values between the prior and the next known value.

  • *
  • SHOW_AS_ZERO: Show missing values as the value * 0.

  • SHOW_AS_BLANK: Display a blank * space when rendering missing data.

*/ inline void SetTreatmentOption(MissingDataTreatmentOption&& value) { m_treatmentOptionHasBeenSet = true; m_treatmentOption = std::move(value); } /** *

The treatment option that determines how missing data should be rendered. * Choose from the following options:

  • INTERPOLATE: * Interpolate missing values between the prior and the next known value.

  • *
  • SHOW_AS_ZERO: Show missing values as the value * 0.

  • SHOW_AS_BLANK: Display a blank * space when rendering missing data.

*/ inline MissingDataConfiguration& WithTreatmentOption(const MissingDataTreatmentOption& value) { SetTreatmentOption(value); return *this;} /** *

The treatment option that determines how missing data should be rendered. * Choose from the following options:

  • INTERPOLATE: * Interpolate missing values between the prior and the next known value.

  • *
  • SHOW_AS_ZERO: Show missing values as the value * 0.

  • SHOW_AS_BLANK: Display a blank * space when rendering missing data.

*/ inline MissingDataConfiguration& WithTreatmentOption(MissingDataTreatmentOption&& value) { SetTreatmentOption(std::move(value)); return *this;} private: MissingDataTreatmentOption m_treatmentOption; bool m_treatmentOptionHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws