AWS SDK for C++  1.9.158
AWS SDK for C++
EdgeModel.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetModelName() const{ return m_modelName; }
45 
49  inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
50 
54  inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
55 
59  inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
60 
64  inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
65 
69  inline EdgeModel& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
70 
74  inline EdgeModel& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
75 
79  inline EdgeModel& WithModelName(const char* value) { SetModelName(value); return *this;}
80 
81 
85  inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
86 
90  inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
91 
95  inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
96 
100  inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); }
101 
105  inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); }
106 
110  inline EdgeModel& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
111 
115  inline EdgeModel& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
116 
120  inline EdgeModel& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
121 
122 
126  inline const Aws::Utils::DateTime& GetLatestSampleTime() const{ return m_latestSampleTime; }
127 
131  inline bool LatestSampleTimeHasBeenSet() const { return m_latestSampleTimeHasBeenSet; }
132 
136  inline void SetLatestSampleTime(const Aws::Utils::DateTime& value) { m_latestSampleTimeHasBeenSet = true; m_latestSampleTime = value; }
137 
141  inline void SetLatestSampleTime(Aws::Utils::DateTime&& value) { m_latestSampleTimeHasBeenSet = true; m_latestSampleTime = std::move(value); }
142 
146  inline EdgeModel& WithLatestSampleTime(const Aws::Utils::DateTime& value) { SetLatestSampleTime(value); return *this;}
147 
151  inline EdgeModel& WithLatestSampleTime(Aws::Utils::DateTime&& value) { SetLatestSampleTime(std::move(value)); return *this;}
152 
153 
157  inline const Aws::Utils::DateTime& GetLatestInference() const{ return m_latestInference; }
158 
162  inline bool LatestInferenceHasBeenSet() const { return m_latestInferenceHasBeenSet; }
163 
167  inline void SetLatestInference(const Aws::Utils::DateTime& value) { m_latestInferenceHasBeenSet = true; m_latestInference = value; }
168 
172  inline void SetLatestInference(Aws::Utils::DateTime&& value) { m_latestInferenceHasBeenSet = true; m_latestInference = std::move(value); }
173 
177  inline EdgeModel& WithLatestInference(const Aws::Utils::DateTime& value) { SetLatestInference(value); return *this;}
178 
182  inline EdgeModel& WithLatestInference(Aws::Utils::DateTime&& value) { SetLatestInference(std::move(value)); return *this;}
183 
184  private:
185 
186  Aws::String m_modelName;
187  bool m_modelNameHasBeenSet;
188 
189  Aws::String m_modelVersion;
190  bool m_modelVersionHasBeenSet;
191 
192  Aws::Utils::DateTime m_latestSampleTime;
193  bool m_latestSampleTimeHasBeenSet;
194 
195  Aws::Utils::DateTime m_latestInference;
196  bool m_latestInferenceHasBeenSet;
197  };
198 
199 } // namespace Model
200 } // namespace SageMaker
201 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::EdgeModel::SetModelVersion
void SetModelVersion(const char *value)
Definition: EdgeModel.h:105
SageMaker_EXPORTS.h
Aws::SageMaker::Model::EdgeModel::SetLatestSampleTime
void SetLatestSampleTime(const Aws::Utils::DateTime &value)
Definition: EdgeModel.h:136
Aws::SageMaker::Model::EdgeModel::WithModelName
EdgeModel & WithModelName(const Aws::String &value)
Definition: EdgeModel.h:69
Aws::SageMaker::Model::EdgeModel::GetLatestSampleTime
const Aws::Utils::DateTime & GetLatestSampleTime() const
Definition: EdgeModel.h:126
DateTime.h
Aws::SageMaker::Model::EdgeModel
Definition: EdgeModel.h:33
Aws::SageMaker::Model::EdgeModel::SetModelName
void SetModelName(const char *value)
Definition: EdgeModel.h:64
Aws::SageMaker::Model::EdgeModel::EdgeModel
EdgeModel(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::EdgeModel::WithModelName
EdgeModel & WithModelName(Aws::String &&value)
Definition: EdgeModel.h:74
Aws::SageMaker::Model::EdgeModel::SetModelName
void SetModelName(Aws::String &&value)
Definition: EdgeModel.h:59
Aws::SageMaker::Model::EdgeModel::WithModelVersion
EdgeModel & WithModelVersion(const char *value)
Definition: EdgeModel.h:120
Aws::SageMaker::Model::EdgeModel::WithModelVersion
EdgeModel & WithModelVersion(const Aws::String &value)
Definition: EdgeModel.h:110
Aws::SageMaker::Model::EdgeModel::SetLatestInference
void SetLatestInference(const Aws::Utils::DateTime &value)
Definition: EdgeModel.h:167
Aws::SageMaker::Model::EdgeModel::WithLatestInference
EdgeModel & WithLatestInference(const Aws::Utils::DateTime &value)
Definition: EdgeModel.h:177
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::EdgeModel::SetModelVersion
void SetModelVersion(Aws::String &&value)
Definition: EdgeModel.h:100
Aws::SageMaker::Model::EdgeModel::GetModelVersion
const Aws::String & GetModelVersion() const
Definition: EdgeModel.h:85
Aws::SageMaker::Model::EdgeModel::GetLatestInference
const Aws::Utils::DateTime & GetLatestInference() const
Definition: EdgeModel.h:157
Aws::SageMaker::Model::EdgeModel::SetLatestInference
void SetLatestInference(Aws::Utils::DateTime &&value)
Definition: EdgeModel.h:172
Aws::SageMaker::Model::EdgeModel::operator=
EdgeModel & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::EdgeModel::LatestInferenceHasBeenSet
bool LatestInferenceHasBeenSet() const
Definition: EdgeModel.h:162
Aws::SageMaker::Model::EdgeModel::WithModelName
EdgeModel & WithModelName(const char *value)
Definition: EdgeModel.h:79
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::EdgeModel::WithLatestSampleTime
EdgeModel & WithLatestSampleTime(const Aws::Utils::DateTime &value)
Definition: EdgeModel.h:146
Aws::SageMaker::Model::EdgeModel::LatestSampleTimeHasBeenSet
bool LatestSampleTimeHasBeenSet() const
Definition: EdgeModel.h:131
Aws::SageMaker::Model::EdgeModel::EdgeModel
EdgeModel()
Aws::SageMaker::Model::EdgeModel::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::EdgeModel::GetModelName
const Aws::String & GetModelName() const
Definition: EdgeModel.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::EdgeModel::SetModelName
void SetModelName(const Aws::String &value)
Definition: EdgeModel.h:54
Aws::SageMaker::Model::EdgeModel::WithLatestInference
EdgeModel & WithLatestInference(Aws::Utils::DateTime &&value)
Definition: EdgeModel.h:182
Aws::SageMaker::Model::EdgeModel::SetLatestSampleTime
void SetLatestSampleTime(Aws::Utils::DateTime &&value)
Definition: EdgeModel.h:141
Aws::SageMaker::Model::EdgeModel::WithModelVersion
EdgeModel & WithModelVersion(Aws::String &&value)
Definition: EdgeModel.h:115
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::EdgeModel::ModelNameHasBeenSet
bool ModelNameHasBeenSet() const
Definition: EdgeModel.h:49
Aws::SageMaker::Model::EdgeModel::SetModelVersion
void SetModelVersion(const Aws::String &value)
Definition: EdgeModel.h:95
Aws::SageMaker::Model::EdgeModel::ModelVersionHasBeenSet
bool ModelVersionHasBeenSet() const
Definition: EdgeModel.h:90
Aws::SageMaker::Model::EdgeModel::WithLatestSampleTime
EdgeModel & WithLatestSampleTime(Aws::Utils::DateTime &&value)
Definition: EdgeModel.h:151