AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
FleetAttributeCapability.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/deadline/Deadline_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace deadline {
21namespace Model {
22
30 public:
31 AWS_DEADLINE_API FleetAttributeCapability() = default;
34 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<Aws::String>& GetValues() const { return m_values; }
59 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
60 template <typename ValuesT = Aws::Vector<Aws::String>>
61 void SetValues(ValuesT&& value) {
62 m_valuesHasBeenSet = true;
63 m_values = std::forward<ValuesT>(value);
64 }
65 template <typename ValuesT = Aws::Vector<Aws::String>>
67 SetValues(std::forward<ValuesT>(value));
68 return *this;
69 }
70 template <typename ValuesT = Aws::String>
72 m_valuesHasBeenSet = true;
73 m_values.emplace_back(std::forward<ValuesT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_name;
79
81 bool m_nameHasBeenSet = false;
82 bool m_valuesHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace deadline
87} // namespace Aws
FleetAttributeCapability & WithValues(ValuesT &&value)
AWS_DEADLINE_API FleetAttributeCapability(Aws::Utils::Json::JsonView jsonValue)
FleetAttributeCapability & AddValues(ValuesT &&value)
const Aws::Vector< Aws::String > & GetValues() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API FleetAttributeCapability & operator=(Aws::Utils::Json::JsonView jsonValue)
FleetAttributeCapability & WithName(NameT &&value)
AWS_DEADLINE_API FleetAttributeCapability()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue