AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
28 public:
29 AWS_CONNECT_API DeviceInfo() = default;
30 AWS_CONNECT_API DeviceInfo(Aws::Utils::Json::JsonView jsonValue);
31 AWS_CONNECT_API DeviceInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetPlatformName() const { return m_platformName; }
39 inline bool PlatformNameHasBeenSet() const { return m_platformNameHasBeenSet; }
40 template <typename PlatformNameT = Aws::String>
41 void SetPlatformName(PlatformNameT&& value) {
42 m_platformNameHasBeenSet = true;
43 m_platformName = std::forward<PlatformNameT>(value);
44 }
45 template <typename PlatformNameT = Aws::String>
46 DeviceInfo& WithPlatformName(PlatformNameT&& value) {
47 SetPlatformName(std::forward<PlatformNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetPlatformVersion() const { return m_platformVersion; }
57 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
58 template <typename PlatformVersionT = Aws::String>
59 void SetPlatformVersion(PlatformVersionT&& value) {
60 m_platformVersionHasBeenSet = true;
61 m_platformVersion = std::forward<PlatformVersionT>(value);
62 }
63 template <typename PlatformVersionT = Aws::String>
64 DeviceInfo& WithPlatformVersion(PlatformVersionT&& value) {
65 SetPlatformVersion(std::forward<PlatformVersionT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetOperatingSystem() const { return m_operatingSystem; }
75 inline bool OperatingSystemHasBeenSet() const { return m_operatingSystemHasBeenSet; }
76 template <typename OperatingSystemT = Aws::String>
77 void SetOperatingSystem(OperatingSystemT&& value) {
78 m_operatingSystemHasBeenSet = true;
79 m_operatingSystem = std::forward<OperatingSystemT>(value);
80 }
81 template <typename OperatingSystemT = Aws::String>
82 DeviceInfo& WithOperatingSystem(OperatingSystemT&& value) {
83 SetOperatingSystem(std::forward<OperatingSystemT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_platformName;
89
90 Aws::String m_platformVersion;
91
92 Aws::String m_operatingSystem;
93 bool m_platformNameHasBeenSet = false;
94 bool m_platformVersionHasBeenSet = false;
95 bool m_operatingSystemHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Connect
100} // namespace Aws
const Aws::String & GetPlatformVersion() const
Definition DeviceInfo.h:56
const Aws::String & GetPlatformName() const
Definition DeviceInfo.h:38
DeviceInfo & WithPlatformName(PlatformNameT &&value)
Definition DeviceInfo.h:46
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
DeviceInfo & WithOperatingSystem(OperatingSystemT &&value)
Definition DeviceInfo.h:82
AWS_CONNECT_API DeviceInfo(Aws::Utils::Json::JsonView jsonValue)
bool PlatformVersionHasBeenSet() const
Definition DeviceInfo.h:57
void SetOperatingSystem(OperatingSystemT &&value)
Definition DeviceInfo.h:77
bool OperatingSystemHasBeenSet() const
Definition DeviceInfo.h:75
const Aws::String & GetOperatingSystem() const
Definition DeviceInfo.h:74
AWS_CONNECT_API DeviceInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPlatformName(PlatformNameT &&value)
Definition DeviceInfo.h:41
void SetPlatformVersion(PlatformVersionT &&value)
Definition DeviceInfo.h:59
DeviceInfo & WithPlatformVersion(PlatformVersionT &&value)
Definition DeviceInfo.h:64
AWS_CONNECT_API DeviceInfo()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue