AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeviceStats.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_SAGEMAKER_API DeviceStats();
33 AWS_SAGEMAKER_API DeviceStats(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API DeviceStats& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline long long GetConnectedDeviceCount() const{ return m_connectedDeviceCount; }
43 inline bool ConnectedDeviceCountHasBeenSet() const { return m_connectedDeviceCountHasBeenSet; }
44 inline void SetConnectedDeviceCount(long long value) { m_connectedDeviceCountHasBeenSet = true; m_connectedDeviceCount = value; }
45 inline DeviceStats& WithConnectedDeviceCount(long long value) { SetConnectedDeviceCount(value); return *this;}
47
49
52 inline long long GetRegisteredDeviceCount() const{ return m_registeredDeviceCount; }
53 inline bool RegisteredDeviceCountHasBeenSet() const { return m_registeredDeviceCountHasBeenSet; }
54 inline void SetRegisteredDeviceCount(long long value) { m_registeredDeviceCountHasBeenSet = true; m_registeredDeviceCount = value; }
55 inline DeviceStats& WithRegisteredDeviceCount(long long value) { SetRegisteredDeviceCount(value); return *this;}
57 private:
58
59 long long m_connectedDeviceCount;
60 bool m_connectedDeviceCountHasBeenSet = false;
61
62 long long m_registeredDeviceCount;
63 bool m_registeredDeviceCountHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace SageMaker
68} // 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:55
void SetRegisteredDeviceCount(long long value)
Definition DeviceStats.h:54
long long GetConnectedDeviceCount() const
Definition DeviceStats.h:42
void SetConnectedDeviceCount(long long value)
Definition DeviceStats.h:44
long long GetRegisteredDeviceCount() const
Definition DeviceStats.h:52
AWS_SAGEMAKER_API DeviceStats(Aws::Utils::Json::JsonView jsonValue)
DeviceStats & WithConnectedDeviceCount(long long value)
Definition DeviceStats.h:45
Aws::Utils::Json::JsonValue JsonValue