/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A ulimit to set in the container.See Also:
AWS
* API Reference
The hard limit for the ulimit type.
*/ inline int GetHardLimit() const{ return m_hardLimit; } /** *The hard limit for the ulimit type.
*/ inline bool HardLimitHasBeenSet() const { return m_hardLimitHasBeenSet; } /** *The hard limit for the ulimit type.
*/ inline void SetHardLimit(int value) { m_hardLimitHasBeenSet = true; m_hardLimit = value; } /** *The hard limit for the ulimit type.
*/ inline AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails& WithHardLimit(int value) { SetHardLimit(value); return *this;} /** *The type of the ulimit. Valid values are as follows:
* core
cpu
* data
fsize
* locks
memlock
* msgqueue
nice
* nofile
nproc
* rss
rtprio
* rttime
sigpending
stack
The type of the ulimit. Valid values are as follows:
* core
cpu
* data
fsize
* locks
memlock
* msgqueue
nice
* nofile
nproc
* rss
rtprio
* rttime
sigpending
stack
The type of the ulimit. Valid values are as follows:
* core
cpu
* data
fsize
* locks
memlock
* msgqueue
nice
* nofile
nproc
* rss
rtprio
* rttime
sigpending
stack
The type of the ulimit. Valid values are as follows:
* core
cpu
* data
fsize
* locks
memlock
* msgqueue
nice
* nofile
nproc
* rss
rtprio
* rttime
sigpending
stack
The type of the ulimit. Valid values are as follows:
* core
cpu
* data
fsize
* locks
memlock
* msgqueue
nice
* nofile
nproc
* rss
rtprio
* rttime
sigpending
stack
The type of the ulimit. Valid values are as follows:
* core
cpu
* data
fsize
* locks
memlock
* msgqueue
nice
* nofile
nproc
* rss
rtprio
* rttime
sigpending
stack
The type of the ulimit. Valid values are as follows:
* core
cpu
* data
fsize
* locks
memlock
* msgqueue
nice
* nofile
nproc
* rss
rtprio
* rttime
sigpending
stack
The type of the ulimit. Valid values are as follows:
* core
cpu
* data
fsize
* locks
memlock
* msgqueue
nice
* nofile
nproc
* rss
rtprio
* rttime
sigpending
stack
The soft limit for the ulimit type.
*/ inline int GetSoftLimit() const{ return m_softLimit; } /** *The soft limit for the ulimit type.
*/ inline bool SoftLimitHasBeenSet() const { return m_softLimitHasBeenSet; } /** *The soft limit for the ulimit type.
*/ inline void SetSoftLimit(int value) { m_softLimitHasBeenSet = true; m_softLimit = value; } /** *The soft limit for the ulimit type.
*/ inline AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails& WithSoftLimit(int value) { SetSoftLimit(value); return *this;} private: int m_hardLimit; bool m_hardLimitHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; int m_softLimit; bool m_softLimitHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws