AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
47 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
48 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
49 inline EdgeModelStat& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
50 inline EdgeModelStat& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
51 inline EdgeModelStat& WithModelName(const char* value) { SetModelName(value); return *this;}
53
55
58 inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
59 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
60 inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
61 inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); }
62 inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); }
63 inline EdgeModelStat& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
64 inline EdgeModelStat& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
65 inline EdgeModelStat& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
67
69
73 inline long long GetOfflineDeviceCount() const{ return m_offlineDeviceCount; }
74 inline bool OfflineDeviceCountHasBeenSet() const { return m_offlineDeviceCountHasBeenSet; }
75 inline void SetOfflineDeviceCount(long long value) { m_offlineDeviceCountHasBeenSet = true; m_offlineDeviceCount = value; }
76 inline EdgeModelStat& WithOfflineDeviceCount(long long value) { SetOfflineDeviceCount(value); return *this;}
78
80
84 inline long long GetConnectedDeviceCount() const{ return m_connectedDeviceCount; }
85 inline bool ConnectedDeviceCountHasBeenSet() const { return m_connectedDeviceCountHasBeenSet; }
86 inline void SetConnectedDeviceCount(long long value) { m_connectedDeviceCountHasBeenSet = true; m_connectedDeviceCount = value; }
87 inline EdgeModelStat& WithConnectedDeviceCount(long long value) { SetConnectedDeviceCount(value); return *this;}
89
91
95 inline long long GetActiveDeviceCount() const{ return m_activeDeviceCount; }
96 inline bool ActiveDeviceCountHasBeenSet() const { return m_activeDeviceCountHasBeenSet; }
97 inline void SetActiveDeviceCount(long long value) { m_activeDeviceCountHasBeenSet = true; m_activeDeviceCount = value; }
98 inline EdgeModelStat& WithActiveDeviceCount(long long value) { SetActiveDeviceCount(value); return *this;}
100
102
106 inline long long GetSamplingDeviceCount() const{ return m_samplingDeviceCount; }
107 inline bool SamplingDeviceCountHasBeenSet() const { return m_samplingDeviceCountHasBeenSet; }
108 inline void SetSamplingDeviceCount(long long value) { m_samplingDeviceCountHasBeenSet = true; m_samplingDeviceCount = value; }
109 inline EdgeModelStat& WithSamplingDeviceCount(long long value) { SetSamplingDeviceCount(value); return *this;}
111 private:
112
113 Aws::String m_modelName;
114 bool m_modelNameHasBeenSet = false;
115
116 Aws::String m_modelVersion;
117 bool m_modelVersionHasBeenSet = false;
118
119 long long m_offlineDeviceCount;
120 bool m_offlineDeviceCountHasBeenSet = false;
121
122 long long m_connectedDeviceCount;
123 bool m_connectedDeviceCountHasBeenSet = false;
124
125 long long m_activeDeviceCount;
126 bool m_activeDeviceCountHasBeenSet = false;
127
128 long long m_samplingDeviceCount;
129 bool m_samplingDeviceCountHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace SageMaker
134} // namespace Aws
EdgeModelStat & WithModelVersion(Aws::String &&value)
EdgeModelStat & WithModelName(const char *value)
void SetModelName(Aws::String &&value)
void SetModelName(const char *value)
AWS_SAGEMAKER_API EdgeModelStat & operator=(Aws::Utils::Json::JsonView jsonValue)
EdgeModelStat & WithModelVersion(const Aws::String &value)
void SetActiveDeviceCount(long long value)
const Aws::String & GetModelName() const
void SetModelVersion(const Aws::String &value)
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 & WithModelName(Aws::String &&value)
void SetModelVersion(Aws::String &&value)
EdgeModelStat & WithActiveDeviceCount(long long value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
EdgeModelStat & WithModelName(const Aws::String &value)
void SetConnectedDeviceCount(long long value)
void SetOfflineDeviceCount(long long value)
EdgeModelStat & WithModelVersion(const char *value)
const Aws::String & GetModelVersion() const
EdgeModelStat & WithOfflineDeviceCount(long long value)
void SetModelVersion(const char *value)
void SetModelName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue