7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetHardLimit(
int value) { m_hardLimitHasBeenSet =
true; m_hardLimit = value; }
65 template<
typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
67 template<
typename NameT = Aws::String>
77 inline void SetSoftLimit(
int value) { m_softLimitHasBeenSet =
true; m_softLimit = value; }
83 bool m_hardLimitHasBeenSet =
false;
86 bool m_nameHasBeenSet =
false;
89 bool m_softLimitHasBeenSet =
false;
Ulimit & WithHardLimit(int value)
AWS_BATCH_API Ulimit()=default
bool HardLimitHasBeenSet() const
void SetHardLimit(int value)
const Aws::String & GetName() const
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
bool SoftLimitHasBeenSet() const
void SetName(NameT &&value)
Ulimit & WithName(NameT &&value)
Ulimit & WithSoftLimit(int value)
AWS_BATCH_API Ulimit & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API Ulimit(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
void SetSoftLimit(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue