AWS SDK for C++  1.9.107
AWS SDK for C++
KernelCapabilities.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ECS
23 {
24 namespace Model
25 {
26 
40  {
41  public:
46 
47 
68  inline const Aws::Vector<Aws::String>& GetAdd() const{ return m_add; }
69 
90  inline bool AddHasBeenSet() const { return m_addHasBeenSet; }
91 
112  inline void SetAdd(const Aws::Vector<Aws::String>& value) { m_addHasBeenSet = true; m_add = value; }
113 
134  inline void SetAdd(Aws::Vector<Aws::String>&& value) { m_addHasBeenSet = true; m_add = std::move(value); }
135 
156  inline KernelCapabilities& WithAdd(const Aws::Vector<Aws::String>& value) { SetAdd(value); return *this;}
157 
178  inline KernelCapabilities& WithAdd(Aws::Vector<Aws::String>&& value) { SetAdd(std::move(value)); return *this;}
179 
200  inline KernelCapabilities& AddAdd(const Aws::String& value) { m_addHasBeenSet = true; m_add.push_back(value); return *this; }
201 
222  inline KernelCapabilities& AddAdd(Aws::String&& value) { m_addHasBeenSet = true; m_add.push_back(std::move(value)); return *this; }
223 
244  inline KernelCapabilities& AddAdd(const char* value) { m_addHasBeenSet = true; m_add.push_back(value); return *this; }
245 
246 
265  inline const Aws::Vector<Aws::String>& GetDrop() const{ return m_drop; }
266 
285  inline bool DropHasBeenSet() const { return m_dropHasBeenSet; }
286 
305  inline void SetDrop(const Aws::Vector<Aws::String>& value) { m_dropHasBeenSet = true; m_drop = value; }
306 
325  inline void SetDrop(Aws::Vector<Aws::String>&& value) { m_dropHasBeenSet = true; m_drop = std::move(value); }
326 
345  inline KernelCapabilities& WithDrop(const Aws::Vector<Aws::String>& value) { SetDrop(value); return *this;}
346 
365  inline KernelCapabilities& WithDrop(Aws::Vector<Aws::String>&& value) { SetDrop(std::move(value)); return *this;}
366 
385  inline KernelCapabilities& AddDrop(const Aws::String& value) { m_dropHasBeenSet = true; m_drop.push_back(value); return *this; }
386 
405  inline KernelCapabilities& AddDrop(Aws::String&& value) { m_dropHasBeenSet = true; m_drop.push_back(std::move(value)); return *this; }
406 
425  inline KernelCapabilities& AddDrop(const char* value) { m_dropHasBeenSet = true; m_drop.push_back(value); return *this; }
426 
427  private:
428 
430  bool m_addHasBeenSet;
431 
433  bool m_dropHasBeenSet;
434  };
435 
436 } // namespace Model
437 } // namespace ECS
438 } // namespace Aws
Aws::ECS::Model::KernelCapabilities::SetDrop
void SetDrop(Aws::Vector< Aws::String > &&value)
Definition: KernelCapabilities.h:325
Aws::ECS::Model::KernelCapabilities::SetAdd
void SetAdd(Aws::Vector< Aws::String > &&value)
Definition: KernelCapabilities.h:134
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::KernelCapabilities::WithAdd
KernelCapabilities & WithAdd(const Aws::Vector< Aws::String > &value)
Definition: KernelCapabilities.h:156
Aws::ECS::Model::KernelCapabilities::SetAdd
void SetAdd(const Aws::Vector< Aws::String > &value)
Definition: KernelCapabilities.h:112
Aws::ECS::Model::KernelCapabilities::WithDrop
KernelCapabilities & WithDrop(Aws::Vector< Aws::String > &&value)
Definition: KernelCapabilities.h:365
Aws::ECS::Model::KernelCapabilities::GetDrop
const Aws::Vector< Aws::String > & GetDrop() const
Definition: KernelCapabilities.h:265
Aws::ECS::Model::KernelCapabilities::AddAdd
KernelCapabilities & AddAdd(Aws::String &&value)
Definition: KernelCapabilities.h:222
Aws::ECS::Model::KernelCapabilities
Definition: KernelCapabilities.h:40
Aws::ECS::Model::KernelCapabilities::WithDrop
KernelCapabilities & WithDrop(const Aws::Vector< Aws::String > &value)
Definition: KernelCapabilities.h:345
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ECS::Model::KernelCapabilities::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWSVector.h
Aws::ECS::Model::KernelCapabilities::AddDrop
KernelCapabilities & AddDrop(Aws::String &&value)
Definition: KernelCapabilities.h:405
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::KernelCapabilities::AddHasBeenSet
bool AddHasBeenSet() const
Definition: KernelCapabilities.h:90
Aws::ECS::Model::KernelCapabilities::AddDrop
KernelCapabilities & AddDrop(const char *value)
Definition: KernelCapabilities.h:425
Aws::ECS::Model::KernelCapabilities::DropHasBeenSet
bool DropHasBeenSet() const
Definition: KernelCapabilities.h:285
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ECS::Model::KernelCapabilities::KernelCapabilities
KernelCapabilities()
Aws::ECS::Model::KernelCapabilities::GetAdd
const Aws::Vector< Aws::String > & GetAdd() const
Definition: KernelCapabilities.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::KernelCapabilities::WithAdd
KernelCapabilities & WithAdd(Aws::Vector< Aws::String > &&value)
Definition: KernelCapabilities.h:178
Aws::ECS::Model::KernelCapabilities::SetDrop
void SetDrop(const Aws::Vector< Aws::String > &value)
Definition: KernelCapabilities.h:305
Aws::ECS::Model::KernelCapabilities::AddAdd
KernelCapabilities & AddAdd(const Aws::String &value)
Definition: KernelCapabilities.h:200
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::KernelCapabilities::AddAdd
KernelCapabilities & AddAdd(const char *value)
Definition: KernelCapabilities.h:244
Aws::ECS::Model::KernelCapabilities::KernelCapabilities
KernelCapabilities(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::KernelCapabilities::AddDrop
KernelCapabilities & AddDrop(const Aws::String &value)
Definition: KernelCapabilities.h:385
Aws::ECS::Model::KernelCapabilities::operator=
KernelCapabilities & operator=(Aws::Utils::Json::JsonView jsonValue)
ECS_EXPORTS.h