AWS SDK for C++  1.9.159
AWS SDK for C++
DeviceStats.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace SageMaker
20 {
21 namespace Model
22 {
23 
30  {
31  public:
36 
37 
41  inline long long GetConnectedDeviceCount() const{ return m_connectedDeviceCount; }
42 
46  inline bool ConnectedDeviceCountHasBeenSet() const { return m_connectedDeviceCountHasBeenSet; }
47 
51  inline void SetConnectedDeviceCount(long long value) { m_connectedDeviceCountHasBeenSet = true; m_connectedDeviceCount = value; }
52 
56  inline DeviceStats& WithConnectedDeviceCount(long long value) { SetConnectedDeviceCount(value); return *this;}
57 
58 
62  inline long long GetRegisteredDeviceCount() const{ return m_registeredDeviceCount; }
63 
67  inline bool RegisteredDeviceCountHasBeenSet() const { return m_registeredDeviceCountHasBeenSet; }
68 
72  inline void SetRegisteredDeviceCount(long long value) { m_registeredDeviceCountHasBeenSet = true; m_registeredDeviceCount = value; }
73 
77  inline DeviceStats& WithRegisteredDeviceCount(long long value) { SetRegisteredDeviceCount(value); return *this;}
78 
79  private:
80 
81  long long m_connectedDeviceCount;
82  bool m_connectedDeviceCountHasBeenSet;
83 
84  long long m_registeredDeviceCount;
85  bool m_registeredDeviceCountHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace SageMaker
90 } // namespace Aws
Aws::SageMaker::Model::DeviceStats::WithConnectedDeviceCount
DeviceStats & WithConnectedDeviceCount(long long value)
Definition: DeviceStats.h:56
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DeviceStats::ConnectedDeviceCountHasBeenSet
bool ConnectedDeviceCountHasBeenSet() const
Definition: DeviceStats.h:46
Aws::SageMaker::Model::DeviceStats::DeviceStats
DeviceStats()
Aws::SageMaker::Model::DeviceStats::SetConnectedDeviceCount
void SetConnectedDeviceCount(long long value)
Definition: DeviceStats.h:51
Aws::SageMaker::Model::DeviceStats::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::DeviceStats::SetRegisteredDeviceCount
void SetRegisteredDeviceCount(long long value)
Definition: DeviceStats.h:72
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DeviceStats::DeviceStats
DeviceStats(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::DeviceStats::RegisteredDeviceCountHasBeenSet
bool RegisteredDeviceCountHasBeenSet() const
Definition: DeviceStats.h:67
Aws::SageMaker::Model::DeviceStats::GetRegisteredDeviceCount
long long GetRegisteredDeviceCount() const
Definition: DeviceStats.h:62
Aws::SageMaker::Model::DeviceStats::WithRegisteredDeviceCount
DeviceStats & WithRegisteredDeviceCount(long long value)
Definition: DeviceStats.h:77
Aws::SageMaker::Model::DeviceStats
Definition: DeviceStats.h:30
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::DeviceStats::operator=
DeviceStats & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DeviceStats::GetConnectedDeviceCount
long long GetConnectedDeviceCount() const
Definition: DeviceStats.h:41