/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The top ranked and bottom ranked computation configuration.See
* Also:
AWS
* API Reference
The ID for a computation.
*/ inline const Aws::String& GetComputationId() const{ return m_computationId; } /** *The ID for a computation.
*/ inline bool ComputationIdHasBeenSet() const { return m_computationIdHasBeenSet; } /** *The ID for a computation.
*/ inline void SetComputationId(const Aws::String& value) { m_computationIdHasBeenSet = true; m_computationId = value; } /** *The ID for a computation.
*/ inline void SetComputationId(Aws::String&& value) { m_computationIdHasBeenSet = true; m_computationId = std::move(value); } /** *The ID for a computation.
*/ inline void SetComputationId(const char* value) { m_computationIdHasBeenSet = true; m_computationId.assign(value); } /** *The ID for a computation.
*/ inline TopBottomRankedComputation& WithComputationId(const Aws::String& value) { SetComputationId(value); return *this;} /** *The ID for a computation.
*/ inline TopBottomRankedComputation& WithComputationId(Aws::String&& value) { SetComputationId(std::move(value)); return *this;} /** *The ID for a computation.
*/ inline TopBottomRankedComputation& WithComputationId(const char* value) { SetComputationId(value); return *this;} /** *The name of a computation.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of a computation.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of a computation.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of a computation.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of a computation.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of a computation.
*/ inline TopBottomRankedComputation& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of a computation.
*/ inline TopBottomRankedComputation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of a computation.
*/ inline TopBottomRankedComputation& WithName(const char* value) { SetName(value); return *this;} /** *The category field that is used in a computation.
*/ inline const DimensionField& GetCategory() const{ return m_category; } /** *The category field that is used in a computation.
*/ inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; } /** *The category field that is used in a computation.
*/ inline void SetCategory(const DimensionField& value) { m_categoryHasBeenSet = true; m_category = value; } /** *The category field that is used in a computation.
*/ inline void SetCategory(DimensionField&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); } /** *The category field that is used in a computation.
*/ inline TopBottomRankedComputation& WithCategory(const DimensionField& value) { SetCategory(value); return *this;} /** *The category field that is used in a computation.
*/ inline TopBottomRankedComputation& WithCategory(DimensionField&& value) { SetCategory(std::move(value)); return *this;} /** *The value field that is used in a computation.
*/ inline const MeasureField& GetValue() const{ return m_value; } /** *The value field that is used in a computation.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value field that is used in a computation.
*/ inline void SetValue(const MeasureField& value) { m_valueHasBeenSet = true; m_value = value; } /** *The value field that is used in a computation.
*/ inline void SetValue(MeasureField&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The value field that is used in a computation.
*/ inline TopBottomRankedComputation& WithValue(const MeasureField& value) { SetValue(value); return *this;} /** *The value field that is used in a computation.
*/ inline TopBottomRankedComputation& WithValue(MeasureField&& value) { SetValue(std::move(value)); return *this;} /** *The result size of a top and bottom ranked computation.
*/ inline int GetResultSize() const{ return m_resultSize; } /** *The result size of a top and bottom ranked computation.
*/ inline bool ResultSizeHasBeenSet() const { return m_resultSizeHasBeenSet; } /** *The result size of a top and bottom ranked computation.
*/ inline void SetResultSize(int value) { m_resultSizeHasBeenSet = true; m_resultSize = value; } /** *The result size of a top and bottom ranked computation.
*/ inline TopBottomRankedComputation& WithResultSize(int value) { SetResultSize(value); return *this;} /** *The computation type. Choose one of the following options:
TOP: A top ranked computation.
BOTTOM: A bottom ranked * computation.
The computation type. Choose one of the following options:
TOP: A top ranked computation.
BOTTOM: A bottom ranked * computation.
The computation type. Choose one of the following options:
TOP: A top ranked computation.
BOTTOM: A bottom ranked * computation.
The computation type. Choose one of the following options:
TOP: A top ranked computation.
BOTTOM: A bottom ranked * computation.
The computation type. Choose one of the following options:
TOP: A top ranked computation.
BOTTOM: A bottom ranked * computation.
The computation type. Choose one of the following options:
TOP: A top ranked computation.
BOTTOM: A bottom ranked * computation.