AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ModelCardVersionSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ModelCardStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API ModelCardVersionSummary() = default;
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetModelCardName() const { return m_modelCardName; }
48 inline bool ModelCardNameHasBeenSet() const { return m_modelCardNameHasBeenSet; }
49 template<typename ModelCardNameT = Aws::String>
50 void SetModelCardName(ModelCardNameT&& value) { m_modelCardNameHasBeenSet = true; m_modelCardName = std::forward<ModelCardNameT>(value); }
51 template<typename ModelCardNameT = Aws::String>
52 ModelCardVersionSummary& WithModelCardName(ModelCardNameT&& value) { SetModelCardName(std::forward<ModelCardNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetModelCardArn() const { return m_modelCardArn; }
60 inline bool ModelCardArnHasBeenSet() const { return m_modelCardArnHasBeenSet; }
61 template<typename ModelCardArnT = Aws::String>
62 void SetModelCardArn(ModelCardArnT&& value) { m_modelCardArnHasBeenSet = true; m_modelCardArn = std::forward<ModelCardArnT>(value); }
63 template<typename ModelCardArnT = Aws::String>
64 ModelCardVersionSummary& WithModelCardArn(ModelCardArnT&& value) { SetModelCardArn(std::forward<ModelCardArnT>(value)); return *this;}
66
68
78 inline ModelCardStatus GetModelCardStatus() const { return m_modelCardStatus; }
79 inline bool ModelCardStatusHasBeenSet() const { return m_modelCardStatusHasBeenSet; }
80 inline void SetModelCardStatus(ModelCardStatus value) { m_modelCardStatusHasBeenSet = true; m_modelCardStatus = value; }
83
85
88 inline int GetModelCardVersion() const { return m_modelCardVersion; }
89 inline bool ModelCardVersionHasBeenSet() const { return m_modelCardVersionHasBeenSet; }
90 inline void SetModelCardVersion(int value) { m_modelCardVersionHasBeenSet = true; m_modelCardVersion = value; }
91 inline ModelCardVersionSummary& WithModelCardVersion(int value) { SetModelCardVersion(value); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
99 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
100 template<typename CreationTimeT = Aws::Utils::DateTime>
101 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
102 template<typename CreationTimeT = Aws::Utils::DateTime>
103 ModelCardVersionSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
105
107
110 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
111 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
112 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
113 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
114 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
115 ModelCardVersionSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
117 private:
118
119 Aws::String m_modelCardName;
120 bool m_modelCardNameHasBeenSet = false;
121
122 Aws::String m_modelCardArn;
123 bool m_modelCardArnHasBeenSet = false;
124
125 ModelCardStatus m_modelCardStatus{ModelCardStatus::NOT_SET};
126 bool m_modelCardStatusHasBeenSet = false;
127
128 int m_modelCardVersion{0};
129 bool m_modelCardVersionHasBeenSet = false;
130
131 Aws::Utils::DateTime m_creationTime{};
132 bool m_creationTimeHasBeenSet = false;
133
134 Aws::Utils::DateTime m_lastModifiedTime{};
135 bool m_lastModifiedTimeHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace SageMaker
140} // namespace Aws
AWS_SAGEMAKER_API ModelCardVersionSummary(Aws::Utils::Json::JsonView jsonValue)
ModelCardVersionSummary & WithModelCardArn(ModelCardArnT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ModelCardVersionSummary()=default
ModelCardVersionSummary & WithModelCardVersion(int value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_SAGEMAKER_API ModelCardVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelCardVersionSummary & WithModelCardStatus(ModelCardStatus value)
ModelCardVersionSummary & WithModelCardName(ModelCardNameT &&value)
ModelCardVersionSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
ModelCardVersionSummary & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue