/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines the modifications that you are making to an attribute for a what-if
* forecast. For example, you can use this operation to create a what-if forecast
* that investigates a 10% off sale on all shoes. To do this, you specify
* "AttributeName": "shoes", "Operation": "MULTIPLY", and
* "Value": "0.90". Pair this operation with the
* TimeSeriesCondition operation within the
* CreateWhatIfForecastRequest$TimeSeriesTransformations operation to define
* a subset of attribute items that are modified.See Also:
AWS API
* Reference
The related time series that you are modifying. This value is case * insensitive.
*/ inline const Aws::String& GetAttributeName() const{ return m_attributeName; } /** *The related time series that you are modifying. This value is case * insensitive.
*/ inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; } /** *The related time series that you are modifying. This value is case * insensitive.
*/ inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; } /** *The related time series that you are modifying. This value is case * insensitive.
*/ inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); } /** *The related time series that you are modifying. This value is case * insensitive.
*/ inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); } /** *The related time series that you are modifying. This value is case * insensitive.
*/ inline Action& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;} /** *The related time series that you are modifying. This value is case * insensitive.
*/ inline Action& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;} /** *The related time series that you are modifying. This value is case * insensitive.
*/ inline Action& WithAttributeName(const char* value) { SetAttributeName(value); return *this;} /** *The operation that is applied to the provided attribute. Operations * include:
ADD - adds Value to all
* rows of AttributeName.
SUBTRACT -
* subtracts Value from all rows of AttributeName.
MULTIPLY - multiplies all rows of
* AttributeName by Value.
* DIVIDE - divides all rows of AttributeName by
* Value.
The operation that is applied to the provided attribute. Operations * include:
ADD - adds Value to all
* rows of AttributeName.
SUBTRACT -
* subtracts Value from all rows of AttributeName.
MULTIPLY - multiplies all rows of
* AttributeName by Value.
* DIVIDE - divides all rows of AttributeName by
* Value.
The operation that is applied to the provided attribute. Operations * include:
ADD - adds Value to all
* rows of AttributeName.
SUBTRACT -
* subtracts Value from all rows of AttributeName.
MULTIPLY - multiplies all rows of
* AttributeName by Value.
* DIVIDE - divides all rows of AttributeName by
* Value.
The operation that is applied to the provided attribute. Operations * include:
ADD - adds Value to all
* rows of AttributeName.
SUBTRACT -
* subtracts Value from all rows of AttributeName.
MULTIPLY - multiplies all rows of
* AttributeName by Value.
* DIVIDE - divides all rows of AttributeName by
* Value.
The operation that is applied to the provided attribute. Operations * include:
ADD - adds Value to all
* rows of AttributeName.
SUBTRACT -
* subtracts Value from all rows of AttributeName.
MULTIPLY - multiplies all rows of
* AttributeName by Value.
* DIVIDE - divides all rows of AttributeName by
* Value.
The operation that is applied to the provided attribute. Operations * include:
ADD - adds Value to all
* rows of AttributeName.
SUBTRACT -
* subtracts Value from all rows of AttributeName.
MULTIPLY - multiplies all rows of
* AttributeName by Value.
* DIVIDE - divides all rows of AttributeName by
* Value.
The value that is applied for the chosen Operation.
The value that is applied for the chosen Operation.
The value that is applied for the chosen Operation.
The value that is applied for the chosen Operation.