AWS SDK for C++  1.9.126
AWS SDK for C++
ModelSummary.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 ModelSummary& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
70 
74  inline ModelSummary& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
75 
79  inline ModelSummary& WithModelName(const char* value) { SetModelName(value); return *this;}
80 
81 
85  inline const Aws::String& GetModelArn() const{ return m_modelArn; }
86 
90  inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
91 
95  inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; }
96 
100  inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); }
101 
105  inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); }
106 
110  inline ModelSummary& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
111 
115  inline ModelSummary& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
116 
120  inline ModelSummary& WithModelArn(const char* value) { SetModelArn(value); return *this;}
121 
122 
126  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
127 
131  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
132 
136  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
137 
141  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
142 
146  inline ModelSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
147 
151  inline ModelSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
152 
153  private:
154 
155  Aws::String m_modelName;
156  bool m_modelNameHasBeenSet;
157 
158  Aws::String m_modelArn;
159  bool m_modelArnHasBeenSet;
160 
161  Aws::Utils::DateTime m_creationTime;
162  bool m_creationTimeHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace SageMaker
167 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ModelSummary::GetModelName
const Aws::String & GetModelName() const
Definition: ModelSummary.h:44
Aws::SageMaker::Model::ModelSummary::WithModelArn
ModelSummary & WithModelArn(Aws::String &&value)
Definition: ModelSummary.h:115
Aws::SageMaker::Model::ModelSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
DateTime.h
Aws::SageMaker::Model::ModelSummary::SetModelArn
void SetModelArn(const Aws::String &value)
Definition: ModelSummary.h:95
Aws::SageMaker::Model::ModelSummary::SetModelArn
void SetModelArn(Aws::String &&value)
Definition: ModelSummary.h:100
Aws::SageMaker::Model::ModelSummary::SetModelName
void SetModelName(const char *value)
Definition: ModelSummary.h:64
Aws::SageMaker::Model::ModelSummary::WithModelName
ModelSummary & WithModelName(Aws::String &&value)
Definition: ModelSummary.h:74
Aws::SageMaker::Model::ModelSummary::SetModelName
void SetModelName(const Aws::String &value)
Definition: ModelSummary.h:54
Aws::SageMaker::Model::ModelSummary::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: ModelSummary.h:131
Aws::SageMaker::Model::ModelSummary::SetModelName
void SetModelName(Aws::String &&value)
Definition: ModelSummary.h:59
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ModelSummary::WithModelName
ModelSummary & WithModelName(const char *value)
Definition: ModelSummary.h:79
Aws::SageMaker::Model::ModelSummary::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: ModelSummary.h:136
Aws::SageMaker::Model::ModelSummary::ModelNameHasBeenSet
bool ModelNameHasBeenSet() const
Definition: ModelSummary.h:49
Aws::SageMaker::Model::ModelSummary::WithCreationTime
ModelSummary & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: ModelSummary.h:151
Aws::SageMaker::Model::ModelSummary::WithModelArn
ModelSummary & WithModelArn(const char *value)
Definition: ModelSummary.h:120
Aws::SageMaker::Model::ModelSummary::ModelArnHasBeenSet
bool ModelArnHasBeenSet() const
Definition: ModelSummary.h:90
Aws::SageMaker::Model::ModelSummary::GetModelArn
const Aws::String & GetModelArn() const
Definition: ModelSummary.h:85
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ModelSummary::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: ModelSummary.h:126
Aws::SageMaker::Model::ModelSummary::SetModelArn
void SetModelArn(const char *value)
Definition: ModelSummary.h:105
Aws::SageMaker::Model::ModelSummary::WithCreationTime
ModelSummary & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: ModelSummary.h:146
Aws::SageMaker::Model::ModelSummary::operator=
ModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ModelSummary::ModelSummary
ModelSummary()
Aws::SageMaker::Model::ModelSummary
Definition: ModelSummary.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ModelSummary::WithModelName
ModelSummary & WithModelName(const Aws::String &value)
Definition: ModelSummary.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ModelSummary::ModelSummary
ModelSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ModelSummary::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: ModelSummary.h:141
Aws::SageMaker::Model::ModelSummary::WithModelArn
ModelSummary & WithModelArn(const Aws::String &value)
Definition: ModelSummary.h:110