AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DeviceStats.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SageMaker {
17namespace Model {
18
25 public:
26 AWS_SAGEMAKER_API DeviceStats() = default;
27 AWS_SAGEMAKER_API DeviceStats(Aws::Utils::Json::JsonView jsonValue);
28 AWS_SAGEMAKER_API DeviceStats& operator=(Aws::Utils::Json::JsonView jsonValue);
29 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline long long GetConnectedDeviceCount() const { return m_connectedDeviceCount; }
36 inline bool ConnectedDeviceCountHasBeenSet() const { return m_connectedDeviceCountHasBeenSet; }
37 inline void SetConnectedDeviceCount(long long value) {
38 m_connectedDeviceCountHasBeenSet = true;
39 m_connectedDeviceCount = value;
40 }
41 inline DeviceStats& WithConnectedDeviceCount(long long value) {
43 return *this;
44 }
46
48
51 inline long long GetRegisteredDeviceCount() const { return m_registeredDeviceCount; }
52 inline bool RegisteredDeviceCountHasBeenSet() const { return m_registeredDeviceCountHasBeenSet; }
53 inline void SetRegisteredDeviceCount(long long value) {
54 m_registeredDeviceCountHasBeenSet = true;
55 m_registeredDeviceCount = value;
56 }
57 inline DeviceStats& WithRegisteredDeviceCount(long long value) {
59 return *this;
60 }
62 private:
63 long long m_connectedDeviceCount{0};
64
65 long long m_registeredDeviceCount{0};
66 bool m_connectedDeviceCountHasBeenSet = false;
67 bool m_registeredDeviceCountHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace SageMaker
72} // namespace Aws
AWS_SAGEMAKER_API DeviceStats & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
DeviceStats & WithRegisteredDeviceCount(long long value)
Definition DeviceStats.h:57
AWS_SAGEMAKER_API DeviceStats()=default
void SetRegisteredDeviceCount(long long value)
Definition DeviceStats.h:53
long long GetConnectedDeviceCount() const
Definition DeviceStats.h:35
void SetConnectedDeviceCount(long long value)
Definition DeviceStats.h:37
long long GetRegisteredDeviceCount() const
Definition DeviceStats.h:51
AWS_SAGEMAKER_API DeviceStats(Aws::Utils::Json::JsonView jsonValue)
DeviceStats & WithConnectedDeviceCount(long long value)
Definition DeviceStats.h:41
Aws::Utils::Json::JsonValue JsonValue