AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeviceInfo.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CONNECT_API DeviceInfo();
35 AWS_CONNECT_API DeviceInfo(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CONNECT_API DeviceInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetPlatformName() const{ return m_platformName; }
45 inline bool PlatformNameHasBeenSet() const { return m_platformNameHasBeenSet; }
46 inline void SetPlatformName(const Aws::String& value) { m_platformNameHasBeenSet = true; m_platformName = value; }
47 inline void SetPlatformName(Aws::String&& value) { m_platformNameHasBeenSet = true; m_platformName = std::move(value); }
48 inline void SetPlatformName(const char* value) { m_platformNameHasBeenSet = true; m_platformName.assign(value); }
49 inline DeviceInfo& WithPlatformName(const Aws::String& value) { SetPlatformName(value); return *this;}
50 inline DeviceInfo& WithPlatformName(Aws::String&& value) { SetPlatformName(std::move(value)); return *this;}
51 inline DeviceInfo& WithPlatformName(const char* value) { SetPlatformName(value); return *this;}
53
55
58 inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; }
59 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
60 inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; }
61 inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); }
62 inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); }
63 inline DeviceInfo& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;}
64 inline DeviceInfo& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;}
65 inline DeviceInfo& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;}
67
69
72 inline const Aws::String& GetOperatingSystem() const{ return m_operatingSystem; }
73 inline bool OperatingSystemHasBeenSet() const { return m_operatingSystemHasBeenSet; }
74 inline void SetOperatingSystem(const Aws::String& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = value; }
75 inline void SetOperatingSystem(Aws::String&& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = std::move(value); }
76 inline void SetOperatingSystem(const char* value) { m_operatingSystemHasBeenSet = true; m_operatingSystem.assign(value); }
77 inline DeviceInfo& WithOperatingSystem(const Aws::String& value) { SetOperatingSystem(value); return *this;}
78 inline DeviceInfo& WithOperatingSystem(Aws::String&& value) { SetOperatingSystem(std::move(value)); return *this;}
79 inline DeviceInfo& WithOperatingSystem(const char* value) { SetOperatingSystem(value); return *this;}
81 private:
82
83 Aws::String m_platformName;
84 bool m_platformNameHasBeenSet = false;
85
86 Aws::String m_platformVersion;
87 bool m_platformVersionHasBeenSet = false;
88
89 Aws::String m_operatingSystem;
90 bool m_operatingSystemHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Connect
95} // namespace Aws
const Aws::String & GetPlatformVersion() const
Definition DeviceInfo.h:58
const Aws::String & GetPlatformName() const
Definition DeviceInfo.h:44
void SetPlatformVersion(const Aws::String &value)
Definition DeviceInfo.h:60
DeviceInfo & WithOperatingSystem(Aws::String &&value)
Definition DeviceInfo.h:78
void SetOperatingSystem(const Aws::String &value)
Definition DeviceInfo.h:74
DeviceInfo & WithOperatingSystem(const char *value)
Definition DeviceInfo.h:79
DeviceInfo & WithPlatformVersion(const char *value)
Definition DeviceInfo.h:65
void SetPlatformVersion(const char *value)
Definition DeviceInfo.h:62
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API DeviceInfo(Aws::Utils::Json::JsonView jsonValue)
bool PlatformVersionHasBeenSet() const
Definition DeviceInfo.h:59
void SetPlatformName(const Aws::String &value)
Definition DeviceInfo.h:46
DeviceInfo & WithPlatformVersion(Aws::String &&value)
Definition DeviceInfo.h:64
bool OperatingSystemHasBeenSet() const
Definition DeviceInfo.h:73
DeviceInfo & WithPlatformName(const char *value)
Definition DeviceInfo.h:51
const Aws::String & GetOperatingSystem() const
Definition DeviceInfo.h:72
void SetOperatingSystem(Aws::String &&value)
Definition DeviceInfo.h:75
AWS_CONNECT_API DeviceInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPlatformName(Aws::String &&value)
Definition DeviceInfo.h:47
DeviceInfo & WithPlatformVersion(const Aws::String &value)
Definition DeviceInfo.h:63
DeviceInfo & WithOperatingSystem(const Aws::String &value)
Definition DeviceInfo.h:77
DeviceInfo & WithPlatformName(Aws::String &&value)
Definition DeviceInfo.h:50
DeviceInfo & WithPlatformName(const Aws::String &value)
Definition DeviceInfo.h:49
void SetOperatingSystem(const char *value)
Definition DeviceInfo.h:76
void SetPlatformName(const char *value)
Definition DeviceInfo.h:48
void SetPlatformVersion(Aws::String &&value)
Definition DeviceInfo.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue