AWS SDK for C++

AWS SDK for C++ Version 1.11.925

Loading...
Searching...
No Matches
EksContainerLinuxCapabilities.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Batch {
21namespace Model {
22
32 public:
33 AWS_BATCH_API EksContainerLinuxCapabilities() = default;
36 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::Vector<Aws::String>& GetAdd() const { return m_add; }
45 inline bool AddHasBeenSet() const { return m_addHasBeenSet; }
46 template <typename AddT = Aws::Vector<Aws::String>>
47 void SetAdd(AddT&& value) {
48 m_addHasBeenSet = true;
49 m_add = std::forward<AddT>(value);
50 }
51 template <typename AddT = Aws::Vector<Aws::String>>
53 SetAdd(std::forward<AddT>(value));
54 return *this;
55 }
56 template <typename AddT = Aws::String>
58 m_addHasBeenSet = true;
59 m_add.emplace_back(std::forward<AddT>(value));
60 return *this;
61 }
63
65
70 inline const Aws::Vector<Aws::String>& GetDrop() const { return m_drop; }
71 inline bool DropHasBeenSet() const { return m_dropHasBeenSet; }
72 template <typename DropT = Aws::Vector<Aws::String>>
73 void SetDrop(DropT&& value) {
74 m_dropHasBeenSet = true;
75 m_drop = std::forward<DropT>(value);
76 }
77 template <typename DropT = Aws::Vector<Aws::String>>
79 SetDrop(std::forward<DropT>(value));
80 return *this;
81 }
82 template <typename DropT = Aws::String>
84 m_dropHasBeenSet = true;
85 m_drop.emplace_back(std::forward<DropT>(value));
86 return *this;
87 }
89 private:
91
93 bool m_addHasBeenSet = false;
94 bool m_dropHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace Batch
99} // namespace Aws
const Aws::Vector< Aws::String > & GetDrop() const
const Aws::Vector< Aws::String > & GetAdd() const
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API EksContainerLinuxCapabilities()=default
AWS_BATCH_API EksContainerLinuxCapabilities(Aws::Utils::Json::JsonView jsonValue)
EksContainerLinuxCapabilities & AddDrop(DropT &&value)
AWS_BATCH_API EksContainerLinuxCapabilities & operator=(Aws::Utils::Json::JsonView jsonValue)
EksContainerLinuxCapabilities & AddAdd(AddT &&value)
EksContainerLinuxCapabilities & WithAdd(AddT &&value)
EksContainerLinuxCapabilities & WithDrop(DropT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue