7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
71 template <
typename LimitsT = Aws::Map<Aws::String, Aws::String>>
73 m_limitsHasBeenSet =
true;
74 m_limits = std::forward<LimitsT>(value);
76 template <
typename LimitsT = Aws::Map<Aws::String, Aws::String>>
81 template <
typename LimitsKeyT = Aws::String,
typename LimitsValueT = Aws::String>
83 m_limitsHasBeenSet =
true;
84 m_limits.emplace(std::forward<LimitsKeyT>(key), std::forward<LimitsValueT>(value));
119 template <
typename RequestsT = Aws::Map<Aws::String, Aws::String>>
121 m_requestsHasBeenSet =
true;
122 m_requests = std::forward<RequestsT>(value);
124 template <
typename RequestsT = Aws::Map<Aws::String, Aws::String>>
129 template <
typename RequestsKeyT = Aws::String,
typename RequestsValueT = Aws::String>
131 m_requestsHasBeenSet =
true;
132 m_requests.emplace(std::forward<RequestsKeyT>(key), std::forward<RequestsValueT>(value));
140 bool m_limitsHasBeenSet =
false;
141 bool m_requestsHasBeenSet =
false;
void SetLimits(LimitsT &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRequests(RequestsT &&value)
EksContainerResourceRequirements & WithLimits(LimitsT &&value)
bool RequestsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetLimits() const
AWS_BATCH_API EksContainerResourceRequirements & operator=(Aws::Utils::Json::JsonView jsonValue)
EksContainerResourceRequirements & AddLimits(LimitsKeyT &&key, LimitsValueT &&value)
bool LimitsHasBeenSet() const
AWS_BATCH_API EksContainerResourceRequirements(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetRequests() const
EksContainerResourceRequirements & AddRequests(RequestsKeyT &&key, RequestsValueT &&value)
AWS_BATCH_API EksContainerResourceRequirements()=default
EksContainerResourceRequirements & WithRequests(RequestsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue