AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
48 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
49 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
50 inline EdgeModel& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
51 inline EdgeModel& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
52 inline EdgeModel& WithModelName(const char* value) { SetModelName(value); return *this;}
54
56
59 inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
60 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
61 inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
62 inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); }
63 inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); }
64 inline EdgeModel& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
65 inline EdgeModel& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
66 inline EdgeModel& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetLatestSampleTime() const{ return m_latestSampleTime; }
74 inline bool LatestSampleTimeHasBeenSet() const { return m_latestSampleTimeHasBeenSet; }
75 inline void SetLatestSampleTime(const Aws::Utils::DateTime& value) { m_latestSampleTimeHasBeenSet = true; m_latestSampleTime = value; }
76 inline void SetLatestSampleTime(Aws::Utils::DateTime&& value) { m_latestSampleTimeHasBeenSet = true; m_latestSampleTime = std::move(value); }
77 inline EdgeModel& WithLatestSampleTime(const Aws::Utils::DateTime& value) { SetLatestSampleTime(value); return *this;}
78 inline EdgeModel& WithLatestSampleTime(Aws::Utils::DateTime&& value) { SetLatestSampleTime(std::move(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetLatestInference() const{ return m_latestInference; }
86 inline bool LatestInferenceHasBeenSet() const { return m_latestInferenceHasBeenSet; }
87 inline void SetLatestInference(const Aws::Utils::DateTime& value) { m_latestInferenceHasBeenSet = true; m_latestInference = value; }
88 inline void SetLatestInference(Aws::Utils::DateTime&& value) { m_latestInferenceHasBeenSet = true; m_latestInference = std::move(value); }
89 inline EdgeModel& WithLatestInference(const Aws::Utils::DateTime& value) { SetLatestInference(value); return *this;}
90 inline EdgeModel& WithLatestInference(Aws::Utils::DateTime&& value) { SetLatestInference(std::move(value)); return *this;}
92 private:
93
94 Aws::String m_modelName;
95 bool m_modelNameHasBeenSet = false;
96
97 Aws::String m_modelVersion;
98 bool m_modelVersionHasBeenSet = false;
99
100 Aws::Utils::DateTime m_latestSampleTime;
101 bool m_latestSampleTimeHasBeenSet = false;
102
103 Aws::Utils::DateTime m_latestInference;
104 bool m_latestInferenceHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace SageMaker
109} // namespace Aws
EdgeModel & WithLatestSampleTime(Aws::Utils::DateTime &&value)
Definition EdgeModel.h:78
EdgeModel & WithModelVersion(Aws::String &&value)
Definition EdgeModel.h:65
AWS_SAGEMAKER_API EdgeModel(Aws::Utils::Json::JsonView jsonValue)
void SetModelVersion(const char *value)
Definition EdgeModel.h:63
AWS_SAGEMAKER_API EdgeModel()
bool LatestSampleTimeHasBeenSet() const
Definition EdgeModel.h:74
EdgeModel & WithModelName(const char *value)
Definition EdgeModel.h:52
EdgeModel & WithModelName(Aws::String &&value)
Definition EdgeModel.h:51
void SetModelName(const char *value)
Definition EdgeModel.h:49
void SetLatestInference(Aws::Utils::DateTime &&value)
Definition EdgeModel.h:88
EdgeModel & WithModelVersion(const Aws::String &value)
Definition EdgeModel.h:64
EdgeModel & WithModelName(const Aws::String &value)
Definition EdgeModel.h:50
EdgeModel & WithModelVersion(const char *value)
Definition EdgeModel.h:66
const Aws::Utils::DateTime & GetLatestSampleTime() const
Definition EdgeModel.h:73
const Aws::Utils::DateTime & GetLatestInference() const
Definition EdgeModel.h:85
void SetLatestSampleTime(const Aws::Utils::DateTime &value)
Definition EdgeModel.h:75
EdgeModel & WithLatestSampleTime(const Aws::Utils::DateTime &value)
Definition EdgeModel.h:77
EdgeModel & WithLatestInference(const Aws::Utils::DateTime &value)
Definition EdgeModel.h:89
EdgeModel & WithLatestInference(Aws::Utils::DateTime &&value)
Definition EdgeModel.h:90
void SetModelName(const Aws::String &value)
Definition EdgeModel.h:47
AWS_SAGEMAKER_API EdgeModel & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetModelVersion() const
Definition EdgeModel.h:59
void SetModelVersion(Aws::String &&value)
Definition EdgeModel.h:62
void SetLatestSampleTime(Aws::Utils::DateTime &&value)
Definition EdgeModel.h:76
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModelName(Aws::String &&value)
Definition EdgeModel.h:48
const Aws::String & GetModelName() const
Definition EdgeModel.h:45
void SetLatestInference(const Aws::Utils::DateTime &value)
Definition EdgeModel.h:87
void SetModelVersion(const Aws::String &value)
Definition EdgeModel.h:61
bool LatestInferenceHasBeenSet() const
Definition EdgeModel.h:86
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue