/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The results of an operation to update or read environment variables. If the
* operation succeeds, the response contains the environment variables. If it
* fails, the response contains details about the error.See Also:
* AWS
* API Reference
Environment variable key-value pairs. Omitted from CloudTrail logs.
*/ inline const Aws::MapEnvironment variable key-value pairs. Omitted from CloudTrail logs.
*/ inline bool VariablesHasBeenSet() const { return m_variablesHasBeenSet; } /** *Environment variable key-value pairs. Omitted from CloudTrail logs.
*/ inline void SetVariables(const Aws::MapEnvironment variable key-value pairs. Omitted from CloudTrail logs.
*/ inline void SetVariables(Aws::MapEnvironment variable key-value pairs. Omitted from CloudTrail logs.
*/ inline EnvironmentResponse& WithVariables(const Aws::MapEnvironment variable key-value pairs. Omitted from CloudTrail logs.
*/ inline EnvironmentResponse& WithVariables(Aws::MapEnvironment variable key-value pairs. Omitted from CloudTrail logs.
*/ inline EnvironmentResponse& AddVariables(const Aws::String& key, const Aws::String& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, value); return *this; } /** *Environment variable key-value pairs. Omitted from CloudTrail logs.
*/ inline EnvironmentResponse& 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. Omitted from CloudTrail logs.
*/ inline EnvironmentResponse& 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. Omitted from CloudTrail logs.
*/ inline EnvironmentResponse& 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. Omitted from CloudTrail logs.
*/ inline EnvironmentResponse& AddVariables(const char* key, Aws::String&& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, std::move(value)); return *this; } /** *Environment variable key-value pairs. Omitted from CloudTrail logs.
*/ inline EnvironmentResponse& AddVariables(Aws::String&& key, const char* value) { m_variablesHasBeenSet = true; m_variables.emplace(std::move(key), value); return *this; } /** *Environment variable key-value pairs. Omitted from CloudTrail logs.
*/ inline EnvironmentResponse& AddVariables(const char* key, const char* value) { m_variablesHasBeenSet = true; m_variables.emplace(key, value); return *this; } /** *Error messages for environment variables that couldn't be applied.
*/ inline const EnvironmentError& GetError() const{ return m_error; } /** *Error messages for environment variables that couldn't be applied.
*/ inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } /** *Error messages for environment variables that couldn't be applied.
*/ inline void SetError(const EnvironmentError& value) { m_errorHasBeenSet = true; m_error = value; } /** *Error messages for environment variables that couldn't be applied.
*/ inline void SetError(EnvironmentError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } /** *Error messages for environment variables that couldn't be applied.
*/ inline EnvironmentResponse& WithError(const EnvironmentError& value) { SetError(value); return *this;} /** *Error messages for environment variables that couldn't be applied.
*/ inline EnvironmentResponse& WithError(EnvironmentError&& value) { SetError(std::move(value)); return *this;} private: Aws::Map