AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
BasicDeviceObject.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wickr/Wickr_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Wickr {
20namespace Model {
21
30 public:
31 AWS_WICKR_API BasicDeviceObject() = default;
34 AWS_WICKR_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAppId() const { return m_appId; }
41 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
42 template <typename AppIdT = Aws::String>
43 void SetAppId(AppIdT&& value) {
44 m_appIdHasBeenSet = true;
45 m_appId = std::forward<AppIdT>(value);
46 }
47 template <typename AppIdT = Aws::String>
48 BasicDeviceObject& WithAppId(AppIdT&& value) {
49 SetAppId(std::forward<AppIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetCreated() const { return m_created; }
59 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
60 template <typename CreatedT = Aws::String>
61 void SetCreated(CreatedT&& value) {
62 m_createdHasBeenSet = true;
63 m_created = std::forward<CreatedT>(value);
64 }
65 template <typename CreatedT = Aws::String>
66 BasicDeviceObject& WithCreated(CreatedT&& value) {
67 SetCreated(std::forward<CreatedT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetLastLogin() const { return m_lastLogin; }
78 inline bool LastLoginHasBeenSet() const { return m_lastLoginHasBeenSet; }
79 template <typename LastLoginT = Aws::String>
80 void SetLastLogin(LastLoginT&& value) {
81 m_lastLoginHasBeenSet = true;
82 m_lastLogin = std::forward<LastLoginT>(value);
83 }
84 template <typename LastLoginT = Aws::String>
85 BasicDeviceObject& WithLastLogin(LastLoginT&& value) {
86 SetLastLogin(std::forward<LastLoginT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetStatusText() const { return m_statusText; }
97 inline bool StatusTextHasBeenSet() const { return m_statusTextHasBeenSet; }
98 template <typename StatusTextT = Aws::String>
99 void SetStatusText(StatusTextT&& value) {
100 m_statusTextHasBeenSet = true;
101 m_statusText = std::forward<StatusTextT>(value);
102 }
103 template <typename StatusTextT = Aws::String>
104 BasicDeviceObject& WithStatusText(StatusTextT&& value) {
105 SetStatusText(std::forward<StatusTextT>(value));
106 return *this;
107 }
109
111
114 inline bool GetSuspend() const { return m_suspend; }
115 inline bool SuspendHasBeenSet() const { return m_suspendHasBeenSet; }
116 inline void SetSuspend(bool value) {
117 m_suspendHasBeenSet = true;
118 m_suspend = value;
119 }
120 inline BasicDeviceObject& WithSuspend(bool value) {
121 SetSuspend(value);
122 return *this;
123 }
125
127
131 inline const Aws::String& GetType() const { return m_type; }
132 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
133 template <typename TypeT = Aws::String>
134 void SetType(TypeT&& value) {
135 m_typeHasBeenSet = true;
136 m_type = std::forward<TypeT>(value);
137 }
138 template <typename TypeT = Aws::String>
139 BasicDeviceObject& WithType(TypeT&& value) {
140 SetType(std::forward<TypeT>(value));
141 return *this;
142 }
144 private:
145 Aws::String m_appId;
146
147 Aws::String m_created;
148
149 Aws::String m_lastLogin;
150
151 Aws::String m_statusText;
152
153 bool m_suspend{false};
154
155 Aws::String m_type;
156 bool m_appIdHasBeenSet = false;
157 bool m_createdHasBeenSet = false;
158 bool m_lastLoginHasBeenSet = false;
159 bool m_statusTextHasBeenSet = false;
160 bool m_suspendHasBeenSet = false;
161 bool m_typeHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace Wickr
166} // namespace Aws
const Aws::String & GetCreated() const
AWS_WICKR_API BasicDeviceObject(Aws::Utils::Json::JsonView jsonValue)
BasicDeviceObject & WithAppId(AppIdT &&value)
void SetStatusText(StatusTextT &&value)
AWS_WICKR_API BasicDeviceObject & operator=(Aws::Utils::Json::JsonView jsonValue)
BasicDeviceObject & WithLastLogin(LastLoginT &&value)
const Aws::String & GetType() const
BasicDeviceObject & WithType(TypeT &&value)
AWS_WICKR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WICKR_API BasicDeviceObject()=default
BasicDeviceObject & WithCreated(CreatedT &&value)
BasicDeviceObject & WithSuspend(bool value)
void SetLastLogin(LastLoginT &&value)
BasicDeviceObject & WithStatusText(StatusTextT &&value)
const Aws::String & GetStatusText() const
const Aws::String & GetLastLogin() const
const Aws::String & GetAppId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue