This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-iotevents/include/aws/iotevents/model/SetVariableAction.h

134 lines
3.6 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotevents/IoTEvents_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTEvents
{
namespace Model
{
/**
* <p>Information about the variable and its new value.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/SetVariableAction">AWS
* API Reference</a></p>
*/
class AWS_IOTEVENTS_API SetVariableAction
{
public:
SetVariableAction();
SetVariableAction(Aws::Utils::Json::JsonView jsonValue);
SetVariableAction& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the variable.</p>
*/
inline const Aws::String& GetVariableName() const{ return m_variableName; }
/**
* <p>The name of the variable.</p>
*/
inline bool VariableNameHasBeenSet() const { return m_variableNameHasBeenSet; }
/**
* <p>The name of the variable.</p>
*/
inline void SetVariableName(const Aws::String& value) { m_variableNameHasBeenSet = true; m_variableName = value; }
/**
* <p>The name of the variable.</p>
*/
inline void SetVariableName(Aws::String&& value) { m_variableNameHasBeenSet = true; m_variableName = std::move(value); }
/**
* <p>The name of the variable.</p>
*/
inline void SetVariableName(const char* value) { m_variableNameHasBeenSet = true; m_variableName.assign(value); }
/**
* <p>The name of the variable.</p>
*/
inline SetVariableAction& WithVariableName(const Aws::String& value) { SetVariableName(value); return *this;}
/**
* <p>The name of the variable.</p>
*/
inline SetVariableAction& WithVariableName(Aws::String&& value) { SetVariableName(std::move(value)); return *this;}
/**
* <p>The name of the variable.</p>
*/
inline SetVariableAction& WithVariableName(const char* value) { SetVariableName(value); return *this;}
/**
* <p>The new value of the variable.</p>
*/
inline const Aws::String& GetValue() const{ return m_value; }
/**
* <p>The new value of the variable.</p>
*/
inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
/**
* <p>The new value of the variable.</p>
*/
inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
/**
* <p>The new value of the variable.</p>
*/
inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
/**
* <p>The new value of the variable.</p>
*/
inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
/**
* <p>The new value of the variable.</p>
*/
inline SetVariableAction& WithValue(const Aws::String& value) { SetValue(value); return *this;}
/**
* <p>The new value of the variable.</p>
*/
inline SetVariableAction& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
/**
* <p>The new value of the variable.</p>
*/
inline SetVariableAction& WithValue(const char* value) { SetValue(value); return *this;}
private:
Aws::String m_variableName;
bool m_variableNameHasBeenSet;
Aws::String m_value;
bool m_valueHasBeenSet;
};
} // namespace Model
} // namespace IoTEvents
} // namespace Aws