/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents an app's environment variable.See Also:
AWS
* API Reference
(Required) The environment variable's name, which can consist of up to 64 * characters and must be specified. The name can contain upper- and lowercase * letters, numbers, and underscores (_), but it must start with a letter or * underscore.
*/ inline const Aws::String& GetKey() const{ return m_key; } /** *(Required) The environment variable's name, which can consist of up to 64 * characters and must be specified. The name can contain upper- and lowercase * letters, numbers, and underscores (_), but it must start with a letter or * underscore.
*/ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *(Required) The environment variable's name, which can consist of up to 64 * characters and must be specified. The name can contain upper- and lowercase * letters, numbers, and underscores (_), but it must start with a letter or * underscore.
*/ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** *(Required) The environment variable's name, which can consist of up to 64 * characters and must be specified. The name can contain upper- and lowercase * letters, numbers, and underscores (_), but it must start with a letter or * underscore.
*/ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *(Required) The environment variable's name, which can consist of up to 64 * characters and must be specified. The name can contain upper- and lowercase * letters, numbers, and underscores (_), but it must start with a letter or * underscore.
*/ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** *(Required) The environment variable's name, which can consist of up to 64 * characters and must be specified. The name can contain upper- and lowercase * letters, numbers, and underscores (_), but it must start with a letter or * underscore.
*/ inline EnvironmentVariable& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** *(Required) The environment variable's name, which can consist of up to 64 * characters and must be specified. The name can contain upper- and lowercase * letters, numbers, and underscores (_), but it must start with a letter or * underscore.
*/ inline EnvironmentVariable& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** *(Required) The environment variable's name, which can consist of up to 64 * characters and must be specified. The name can contain upper- and lowercase * letters, numbers, and underscores (_), but it must start with a letter or * underscore.
*/ inline EnvironmentVariable& WithKey(const char* value) { SetKey(value); return *this;} /** *(Optional) The environment variable's value, which can be left empty. If you * specify a value, it can contain up to 256 characters, which must all be * printable.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *(Optional) The environment variable's value, which can be left empty. If you * specify a value, it can contain up to 256 characters, which must all be * printable.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *(Optional) The environment variable's value, which can be left empty. If you * specify a value, it can contain up to 256 characters, which must all be * printable.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *(Optional) The environment variable's value, which can be left empty. If you * specify a value, it can contain up to 256 characters, which must all be * printable.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *(Optional) The environment variable's value, which can be left empty. If you * specify a value, it can contain up to 256 characters, which must all be * printable.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *(Optional) The environment variable's value, which can be left empty. If you * specify a value, it can contain up to 256 characters, which must all be * printable.
*/ inline EnvironmentVariable& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *(Optional) The environment variable's value, which can be left empty. If you * specify a value, it can contain up to 256 characters, which must all be * printable.
*/ inline EnvironmentVariable& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *(Optional) The environment variable's value, which can be left empty. If you * specify a value, it can contain up to 256 characters, which must all be * printable.
*/ inline EnvironmentVariable& WithValue(const char* value) { SetValue(value); return *this;} /** *(Optional) Whether the variable's value will be returned by the
* DescribeApps action. To conceal an environment variable's value, set
* Secure
to true
. DescribeApps
then returns
* *****FILTERED*****
instead of the actual value. The default value
* for Secure
is false
.
(Optional) Whether the variable's value will be returned by the
* DescribeApps action. To conceal an environment variable's value, set
* Secure
to true
. DescribeApps
then returns
* *****FILTERED*****
instead of the actual value. The default value
* for Secure
is false
.
(Optional) Whether the variable's value will be returned by the
* DescribeApps action. To conceal an environment variable's value, set
* Secure
to true
. DescribeApps
then returns
* *****FILTERED*****
instead of the actual value. The default value
* for Secure
is false
.
(Optional) Whether the variable's value will be returned by the
* DescribeApps action. To conceal an environment variable's value, set
* Secure
to true
. DescribeApps
then returns
* *****FILTERED*****
instead of the actual value. The default value
* for Secure
is false
.