AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EdgeModel.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SAGEMAKER_API EdgeModel() = default;
36 AWS_SAGEMAKER_API EdgeModel(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API EdgeModel& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetModelName() const { return m_modelName; }
46 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
47 template<typename ModelNameT = Aws::String>
48 void SetModelName(ModelNameT&& value) { m_modelNameHasBeenSet = true; m_modelName = std::forward<ModelNameT>(value); }
49 template<typename ModelNameT = Aws::String>
50 EdgeModel& WithModelName(ModelNameT&& value) { SetModelName(std::forward<ModelNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetModelVersion() const { return m_modelVersion; }
58 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
59 template<typename ModelVersionT = Aws::String>
60 void SetModelVersion(ModelVersionT&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::forward<ModelVersionT>(value); }
61 template<typename ModelVersionT = Aws::String>
62 EdgeModel& WithModelVersion(ModelVersionT&& value) { SetModelVersion(std::forward<ModelVersionT>(value)); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetLatestSampleTime() const { return m_latestSampleTime; }
70 inline bool LatestSampleTimeHasBeenSet() const { return m_latestSampleTimeHasBeenSet; }
71 template<typename LatestSampleTimeT = Aws::Utils::DateTime>
72 void SetLatestSampleTime(LatestSampleTimeT&& value) { m_latestSampleTimeHasBeenSet = true; m_latestSampleTime = std::forward<LatestSampleTimeT>(value); }
73 template<typename LatestSampleTimeT = Aws::Utils::DateTime>
74 EdgeModel& WithLatestSampleTime(LatestSampleTimeT&& value) { SetLatestSampleTime(std::forward<LatestSampleTimeT>(value)); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetLatestInference() const { return m_latestInference; }
82 inline bool LatestInferenceHasBeenSet() const { return m_latestInferenceHasBeenSet; }
83 template<typename LatestInferenceT = Aws::Utils::DateTime>
84 void SetLatestInference(LatestInferenceT&& value) { m_latestInferenceHasBeenSet = true; m_latestInference = std::forward<LatestInferenceT>(value); }
85 template<typename LatestInferenceT = Aws::Utils::DateTime>
86 EdgeModel& WithLatestInference(LatestInferenceT&& value) { SetLatestInference(std::forward<LatestInferenceT>(value)); return *this;}
88 private:
89
90 Aws::String m_modelName;
91 bool m_modelNameHasBeenSet = false;
92
93 Aws::String m_modelVersion;
94 bool m_modelVersionHasBeenSet = false;
95
96 Aws::Utils::DateTime m_latestSampleTime{};
97 bool m_latestSampleTimeHasBeenSet = false;
98
99 Aws::Utils::DateTime m_latestInference{};
100 bool m_latestInferenceHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace SageMaker
105} // namespace Aws
EdgeModel & WithModelVersion(ModelVersionT &&value)
Definition EdgeModel.h:62
AWS_SAGEMAKER_API EdgeModel(Aws::Utils::Json::JsonView jsonValue)
void SetModelName(ModelNameT &&value)
Definition EdgeModel.h:48
bool LatestSampleTimeHasBeenSet() const
Definition EdgeModel.h:70
void SetModelVersion(ModelVersionT &&value)
Definition EdgeModel.h:60
const Aws::Utils::DateTime & GetLatestSampleTime() const
Definition EdgeModel.h:69
const Aws::Utils::DateTime & GetLatestInference() const
Definition EdgeModel.h:81
AWS_SAGEMAKER_API EdgeModel()=default
AWS_SAGEMAKER_API EdgeModel & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetModelVersion() const
Definition EdgeModel.h:57
EdgeModel & WithModelName(ModelNameT &&value)
Definition EdgeModel.h:50
EdgeModel & WithLatestSampleTime(LatestSampleTimeT &&value)
Definition EdgeModel.h:74
EdgeModel & WithLatestInference(LatestInferenceT &&value)
Definition EdgeModel.h:86
void SetLatestSampleTime(LatestSampleTimeT &&value)
Definition EdgeModel.h:72
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetModelName() const
Definition EdgeModel.h:45
void SetLatestInference(LatestInferenceT &&value)
Definition EdgeModel.h:84
bool LatestInferenceHasBeenSet() const
Definition EdgeModel.h:82
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue