AWS SDK for C++  1.9.154
AWS SDK for C++
EdgeModelStat.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetModelName() const{ return m_modelName; }
44 
48  inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
49 
53  inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
54 
58  inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
59 
63  inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
64 
68  inline EdgeModelStat& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
69 
73  inline EdgeModelStat& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
74 
78  inline EdgeModelStat& WithModelName(const char* value) { SetModelName(value); return *this;}
79 
80 
84  inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
85 
89  inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
90 
94  inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
95 
99  inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); }
100 
104  inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); }
105 
109  inline EdgeModelStat& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
110 
114  inline EdgeModelStat& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
115 
119  inline EdgeModelStat& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
120 
121 
126  inline long long GetOfflineDeviceCount() const{ return m_offlineDeviceCount; }
127 
132  inline bool OfflineDeviceCountHasBeenSet() const { return m_offlineDeviceCountHasBeenSet; }
133 
138  inline void SetOfflineDeviceCount(long long value) { m_offlineDeviceCountHasBeenSet = true; m_offlineDeviceCount = value; }
139 
144  inline EdgeModelStat& WithOfflineDeviceCount(long long value) { SetOfflineDeviceCount(value); return *this;}
145 
146 
151  inline long long GetConnectedDeviceCount() const{ return m_connectedDeviceCount; }
152 
157  inline bool ConnectedDeviceCountHasBeenSet() const { return m_connectedDeviceCountHasBeenSet; }
158 
163  inline void SetConnectedDeviceCount(long long value) { m_connectedDeviceCountHasBeenSet = true; m_connectedDeviceCount = value; }
164 
169  inline EdgeModelStat& WithConnectedDeviceCount(long long value) { SetConnectedDeviceCount(value); return *this;}
170 
171 
176  inline long long GetActiveDeviceCount() const{ return m_activeDeviceCount; }
177 
182  inline bool ActiveDeviceCountHasBeenSet() const { return m_activeDeviceCountHasBeenSet; }
183 
188  inline void SetActiveDeviceCount(long long value) { m_activeDeviceCountHasBeenSet = true; m_activeDeviceCount = value; }
189 
194  inline EdgeModelStat& WithActiveDeviceCount(long long value) { SetActiveDeviceCount(value); return *this;}
195 
196 
201  inline long long GetSamplingDeviceCount() const{ return m_samplingDeviceCount; }
202 
207  inline bool SamplingDeviceCountHasBeenSet() const { return m_samplingDeviceCountHasBeenSet; }
208 
213  inline void SetSamplingDeviceCount(long long value) { m_samplingDeviceCountHasBeenSet = true; m_samplingDeviceCount = value; }
214 
219  inline EdgeModelStat& WithSamplingDeviceCount(long long value) { SetSamplingDeviceCount(value); return *this;}
220 
221  private:
222 
223  Aws::String m_modelName;
224  bool m_modelNameHasBeenSet;
225 
226  Aws::String m_modelVersion;
227  bool m_modelVersionHasBeenSet;
228 
229  long long m_offlineDeviceCount;
230  bool m_offlineDeviceCountHasBeenSet;
231 
232  long long m_connectedDeviceCount;
233  bool m_connectedDeviceCountHasBeenSet;
234 
235  long long m_activeDeviceCount;
236  bool m_activeDeviceCountHasBeenSet;
237 
238  long long m_samplingDeviceCount;
239  bool m_samplingDeviceCountHasBeenSet;
240  };
241 
242 } // namespace Model
243 } // namespace SageMaker
244 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::EdgeModelStat::SetModelVersion
void SetModelVersion(const Aws::String &value)
Definition: EdgeModelStat.h:94
Aws::SageMaker::Model::EdgeModelStat::WithConnectedDeviceCount
EdgeModelStat & WithConnectedDeviceCount(long long value)
Definition: EdgeModelStat.h:169
SageMaker_EXPORTS.h
Aws::SageMaker::Model::EdgeModelStat::operator=
EdgeModelStat & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::EdgeModelStat::GetSamplingDeviceCount
long long GetSamplingDeviceCount() const
Definition: EdgeModelStat.h:201
Aws::SageMaker::Model::EdgeModelStat::WithActiveDeviceCount
EdgeModelStat & WithActiveDeviceCount(long long value)
Definition: EdgeModelStat.h:194
Aws::SageMaker::Model::EdgeModelStat::SetConnectedDeviceCount
void SetConnectedDeviceCount(long long value)
Definition: EdgeModelStat.h:163
Aws::SageMaker::Model::EdgeModelStat::EdgeModelStat
EdgeModelStat(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::EdgeModelStat::WithModelName
EdgeModelStat & WithModelName(const Aws::String &value)
Definition: EdgeModelStat.h:68
Aws::SageMaker::Model::EdgeModelStat::GetModelName
const Aws::String & GetModelName() const
Definition: EdgeModelStat.h:43
Aws::SageMaker::Model::EdgeModelStat::SetModelName
void SetModelName(const char *value)
Definition: EdgeModelStat.h:63
Aws::SageMaker::Model::EdgeModelStat::WithModelVersion
EdgeModelStat & WithModelVersion(const char *value)
Definition: EdgeModelStat.h:119
Aws::SageMaker::Model::EdgeModelStat::ActiveDeviceCountHasBeenSet
bool ActiveDeviceCountHasBeenSet() const
Definition: EdgeModelStat.h:182
Aws::SageMaker::Model::EdgeModelStat::GetConnectedDeviceCount
long long GetConnectedDeviceCount() const
Definition: EdgeModelStat.h:151
Aws::SageMaker::Model::EdgeModelStat::SetSamplingDeviceCount
void SetSamplingDeviceCount(long long value)
Definition: EdgeModelStat.h:213
Aws::SageMaker::Model::EdgeModelStat::WithModelName
EdgeModelStat & WithModelName(Aws::String &&value)
Definition: EdgeModelStat.h:73
Aws::SageMaker::Model::EdgeModelStat::GetModelVersion
const Aws::String & GetModelVersion() const
Definition: EdgeModelStat.h:84
Aws::SageMaker::Model::EdgeModelStat::SamplingDeviceCountHasBeenSet
bool SamplingDeviceCountHasBeenSet() const
Definition: EdgeModelStat.h:207
Aws::SageMaker::Model::EdgeModelStat::ModelNameHasBeenSet
bool ModelNameHasBeenSet() const
Definition: EdgeModelStat.h:48
Aws::SageMaker::Model::EdgeModelStat::GetActiveDeviceCount
long long GetActiveDeviceCount() const
Definition: EdgeModelStat.h:176
Aws::SageMaker::Model::EdgeModelStat::OfflineDeviceCountHasBeenSet
bool OfflineDeviceCountHasBeenSet() const
Definition: EdgeModelStat.h:132
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::EdgeModelStat::SetOfflineDeviceCount
void SetOfflineDeviceCount(long long value)
Definition: EdgeModelStat.h:138
Aws::SageMaker::Model::EdgeModelStat::ModelVersionHasBeenSet
bool ModelVersionHasBeenSet() const
Definition: EdgeModelStat.h:89
Aws::SageMaker::Model::EdgeModelStat::ConnectedDeviceCountHasBeenSet
bool ConnectedDeviceCountHasBeenSet() const
Definition: EdgeModelStat.h:157
Aws::SageMaker::Model::EdgeModelStat::WithOfflineDeviceCount
EdgeModelStat & WithOfflineDeviceCount(long long value)
Definition: EdgeModelStat.h:144
Aws::SageMaker::Model::EdgeModelStat::SetModelName
void SetModelName(Aws::String &&value)
Definition: EdgeModelStat.h:58
Aws::SageMaker::Model::EdgeModelStat::WithModelName
EdgeModelStat & WithModelName(const char *value)
Definition: EdgeModelStat.h:78
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::EdgeModelStat::WithSamplingDeviceCount
EdgeModelStat & WithSamplingDeviceCount(long long value)
Definition: EdgeModelStat.h:219
Aws::SageMaker::Model::EdgeModelStat::SetModelName
void SetModelName(const Aws::String &value)
Definition: EdgeModelStat.h:53
Aws::SageMaker::Model::EdgeModelStat::SetActiveDeviceCount
void SetActiveDeviceCount(long long value)
Definition: EdgeModelStat.h:188
Aws::SageMaker::Model::EdgeModelStat::SetModelVersion
void SetModelVersion(const char *value)
Definition: EdgeModelStat.h:104
Aws::SageMaker::Model::EdgeModelStat::GetOfflineDeviceCount
long long GetOfflineDeviceCount() const
Definition: EdgeModelStat.h:126
Aws::SageMaker::Model::EdgeModelStat::WithModelVersion
EdgeModelStat & WithModelVersion(const Aws::String &value)
Definition: EdgeModelStat.h:109
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::EdgeModelStat::EdgeModelStat
EdgeModelStat()
Aws::SageMaker::Model::EdgeModelStat::SetModelVersion
void SetModelVersion(Aws::String &&value)
Definition: EdgeModelStat.h:99
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::EdgeModelStat::WithModelVersion
EdgeModelStat & WithModelVersion(Aws::String &&value)
Definition: EdgeModelStat.h:114
Aws::SageMaker::Model::EdgeModelStat::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::EdgeModelStat
Definition: EdgeModelStat.h:32