AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
PlatformDevice.h
Go to the documentation of this file.
1
6#pragma once
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
34 {
35 public:
40
41
47 inline const Aws::String& GetId() const{ return m_id; }
48
54 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
55
61 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
62
68 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
69
75 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
76
82 inline PlatformDevice& WithId(const Aws::String& value) { SetId(value); return *this;}
83
89 inline PlatformDevice& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
90
96 inline PlatformDevice& WithId(const char* value) { SetId(value); return *this;}
97
98
103 inline const PlatformDeviceType& GetType() const{ return m_type; }
104
109 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
110
115 inline void SetType(const PlatformDeviceType& value) { m_typeHasBeenSet = true; m_type = value; }
116
121 inline void SetType(PlatformDeviceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
122
127 inline PlatformDevice& WithType(const PlatformDeviceType& value) { SetType(value); return *this;}
128
133 inline PlatformDevice& WithType(PlatformDeviceType&& value) { SetType(std::move(value)); return *this;}
134
135 private:
136
137 Aws::String m_id;
138 bool m_idHasBeenSet = false;
139
140 PlatformDeviceType m_type;
141 bool m_typeHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace ECS
146} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
PlatformDevice & WithType(const PlatformDeviceType &value)
AWS_ECS_API PlatformDevice & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetId(Aws::String &&value)
PlatformDevice & WithId(const char *value)
void SetType(const PlatformDeviceType &value)
void SetType(PlatformDeviceType &&value)
AWS_ECS_API PlatformDevice(Aws::Utils::Json::JsonView jsonValue)
const PlatformDeviceType & GetType() const
PlatformDevice & WithId(Aws::String &&value)
void SetId(const char *value)
const Aws::String & GetId() const
PlatformDevice & WithType(PlatformDeviceType &&value)
PlatformDevice & WithId(const Aws::String &value)
void SetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String