AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PlatformDevice.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecs/model/PlatformDeviceType.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
34 {
35 public:
36 AWS_ECS_API PlatformDevice() = default;
40
41
43
48 inline const Aws::String& GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 PlatformDevice& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
61 inline PlatformDeviceType GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(PlatformDeviceType value) { m_typeHasBeenSet = true; m_type = value; }
64 inline PlatformDevice& WithType(PlatformDeviceType value) { SetType(value); return *this;}
66 private:
67
68 Aws::String m_id;
69 bool m_idHasBeenSet = false;
70
72 bool m_typeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace ECS
77} // namespace Aws
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API PlatformDevice & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API PlatformDevice()=default
PlatformDevice & WithType(PlatformDeviceType value)
AWS_ECS_API PlatformDevice(Aws::Utils::Json::JsonView jsonValue)
PlatformDeviceType GetType() const
PlatformDevice & WithId(IdT &&value)
const Aws::String & GetId() const
void SetType(PlatformDeviceType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue