AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelSummary.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 ModelSummary();
36 AWS_SAGEMAKER_API ModelSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API ModelSummary& 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 ModelSummary& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
51 inline ModelSummary& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
52 inline ModelSummary& WithModelName(const char* value) { SetModelName(value); return *this;}
54
56
59 inline const Aws::String& GetModelArn() const{ return m_modelArn; }
60 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
61 inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; }
62 inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); }
63 inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); }
64 inline ModelSummary& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
65 inline ModelSummary& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
66 inline ModelSummary& WithModelArn(const char* value) { SetModelArn(value); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
74 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
75 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
76 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
77 inline ModelSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
78 inline ModelSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_modelName;
83 bool m_modelNameHasBeenSet = false;
84
85 Aws::String m_modelArn;
86 bool m_modelArnHasBeenSet = false;
87
88 Aws::Utils::DateTime m_creationTime;
89 bool m_creationTimeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SageMaker
94} // namespace Aws
void SetModelArn(const char *value)
void SetModelArn(const Aws::String &value)
ModelSummary & WithCreationTime(Aws::Utils::DateTime &&value)
ModelSummary & WithModelName(Aws::String &&value)
AWS_SAGEMAKER_API ModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetModelArn(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API ModelSummary(Aws::Utils::Json::JsonView jsonValue)
void SetModelName(Aws::String &&value)
const Aws::String & GetModelArn() const
ModelSummary & WithModelArn(Aws::String &&value)
ModelSummary & WithModelName(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ModelSummary & WithModelName(const char *value)
ModelSummary & WithModelArn(const Aws::String &value)
const Aws::String & GetModelName() const
void SetModelName(const char *value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelSummary & WithModelArn(const char *value)
ModelSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetModelName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue