AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename PlatformNameT = Aws::String>
47 void SetPlatformName(PlatformNameT&& value) { m_platformNameHasBeenSet = true; m_platformName = std::forward<PlatformNameT>(value); }
48 template<typename PlatformNameT = Aws::String>
49 DeviceInfo& WithPlatformName(PlatformNameT&& value) { SetPlatformName(std::forward<PlatformNameT>(value)); return *this;}
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) { m_platformVersionHasBeenSet = true; m_platformVersion = std::forward<PlatformVersionT>(value); }
60 template<typename PlatformVersionT = Aws::String>
61 DeviceInfo& WithPlatformVersion(PlatformVersionT&& value) { SetPlatformVersion(std::forward<PlatformVersionT>(value)); return *this;}
63
65
68 inline const Aws::String& GetOperatingSystem() const { return m_operatingSystem; }
69 inline bool OperatingSystemHasBeenSet() const { return m_operatingSystemHasBeenSet; }
70 template<typename OperatingSystemT = Aws::String>
71 void SetOperatingSystem(OperatingSystemT&& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = std::forward<OperatingSystemT>(value); }
72 template<typename OperatingSystemT = Aws::String>
73 DeviceInfo& WithOperatingSystem(OperatingSystemT&& value) { SetOperatingSystem(std::forward<OperatingSystemT>(value)); return *this;}
75 private:
76
77 Aws::String m_platformName;
78 bool m_platformNameHasBeenSet = false;
79
80 Aws::String m_platformVersion;
81 bool m_platformVersionHasBeenSet = false;
82
83 Aws::String m_operatingSystem;
84 bool m_operatingSystemHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Connect
89} // namespace Aws
const Aws::String & GetPlatformVersion() const
Definition DeviceInfo.h:56
const Aws::String & GetPlatformName() const
Definition DeviceInfo.h:44
DeviceInfo & WithPlatformName(PlatformNameT &&value)
Definition DeviceInfo.h:49
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
DeviceInfo & WithOperatingSystem(OperatingSystemT &&value)
Definition DeviceInfo.h:73
AWS_CONNECT_API DeviceInfo(Aws::Utils::Json::JsonView jsonValue)
bool PlatformVersionHasBeenSet() const
Definition DeviceInfo.h:57
void SetOperatingSystem(OperatingSystemT &&value)
Definition DeviceInfo.h:71
bool OperatingSystemHasBeenSet() const
Definition DeviceInfo.h:69
const Aws::String & GetOperatingSystem() const
Definition DeviceInfo.h:68
AWS_CONNECT_API DeviceInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPlatformName(PlatformNameT &&value)
Definition DeviceInfo.h:47
void SetPlatformVersion(PlatformVersionT &&value)
Definition DeviceInfo.h:59
DeviceInfo & WithPlatformVersion(PlatformVersionT &&value)
Definition DeviceInfo.h:61
AWS_CONNECT_API DeviceInfo()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue