AWS SDK for C++  1.9.153
AWS SDK for C++
EdgeModelSummary.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 EdgeModelSummary& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
69 
73  inline EdgeModelSummary& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
74 
78  inline EdgeModelSummary& 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 EdgeModelSummary& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
110 
114  inline EdgeModelSummary& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
115 
119  inline EdgeModelSummary& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
120 
121  private:
122 
123  Aws::String m_modelName;
124  bool m_modelNameHasBeenSet;
125 
126  Aws::String m_modelVersion;
127  bool m_modelVersionHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace SageMaker
132 } // namespace Aws
Aws::SageMaker::Model::EdgeModelSummary::WithModelVersion
EdgeModelSummary & WithModelVersion(Aws::String &&value)
Definition: EdgeModelSummary.h:114
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::EdgeModelSummary::ModelNameHasBeenSet
bool ModelNameHasBeenSet() const
Definition: EdgeModelSummary.h:48
Aws::SageMaker::Model::EdgeModelSummary
Definition: EdgeModelSummary.h:32
Aws::SageMaker::Model::EdgeModelSummary::WithModelName
EdgeModelSummary & WithModelName(const char *value)
Definition: EdgeModelSummary.h:78
Aws::SageMaker::Model::EdgeModelSummary::GetModelName
const Aws::String & GetModelName() const
Definition: EdgeModelSummary.h:43
Aws::SageMaker::Model::EdgeModelSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::EdgeModelSummary::SetModelName
void SetModelName(Aws::String &&value)
Definition: EdgeModelSummary.h:58
Aws::SageMaker::Model::EdgeModelSummary::EdgeModelSummary
EdgeModelSummary()
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::EdgeModelSummary::SetModelVersion
void SetModelVersion(Aws::String &&value)
Definition: EdgeModelSummary.h:99
Aws::SageMaker::Model::EdgeModelSummary::WithModelName
EdgeModelSummary & WithModelName(Aws::String &&value)
Definition: EdgeModelSummary.h:73
Aws::SageMaker::Model::EdgeModelSummary::WithModelVersion
EdgeModelSummary & WithModelVersion(const Aws::String &value)
Definition: EdgeModelSummary.h:109
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::EdgeModelSummary::ModelVersionHasBeenSet
bool ModelVersionHasBeenSet() const
Definition: EdgeModelSummary.h:89
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::EdgeModelSummary::WithModelVersion
EdgeModelSummary & WithModelVersion(const char *value)
Definition: EdgeModelSummary.h:119
Aws::SageMaker::Model::EdgeModelSummary::operator=
EdgeModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::EdgeModelSummary::EdgeModelSummary
EdgeModelSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::EdgeModelSummary::GetModelVersion
const Aws::String & GetModelVersion() const
Definition: EdgeModelSummary.h:84
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::EdgeModelSummary::SetModelName
void SetModelName(const char *value)
Definition: EdgeModelSummary.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::EdgeModelSummary::SetModelName
void SetModelName(const Aws::String &value)
Definition: EdgeModelSummary.h:53
Aws::SageMaker::Model::EdgeModelSummary::SetModelVersion
void SetModelVersion(const Aws::String &value)
Definition: EdgeModelSummary.h:94
Aws::SageMaker::Model::EdgeModelSummary::SetModelVersion
void SetModelVersion(const char *value)
Definition: EdgeModelSummary.h:104
Aws::SageMaker::Model::EdgeModelSummary::WithModelName
EdgeModelSummary & WithModelName(const Aws::String &value)
Definition: EdgeModelSummary.h:68