/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A function's environment variable settings. You can use environment variables
* to adjust your function's behavior without updating code. An environment
* variable is a pair of strings that are stored in a function's version-specific
* configuration.See Also:
AWS
* API Reference
Environment variable key-value pairs. For more information, see Using * Lambda environment variables.
*/ inline const Aws::MapEnvironment variable key-value pairs. For more information, see Using * Lambda environment variables.
*/ inline bool VariablesHasBeenSet() const { return m_variablesHasBeenSet; } /** *Environment variable key-value pairs. For more information, see Using * Lambda environment variables.
*/ inline void SetVariables(const Aws::MapEnvironment variable key-value pairs. For more information, see Using * Lambda environment variables.
*/ inline void SetVariables(Aws::MapEnvironment variable key-value pairs. For more information, see Using * Lambda environment variables.
*/ inline Environment& WithVariables(const Aws::MapEnvironment variable key-value pairs. For more information, see Using * Lambda environment variables.
*/ inline Environment& WithVariables(Aws::MapEnvironment variable key-value pairs. For more information, see Using * Lambda environment variables.
*/ inline Environment& AddVariables(const Aws::String& key, const Aws::String& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, value); return *this; } /** *Environment variable key-value pairs. For more information, see Using * Lambda environment variables.
*/ inline Environment& AddVariables(Aws::String&& key, const Aws::String& value) { m_variablesHasBeenSet = true; m_variables.emplace(std::move(key), value); return *this; } /** *Environment variable key-value pairs. For more information, see Using * Lambda environment variables.
*/ inline Environment& AddVariables(const Aws::String& key, Aws::String&& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, std::move(value)); return *this; } /** *Environment variable key-value pairs. For more information, see Using * Lambda environment variables.
*/ inline Environment& AddVariables(Aws::String&& key, Aws::String&& value) { m_variablesHasBeenSet = true; m_variables.emplace(std::move(key), std::move(value)); return *this; } /** *Environment variable key-value pairs. For more information, see Using * Lambda environment variables.
*/ inline Environment& AddVariables(const char* key, Aws::String&& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, std::move(value)); return *this; } /** *Environment variable key-value pairs. For more information, see Using * Lambda environment variables.
*/ inline Environment& AddVariables(Aws::String&& key, const char* value) { m_variablesHasBeenSet = true; m_variables.emplace(std::move(key), value); return *this; } /** *Environment variable key-value pairs. For more information, see Using * Lambda environment variables.
*/ inline Environment& AddVariables(const char* key, const char* value) { m_variablesHasBeenSet = true; m_variables.emplace(key, value); return *this; } private: Aws::Map