AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EdgeModelStat.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_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 SageMaker
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SAGEMAKER_API EdgeModelStat() = default;
35 AWS_SAGEMAKER_API EdgeModelStat(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKER_API EdgeModelStat& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetModelName() const { return m_modelName; }
45 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
46 template<typename ModelNameT = Aws::String>
47 void SetModelName(ModelNameT&& value) { m_modelNameHasBeenSet = true; m_modelName = std::forward<ModelNameT>(value); }
48 template<typename ModelNameT = Aws::String>
49 EdgeModelStat& WithModelName(ModelNameT&& value) { SetModelName(std::forward<ModelNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetModelVersion() const { return m_modelVersion; }
57 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
58 template<typename ModelVersionT = Aws::String>
59 void SetModelVersion(ModelVersionT&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::forward<ModelVersionT>(value); }
60 template<typename ModelVersionT = Aws::String>
61 EdgeModelStat& WithModelVersion(ModelVersionT&& value) { SetModelVersion(std::forward<ModelVersionT>(value)); return *this;}
63
65
69 inline long long GetOfflineDeviceCount() const { return m_offlineDeviceCount; }
70 inline bool OfflineDeviceCountHasBeenSet() const { return m_offlineDeviceCountHasBeenSet; }
71 inline void SetOfflineDeviceCount(long long value) { m_offlineDeviceCountHasBeenSet = true; m_offlineDeviceCount = value; }
72 inline EdgeModelStat& WithOfflineDeviceCount(long long value) { SetOfflineDeviceCount(value); return *this;}
74
76
80 inline long long GetConnectedDeviceCount() const { return m_connectedDeviceCount; }
81 inline bool ConnectedDeviceCountHasBeenSet() const { return m_connectedDeviceCountHasBeenSet; }
82 inline void SetConnectedDeviceCount(long long value) { m_connectedDeviceCountHasBeenSet = true; m_connectedDeviceCount = value; }
83 inline EdgeModelStat& WithConnectedDeviceCount(long long value) { SetConnectedDeviceCount(value); return *this;}
85
87
91 inline long long GetActiveDeviceCount() const { return m_activeDeviceCount; }
92 inline bool ActiveDeviceCountHasBeenSet() const { return m_activeDeviceCountHasBeenSet; }
93 inline void SetActiveDeviceCount(long long value) { m_activeDeviceCountHasBeenSet = true; m_activeDeviceCount = value; }
94 inline EdgeModelStat& WithActiveDeviceCount(long long value) { SetActiveDeviceCount(value); return *this;}
96
98
102 inline long long GetSamplingDeviceCount() const { return m_samplingDeviceCount; }
103 inline bool SamplingDeviceCountHasBeenSet() const { return m_samplingDeviceCountHasBeenSet; }
104 inline void SetSamplingDeviceCount(long long value) { m_samplingDeviceCountHasBeenSet = true; m_samplingDeviceCount = value; }
105 inline EdgeModelStat& WithSamplingDeviceCount(long long value) { SetSamplingDeviceCount(value); return *this;}
107 private:
108
109 Aws::String m_modelName;
110 bool m_modelNameHasBeenSet = false;
111
112 Aws::String m_modelVersion;
113 bool m_modelVersionHasBeenSet = false;
114
115 long long m_offlineDeviceCount{0};
116 bool m_offlineDeviceCountHasBeenSet = false;
117
118 long long m_connectedDeviceCount{0};
119 bool m_connectedDeviceCountHasBeenSet = false;
120
121 long long m_activeDeviceCount{0};
122 bool m_activeDeviceCountHasBeenSet = false;
123
124 long long m_samplingDeviceCount{0};
125 bool m_samplingDeviceCountHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace SageMaker
130} // namespace Aws
void SetModelVersion(ModelVersionT &&value)
AWS_SAGEMAKER_API EdgeModelStat & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetActiveDeviceCount(long long value)
AWS_SAGEMAKER_API EdgeModelStat()=default
const Aws::String & GetModelName() const
AWS_SAGEMAKER_API EdgeModelStat(Aws::Utils::Json::JsonView jsonValue)
EdgeModelStat & WithConnectedDeviceCount(long long value)
void SetSamplingDeviceCount(long long value)
EdgeModelStat & WithSamplingDeviceCount(long long value)
EdgeModelStat & WithActiveDeviceCount(long long value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModelName(ModelNameT &&value)
void SetConnectedDeviceCount(long long value)
void SetOfflineDeviceCount(long long value)
EdgeModelStat & WithModelName(ModelNameT &&value)
const Aws::String & GetModelVersion() const
EdgeModelStat & WithOfflineDeviceCount(long long value)
EdgeModelStat & WithModelVersion(ModelVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue