/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A list of files containing the environment variables to pass to a container.
* You can specify up to ten environment files. The file must have a
* If there are environment variables specified using
* the This parameter is only supported for tasks hosted on Fargate
* using the following platform versions: Linux platform version
* Windows platform version
* .env file extension. Each line in an environment file should
* contain an environment variable in VARIABLE=VALUE format. Lines
* beginning with # are treated as comments and are ignored. For more
* information about the environment variable file syntax, see Declare default environment
* variables in file.environment parameter in a container definition, they take
* precedence over the variables contained within an environment file. If multiple
* environment files are specified that contain the same variable, they're
* processed from the top down. We recommend that you use unique variable names.
* For more information, see Specifying
* environment variables in the Amazon Elastic Container Service Developer
* Guide.
1.4.0 or later.1.0.0 or later.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the Amazon S3 object containing the * environment variable file.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *The Amazon Resource Name (ARN) of the Amazon S3 object containing the * environment variable file.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Amazon S3 object containing the * environment variable file.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *The Amazon Resource Name (ARN) of the Amazon S3 object containing the * environment variable file.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The Amazon Resource Name (ARN) of the Amazon S3 object containing the * environment variable file.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *The Amazon Resource Name (ARN) of the Amazon S3 object containing the * environment variable file.
*/ inline EnvironmentFile& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon S3 object containing the * environment variable file.
*/ inline EnvironmentFile& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon S3 object containing the * environment variable file.
*/ inline EnvironmentFile& WithValue(const char* value) { SetValue(value); return *this;} /** *The file type to use. The only supported value is s3.
The file type to use. The only supported value is s3.
The file type to use. The only supported value is s3.
The file type to use. The only supported value is s3.
The file type to use. The only supported value is s3.
The file type to use. The only supported value is s3.