/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The value of an Expression
and its current status.See
* Also:
AWS
* API Reference
The expression that is evaluated for sorting while processing a search * request.
*/ inline const Expression& GetOptions() const{ return m_options; } /** *The expression that is evaluated for sorting while processing a search * request.
*/ inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; } /** *The expression that is evaluated for sorting while processing a search * request.
*/ inline void SetOptions(const Expression& value) { m_optionsHasBeenSet = true; m_options = value; } /** *The expression that is evaluated for sorting while processing a search * request.
*/ inline void SetOptions(Expression&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); } /** *The expression that is evaluated for sorting while processing a search * request.
*/ inline ExpressionStatus& WithOptions(const Expression& value) { SetOptions(value); return *this;} /** *The expression that is evaluated for sorting while processing a search * request.
*/ inline ExpressionStatus& WithOptions(Expression&& value) { SetOptions(std::move(value)); return *this;} inline const OptionStatus& GetStatus() const{ return m_status; } inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; } inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } inline ExpressionStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;} inline ExpressionStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;} private: Expression m_options; bool m_optionsHasBeenSet = false; OptionStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace CloudSearch } // namespace Aws