/** * 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 data path that needs to be sorted.

See Also:

AWS * API Reference

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

The field ID of the field that needs to be sorted.

*/ inline const Aws::String& GetFieldId() const{ return m_fieldId; } /** *

The field ID of the field that needs to be sorted.

*/ inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; } /** *

The field ID of the field that needs to be sorted.

*/ inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; } /** *

The field ID of the field that needs to be sorted.

*/ inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); } /** *

The field ID of the field that needs to be sorted.

*/ inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); } /** *

The field ID of the field that needs to be sorted.

*/ inline DataPathValue& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;} /** *

The field ID of the field that needs to be sorted.

*/ inline DataPathValue& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;} /** *

The field ID of the field that needs to be sorted.

*/ inline DataPathValue& WithFieldId(const char* value) { SetFieldId(value); return *this;} /** *

The actual value of the field that needs to be sorted.

*/ inline const Aws::String& GetFieldValue() const{ return m_fieldValue; } /** *

The actual value of the field that needs to be sorted.

*/ inline bool FieldValueHasBeenSet() const { return m_fieldValueHasBeenSet; } /** *

The actual value of the field that needs to be sorted.

*/ inline void SetFieldValue(const Aws::String& value) { m_fieldValueHasBeenSet = true; m_fieldValue = value; } /** *

The actual value of the field that needs to be sorted.

*/ inline void SetFieldValue(Aws::String&& value) { m_fieldValueHasBeenSet = true; m_fieldValue = std::move(value); } /** *

The actual value of the field that needs to be sorted.

*/ inline void SetFieldValue(const char* value) { m_fieldValueHasBeenSet = true; m_fieldValue.assign(value); } /** *

The actual value of the field that needs to be sorted.

*/ inline DataPathValue& WithFieldValue(const Aws::String& value) { SetFieldValue(value); return *this;} /** *

The actual value of the field that needs to be sorted.

*/ inline DataPathValue& WithFieldValue(Aws::String&& value) { SetFieldValue(std::move(value)); return *this;} /** *

The actual value of the field that needs to be sorted.

*/ inline DataPathValue& WithFieldValue(const char* value) { SetFieldValue(value); return *this;} private: Aws::String m_fieldId; bool m_fieldIdHasBeenSet = false; Aws::String m_fieldValue; bool m_fieldValueHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws