AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline PlatformDevice& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline PlatformDevice& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline PlatformDevice& WithId(const char* value) { SetId(value); return *this;}
57
59
63 inline const PlatformDeviceType& GetType() const{ return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(const PlatformDeviceType& value) { m_typeHasBeenSet = true; m_type = value; }
66 inline void SetType(PlatformDeviceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
67 inline PlatformDevice& WithType(const PlatformDeviceType& value) { SetType(value); return *this;}
68 inline PlatformDevice& WithType(PlatformDeviceType&& value) { SetType(std::move(value)); return *this;}
70 private:
71
72 Aws::String m_id;
73 bool m_idHasBeenSet = false;
74
75 PlatformDeviceType m_type;
76 bool m_typeHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace ECS
81} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue