/** * 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 { /** *

A structure that represents a negative format.

See Also:

AWS * API Reference

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

The prefix for a negative format.

*/ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** *

The prefix for a negative format.

*/ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** *

The prefix for a negative format.

*/ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** *

The prefix for a negative format.

*/ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** *

The prefix for a negative format.

*/ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** *

The prefix for a negative format.

*/ inline NegativeFormat& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} /** *

The prefix for a negative format.

*/ inline NegativeFormat& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} /** *

The prefix for a negative format.

*/ inline NegativeFormat& WithPrefix(const char* value) { SetPrefix(value); return *this;} /** *

The suffix for a negative format.

*/ inline const Aws::String& GetSuffix() const{ return m_suffix; } /** *

The suffix for a negative format.

*/ inline bool SuffixHasBeenSet() const { return m_suffixHasBeenSet; } /** *

The suffix for a negative format.

*/ inline void SetSuffix(const Aws::String& value) { m_suffixHasBeenSet = true; m_suffix = value; } /** *

The suffix for a negative format.

*/ inline void SetSuffix(Aws::String&& value) { m_suffixHasBeenSet = true; m_suffix = std::move(value); } /** *

The suffix for a negative format.

*/ inline void SetSuffix(const char* value) { m_suffixHasBeenSet = true; m_suffix.assign(value); } /** *

The suffix for a negative format.

*/ inline NegativeFormat& WithSuffix(const Aws::String& value) { SetSuffix(value); return *this;} /** *

The suffix for a negative format.

*/ inline NegativeFormat& WithSuffix(Aws::String&& value) { SetSuffix(std::move(value)); return *this;} /** *

The suffix for a negative format.

*/ inline NegativeFormat& WithSuffix(const char* value) { SetSuffix(value); return *this;} private: Aws::String m_prefix; bool m_prefixHasBeenSet = false; Aws::String m_suffix; bool m_suffixHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws