AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ModelNameT = Aws::String>
48 void SetModelName(ModelNameT&& value) { m_modelNameHasBeenSet = true; m_modelName = std::forward<ModelNameT>(value); }
49 template<typename ModelNameT = Aws::String>
50 ModelSummary& WithModelName(ModelNameT&& value) { SetModelName(std::forward<ModelNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetModelArn() const { return m_modelArn; }
58 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
59 template<typename ModelArnT = Aws::String>
60 void SetModelArn(ModelArnT&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::forward<ModelArnT>(value); }
61 template<typename ModelArnT = Aws::String>
62 ModelSummary& WithModelArn(ModelArnT&& value) { SetModelArn(std::forward<ModelArnT>(value)); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
70 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
71 template<typename CreationTimeT = Aws::Utils::DateTime>
72 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
73 template<typename CreationTimeT = Aws::Utils::DateTime>
74 ModelSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
76 private:
77
78 Aws::String m_modelName;
79 bool m_modelNameHasBeenSet = false;
80
81 Aws::String m_modelArn;
82 bool m_modelArnHasBeenSet = false;
83
84 Aws::Utils::DateTime m_creationTime{};
85 bool m_creationTimeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SageMaker
90} // namespace Aws
void SetCreationTime(CreationTimeT &&value)
void SetModelArn(ModelArnT &&value)
AWS_SAGEMAKER_API ModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ModelSummary(Aws::Utils::Json::JsonView jsonValue)
ModelSummary & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetModelArn() const
AWS_SAGEMAKER_API ModelSummary()=default
ModelSummary & WithModelArn(ModelArnT &&value)
const Aws::String & GetModelName() const
void SetModelName(ModelNameT &&value)
ModelSummary & WithModelName(ModelNameT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreationTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue