AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EksContainerResourceRequirements.h
1
6#pragma once
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>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Batch
23{
24namespace Model
25{
26
38 {
39 public:
43 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
75 inline const Aws::Map<Aws::String, Aws::String>& GetLimits() const{ return m_limits; }
76 inline bool LimitsHasBeenSet() const { return m_limitsHasBeenSet; }
77 inline void SetLimits(const Aws::Map<Aws::String, Aws::String>& value) { m_limitsHasBeenSet = true; m_limits = value; }
78 inline void SetLimits(Aws::Map<Aws::String, Aws::String>&& value) { m_limitsHasBeenSet = true; m_limits = std::move(value); }
81 inline EksContainerResourceRequirements& AddLimits(const Aws::String& key, const Aws::String& value) { m_limitsHasBeenSet = true; m_limits.emplace(key, value); return *this; }
82 inline EksContainerResourceRequirements& AddLimits(Aws::String&& key, const Aws::String& value) { m_limitsHasBeenSet = true; m_limits.emplace(std::move(key), value); return *this; }
83 inline EksContainerResourceRequirements& AddLimits(const Aws::String& key, Aws::String&& value) { m_limitsHasBeenSet = true; m_limits.emplace(key, std::move(value)); return *this; }
84 inline EksContainerResourceRequirements& AddLimits(Aws::String&& key, Aws::String&& value) { m_limitsHasBeenSet = true; m_limits.emplace(std::move(key), std::move(value)); return *this; }
85 inline EksContainerResourceRequirements& AddLimits(const char* key, Aws::String&& value) { m_limitsHasBeenSet = true; m_limits.emplace(key, std::move(value)); return *this; }
86 inline EksContainerResourceRequirements& AddLimits(Aws::String&& key, const char* value) { m_limitsHasBeenSet = true; m_limits.emplace(std::move(key), value); return *this; }
87 inline EksContainerResourceRequirements& AddLimits(const char* key, const char* value) { m_limitsHasBeenSet = true; m_limits.emplace(key, value); return *this; }
89
91
118 inline const Aws::Map<Aws::String, Aws::String>& GetRequests() const{ return m_requests; }
119 inline bool RequestsHasBeenSet() const { return m_requestsHasBeenSet; }
120 inline void SetRequests(const Aws::Map<Aws::String, Aws::String>& value) { m_requestsHasBeenSet = true; m_requests = value; }
121 inline void SetRequests(Aws::Map<Aws::String, Aws::String>&& value) { m_requestsHasBeenSet = true; m_requests = std::move(value); }
124 inline EksContainerResourceRequirements& AddRequests(const Aws::String& key, const Aws::String& value) { m_requestsHasBeenSet = true; m_requests.emplace(key, value); return *this; }
125 inline EksContainerResourceRequirements& AddRequests(Aws::String&& key, const Aws::String& value) { m_requestsHasBeenSet = true; m_requests.emplace(std::move(key), value); return *this; }
126 inline EksContainerResourceRequirements& AddRequests(const Aws::String& key, Aws::String&& value) { m_requestsHasBeenSet = true; m_requests.emplace(key, std::move(value)); return *this; }
127 inline EksContainerResourceRequirements& AddRequests(Aws::String&& key, Aws::String&& value) { m_requestsHasBeenSet = true; m_requests.emplace(std::move(key), std::move(value)); return *this; }
128 inline EksContainerResourceRequirements& AddRequests(const char* key, Aws::String&& value) { m_requestsHasBeenSet = true; m_requests.emplace(key, std::move(value)); return *this; }
129 inline EksContainerResourceRequirements& AddRequests(Aws::String&& key, const char* value) { m_requestsHasBeenSet = true; m_requests.emplace(std::move(key), value); return *this; }
130 inline EksContainerResourceRequirements& AddRequests(const char* key, const char* value) { m_requestsHasBeenSet = true; m_requests.emplace(key, value); return *this; }
132 private:
133
135 bool m_limitsHasBeenSet = false;
136
138 bool m_requestsHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace Batch
143} // namespace Aws
EksContainerResourceRequirements & AddLimits(Aws::String &&key, const char *value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
EksContainerResourceRequirements & AddLimits(Aws::String &&key, Aws::String &&value)
EksContainerResourceRequirements & AddRequests(Aws::String &&key, const char *value)
void SetLimits(const Aws::Map< Aws::String, Aws::String > &value)
void SetLimits(Aws::Map< Aws::String, Aws::String > &&value)
EksContainerResourceRequirements & AddLimits(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetLimits() const
EksContainerResourceRequirements & AddRequests(Aws::String &&key, Aws::String &&value)
EksContainerResourceRequirements & AddLimits(const Aws::String &key, Aws::String &&value)
EksContainerResourceRequirements & AddRequests(const char *key, Aws::String &&value)
AWS_BATCH_API EksContainerResourceRequirements & operator=(Aws::Utils::Json::JsonView jsonValue)
EksContainerResourceRequirements & AddRequests(const Aws::String &key, const Aws::String &value)
EksContainerResourceRequirements & WithRequests(const Aws::Map< Aws::String, Aws::String > &value)
EksContainerResourceRequirements & AddLimits(const char *key, const char *value)
EksContainerResourceRequirements & WithLimits(const Aws::Map< Aws::String, Aws::String > &value)
EksContainerResourceRequirements & AddLimits(const char *key, Aws::String &&value)
EksContainerResourceRequirements & AddRequests(Aws::String &&key, const Aws::String &value)
AWS_BATCH_API EksContainerResourceRequirements(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetRequests() const
EksContainerResourceRequirements & AddRequests(const char *key, const char *value)
EksContainerResourceRequirements & WithLimits(Aws::Map< Aws::String, Aws::String > &&value)
EksContainerResourceRequirements & AddRequests(const Aws::String &key, Aws::String &&value)
void SetRequests(Aws::Map< Aws::String, Aws::String > &&value)
EksContainerResourceRequirements & AddLimits(Aws::String &&key, const Aws::String &value)
void SetRequests(const Aws::Map< Aws::String, Aws::String > &value)
EksContainerResourceRequirements & WithRequests(Aws::Map< Aws::String, Aws::String > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue