AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkerAttributeCapability.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 deadline
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DEADLINE_API WorkerAttributeCapability();
38 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline WorkerAttributeCapability& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline WorkerAttributeCapability& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline WorkerAttributeCapability& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
60 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
61 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
62 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
63 inline WorkerAttributeCapability& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
64 inline WorkerAttributeCapability& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
65 inline WorkerAttributeCapability& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
66 inline WorkerAttributeCapability& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
67 inline WorkerAttributeCapability& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
69 private:
70
71 Aws::String m_name;
72 bool m_nameHasBeenSet = false;
73
75 bool m_valuesHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace deadline
80} // namespace Aws
WorkerAttributeCapability & AddValues(const char *value)
WorkerAttributeCapability & WithName(Aws::String &&value)
WorkerAttributeCapability & WithName(const char *value)
AWS_DEADLINE_API WorkerAttributeCapability & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API WorkerAttributeCapability(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetValues() const
WorkerAttributeCapability & AddValues(const Aws::String &value)
WorkerAttributeCapability & WithValues(Aws::Vector< Aws::String > &&value)
WorkerAttributeCapability & WithName(const Aws::String &value)
WorkerAttributeCapability & AddValues(Aws::String &&value)
void SetValues(const Aws::Vector< Aws::String > &value)
WorkerAttributeCapability & WithValues(const Aws::Vector< Aws::String > &value)
void SetValues(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