/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The log configuration specification for the container.See
* Also:
AWS
* API Reference
The log driver to use for the container.
Valid values on Fargate are * as follows:
awsfirelens
* awslogs
splunk
Valid values on Amazon EC2 are as follows:
* awsfirelens
awslogs
fluentd
gelf
journald
json-file
logentries
splunk
*
syslog
The log driver to use for the container.
Valid values on Fargate are * as follows:
awsfirelens
* awslogs
splunk
Valid values on Amazon EC2 are as follows:
* awsfirelens
awslogs
fluentd
gelf
journald
json-file
logentries
splunk
*
syslog
The log driver to use for the container.
Valid values on Fargate are * as follows:
awsfirelens
* awslogs
splunk
Valid values on Amazon EC2 are as follows:
* awsfirelens
awslogs
fluentd
gelf
journald
json-file
logentries
splunk
*
syslog
The log driver to use for the container.
Valid values on Fargate are * as follows:
awsfirelens
* awslogs
splunk
Valid values on Amazon EC2 are as follows:
* awsfirelens
awslogs
fluentd
gelf
journald
json-file
logentries
splunk
*
syslog
The log driver to use for the container.
Valid values on Fargate are * as follows:
awsfirelens
* awslogs
splunk
Valid values on Amazon EC2 are as follows:
* awsfirelens
awslogs
fluentd
gelf
journald
json-file
logentries
splunk
*
syslog
The log driver to use for the container.
Valid values on Fargate are * as follows:
awsfirelens
* awslogs
splunk
Valid values on Amazon EC2 are as follows:
* awsfirelens
awslogs
fluentd
gelf
journald
json-file
logentries
splunk
*
syslog
The log driver to use for the container.
Valid values on Fargate are * as follows:
awsfirelens
* awslogs
splunk
Valid values on Amazon EC2 are as follows:
* awsfirelens
awslogs
fluentd
gelf
journald
json-file
logentries
splunk
*
syslog
The log driver to use for the container.
Valid values on Fargate are * as follows:
awsfirelens
* awslogs
splunk
Valid values on Amazon EC2 are as follows:
* awsfirelens
awslogs
fluentd
gelf
journald
json-file
logentries
splunk
*
syslog
The configuration options to send to the log driver. Requires version 1.19 of * the Docker Remote API or greater on your container instance.
*/ inline const Aws::MapThe configuration options to send to the log driver. Requires version 1.19 of * the Docker Remote API or greater on your container instance.
*/ inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; } /** *The configuration options to send to the log driver. Requires version 1.19 of * the Docker Remote API or greater on your container instance.
*/ inline void SetOptions(const Aws::MapThe configuration options to send to the log driver. Requires version 1.19 of * the Docker Remote API or greater on your container instance.
*/ inline void SetOptions(Aws::MapThe configuration options to send to the log driver. Requires version 1.19 of * the Docker Remote API or greater on your container instance.
*/ inline AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails& WithOptions(const Aws::MapThe configuration options to send to the log driver. Requires version 1.19 of * the Docker Remote API or greater on your container instance.
*/ inline AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails& WithOptions(Aws::MapThe configuration options to send to the log driver. Requires version 1.19 of * the Docker Remote API or greater on your container instance.
*/ inline AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails& AddOptions(const Aws::String& key, const Aws::String& value) { m_optionsHasBeenSet = true; m_options.emplace(key, value); return *this; } /** *The configuration options to send to the log driver. Requires version 1.19 of * the Docker Remote API or greater on your container instance.
*/ inline AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails& AddOptions(Aws::String&& key, const Aws::String& value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), value); return *this; } /** *The configuration options to send to the log driver. Requires version 1.19 of * the Docker Remote API or greater on your container instance.
*/ inline AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails& AddOptions(const Aws::String& key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(key, std::move(value)); return *this; } /** *The configuration options to send to the log driver. Requires version 1.19 of * the Docker Remote API or greater on your container instance.
*/ inline AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails& AddOptions(Aws::String&& key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), std::move(value)); return *this; } /** *The configuration options to send to the log driver. Requires version 1.19 of * the Docker Remote API or greater on your container instance.
*/ inline AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails& AddOptions(const char* key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(key, std::move(value)); return *this; } /** *The configuration options to send to the log driver. Requires version 1.19 of * the Docker Remote API or greater on your container instance.
*/ inline AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails& AddOptions(Aws::String&& key, const char* value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), value); return *this; } /** *The configuration options to send to the log driver. Requires version 1.19 of * the Docker Remote API or greater on your container instance.
*/ inline AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails& AddOptions(const char* key, const char* value) { m_optionsHasBeenSet = true; m_options.emplace(key, value); return *this; } /** *The secrets to pass to the log configuration.
*/ inline const Aws::VectorThe secrets to pass to the log configuration.
*/ inline bool SecretOptionsHasBeenSet() const { return m_secretOptionsHasBeenSet; } /** *The secrets to pass to the log configuration.
*/ inline void SetSecretOptions(const Aws::VectorThe secrets to pass to the log configuration.
*/ inline void SetSecretOptions(Aws::VectorThe secrets to pass to the log configuration.
*/ inline AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails& WithSecretOptions(const Aws::VectorThe secrets to pass to the log configuration.
*/ inline AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails& WithSecretOptions(Aws::VectorThe secrets to pass to the log configuration.
*/ inline AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails& AddSecretOptions(const AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails& value) { m_secretOptionsHasBeenSet = true; m_secretOptions.push_back(value); return *this; } /** *The secrets to pass to the log configuration.
*/ inline AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails& AddSecretOptions(AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails&& value) { m_secretOptionsHasBeenSet = true; m_secretOptions.push_back(std::move(value)); return *this; } private: Aws::String m_logDriver; bool m_logDriverHasBeenSet = false; Aws::Map