AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
KernelCapabilities.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.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 ECS
23{
24namespace Model
25{
26
56 {
57 public:
58 AWS_ECS_API KernelCapabilities() = default;
62
63
65
80 inline const Aws::Vector<Aws::String>& GetAdd() const { return m_add; }
81 inline bool AddHasBeenSet() const { return m_addHasBeenSet; }
82 template<typename AddT = Aws::Vector<Aws::String>>
83 void SetAdd(AddT&& value) { m_addHasBeenSet = true; m_add = std::forward<AddT>(value); }
84 template<typename AddT = Aws::Vector<Aws::String>>
85 KernelCapabilities& WithAdd(AddT&& value) { SetAdd(std::forward<AddT>(value)); return *this;}
86 template<typename AddT = Aws::String>
87 KernelCapabilities& AddAdd(AddT&& value) { m_addHasBeenSet = true; m_add.emplace_back(std::forward<AddT>(value)); return *this; }
89
91
105 inline const Aws::Vector<Aws::String>& GetDrop() const { return m_drop; }
106 inline bool DropHasBeenSet() const { return m_dropHasBeenSet; }
107 template<typename DropT = Aws::Vector<Aws::String>>
108 void SetDrop(DropT&& value) { m_dropHasBeenSet = true; m_drop = std::forward<DropT>(value); }
109 template<typename DropT = Aws::Vector<Aws::String>>
110 KernelCapabilities& WithDrop(DropT&& value) { SetDrop(std::forward<DropT>(value)); return *this;}
111 template<typename DropT = Aws::String>
112 KernelCapabilities& AddDrop(DropT&& value) { m_dropHasBeenSet = true; m_drop.emplace_back(std::forward<DropT>(value)); return *this; }
114 private:
115
117 bool m_addHasBeenSet = false;
118
120 bool m_dropHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace ECS
125} // namespace Aws
KernelCapabilities & WithAdd(AddT &&value)
AWS_ECS_API KernelCapabilities()=default
AWS_ECS_API KernelCapabilities(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetDrop() const
KernelCapabilities & AddAdd(AddT &&value)
AWS_ECS_API KernelCapabilities & operator=(Aws::Utils::Json::JsonView jsonValue)
KernelCapabilities & WithDrop(DropT &&value)
const Aws::Vector< Aws::String > & GetAdd() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
KernelCapabilities & AddDrop(DropT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue