/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the variable and its new value.See Also:
* AWS
* API Reference
The name of the variable.
*/ inline const Aws::String& GetVariableName() const{ return m_variableName; } /** *The name of the variable.
*/ inline bool VariableNameHasBeenSet() const { return m_variableNameHasBeenSet; } /** *The name of the variable.
*/ inline void SetVariableName(const Aws::String& value) { m_variableNameHasBeenSet = true; m_variableName = value; } /** *The name of the variable.
*/ inline void SetVariableName(Aws::String&& value) { m_variableNameHasBeenSet = true; m_variableName = std::move(value); } /** *The name of the variable.
*/ inline void SetVariableName(const char* value) { m_variableNameHasBeenSet = true; m_variableName.assign(value); } /** *The name of the variable.
*/ inline SetVariableAction& WithVariableName(const Aws::String& value) { SetVariableName(value); return *this;} /** *The name of the variable.
*/ inline SetVariableAction& WithVariableName(Aws::String&& value) { SetVariableName(std::move(value)); return *this;} /** *The name of the variable.
*/ inline SetVariableAction& WithVariableName(const char* value) { SetVariableName(value); return *this;} /** *The new value of the variable.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *The new value of the variable.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The new value of the variable.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *The new value of the variable.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The new value of the variable.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *The new value of the variable.
*/ inline SetVariableAction& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *The new value of the variable.
*/ inline SetVariableAction& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *The new value of the variable.
*/ inline SetVariableAction& WithValue(const char* value) { SetValue(value); return *this;} private: Aws::String m_variableName; bool m_variableNameHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace IoTEvents } // namespace Aws