AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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
37 {
38 public:
39 AWS_ECS_API KernelCapabilities();
43
44
46
61 inline const Aws::Vector<Aws::String>& GetAdd() const{ return m_add; }
62 inline bool AddHasBeenSet() const { return m_addHasBeenSet; }
63 inline void SetAdd(const Aws::Vector<Aws::String>& value) { m_addHasBeenSet = true; m_add = value; }
64 inline void SetAdd(Aws::Vector<Aws::String>&& value) { m_addHasBeenSet = true; m_add = std::move(value); }
65 inline KernelCapabilities& WithAdd(const Aws::Vector<Aws::String>& value) { SetAdd(value); return *this;}
66 inline KernelCapabilities& WithAdd(Aws::Vector<Aws::String>&& value) { SetAdd(std::move(value)); return *this;}
67 inline KernelCapabilities& AddAdd(const Aws::String& value) { m_addHasBeenSet = true; m_add.push_back(value); return *this; }
68 inline KernelCapabilities& AddAdd(Aws::String&& value) { m_addHasBeenSet = true; m_add.push_back(std::move(value)); return *this; }
69 inline KernelCapabilities& AddAdd(const char* value) { m_addHasBeenSet = true; m_add.push_back(value); return *this; }
71
73
87 inline const Aws::Vector<Aws::String>& GetDrop() const{ return m_drop; }
88 inline bool DropHasBeenSet() const { return m_dropHasBeenSet; }
89 inline void SetDrop(const Aws::Vector<Aws::String>& value) { m_dropHasBeenSet = true; m_drop = value; }
90 inline void SetDrop(Aws::Vector<Aws::String>&& value) { m_dropHasBeenSet = true; m_drop = std::move(value); }
91 inline KernelCapabilities& WithDrop(const Aws::Vector<Aws::String>& value) { SetDrop(value); return *this;}
92 inline KernelCapabilities& WithDrop(Aws::Vector<Aws::String>&& value) { SetDrop(std::move(value)); return *this;}
93 inline KernelCapabilities& AddDrop(const Aws::String& value) { m_dropHasBeenSet = true; m_drop.push_back(value); return *this; }
94 inline KernelCapabilities& AddDrop(Aws::String&& value) { m_dropHasBeenSet = true; m_drop.push_back(std::move(value)); return *this; }
95 inline KernelCapabilities& AddDrop(const char* value) { m_dropHasBeenSet = true; m_drop.push_back(value); return *this; }
97 private:
98
100 bool m_addHasBeenSet = false;
101
103 bool m_dropHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace ECS
108} // namespace Aws
KernelCapabilities & WithAdd(const Aws::Vector< Aws::String > &value)
AWS_ECS_API KernelCapabilities(Aws::Utils::Json::JsonView jsonValue)
void SetDrop(Aws::Vector< Aws::String > &&value)
KernelCapabilities & AddAdd(const char *value)
KernelCapabilities & AddDrop(const Aws::String &value)
const Aws::Vector< Aws::String > & GetDrop() const
KernelCapabilities & AddAdd(Aws::String &&value)
AWS_ECS_API KernelCapabilities & operator=(Aws::Utils::Json::JsonView jsonValue)
KernelCapabilities & WithAdd(Aws::Vector< Aws::String > &&value)
KernelCapabilities & AddDrop(Aws::String &&value)
KernelCapabilities & AddAdd(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAdd() const
void SetAdd(const Aws::Vector< Aws::String > &value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
KernelCapabilities & WithDrop(const Aws::Vector< Aws::String > &value)
KernelCapabilities & AddDrop(const char *value)
void SetDrop(const Aws::Vector< Aws::String > &value)
void SetAdd(Aws::Vector< Aws::String > &&value)
KernelCapabilities & WithDrop(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue