AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ModelSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
29 public:
30 AWS_SAGEMAKER_API ModelSummary() = default;
31 AWS_SAGEMAKER_API ModelSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SAGEMAKER_API ModelSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetModelName() const { return m_modelName; }
40 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
41 template <typename ModelNameT = Aws::String>
42 void SetModelName(ModelNameT&& value) {
43 m_modelNameHasBeenSet = true;
44 m_modelName = std::forward<ModelNameT>(value);
45 }
46 template <typename ModelNameT = Aws::String>
47 ModelSummary& WithModelName(ModelNameT&& value) {
48 SetModelName(std::forward<ModelNameT>(value));
49 return *this;
50 }
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) {
61 m_modelArnHasBeenSet = true;
62 m_modelArn = std::forward<ModelArnT>(value);
63 }
64 template <typename ModelArnT = Aws::String>
65 ModelSummary& WithModelArn(ModelArnT&& value) {
66 SetModelArn(std::forward<ModelArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
76 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
77 template <typename CreationTimeT = Aws::Utils::DateTime>
78 void SetCreationTime(CreationTimeT&& value) {
79 m_creationTimeHasBeenSet = true;
80 m_creationTime = std::forward<CreationTimeT>(value);
81 }
82 template <typename CreationTimeT = Aws::Utils::DateTime>
83 ModelSummary& WithCreationTime(CreationTimeT&& value) {
84 SetCreationTime(std::forward<CreationTimeT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_modelName;
90
91 Aws::String m_modelArn;
92
93 Aws::Utils::DateTime m_creationTime{};
94 bool m_modelNameHasBeenSet = false;
95 bool m_modelArnHasBeenSet = false;
96 bool m_creationTimeHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SageMaker
101} // 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