AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ModelCardSummary.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#include <aws/sagemaker/model/ModelCardStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
30 public:
31 AWS_SAGEMAKER_API ModelCardSummary() = default;
32 AWS_SAGEMAKER_API ModelCardSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetModelCardName() const { return m_modelCardName; }
41 inline bool ModelCardNameHasBeenSet() const { return m_modelCardNameHasBeenSet; }
42 template <typename ModelCardNameT = Aws::String>
43 void SetModelCardName(ModelCardNameT&& value) {
44 m_modelCardNameHasBeenSet = true;
45 m_modelCardName = std::forward<ModelCardNameT>(value);
46 }
47 template <typename ModelCardNameT = Aws::String>
48 ModelCardSummary& WithModelCardName(ModelCardNameT&& value) {
49 SetModelCardName(std::forward<ModelCardNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetModelCardArn() const { return m_modelCardArn; }
59 inline bool ModelCardArnHasBeenSet() const { return m_modelCardArnHasBeenSet; }
60 template <typename ModelCardArnT = Aws::String>
61 void SetModelCardArn(ModelCardArnT&& value) {
62 m_modelCardArnHasBeenSet = true;
63 m_modelCardArn = std::forward<ModelCardArnT>(value);
64 }
65 template <typename ModelCardArnT = Aws::String>
66 ModelCardSummary& WithModelCardArn(ModelCardArnT&& value) {
67 SetModelCardArn(std::forward<ModelCardArnT>(value));
68 return *this;
69 }
71
73
83 inline ModelCardStatus GetModelCardStatus() const { return m_modelCardStatus; }
84 inline bool ModelCardStatusHasBeenSet() const { return m_modelCardStatusHasBeenSet; }
86 m_modelCardStatusHasBeenSet = true;
87 m_modelCardStatus = value;
88 }
90 SetModelCardStatus(value);
91 return *this;
92 }
94
96
99 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
100 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
101 template <typename CreationTimeT = Aws::Utils::DateTime>
102 void SetCreationTime(CreationTimeT&& value) {
103 m_creationTimeHasBeenSet = true;
104 m_creationTime = std::forward<CreationTimeT>(value);
105 }
106 template <typename CreationTimeT = Aws::Utils::DateTime>
107 ModelCardSummary& WithCreationTime(CreationTimeT&& value) {
108 SetCreationTime(std::forward<CreationTimeT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
118 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
119 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
120 void SetLastModifiedTime(LastModifiedTimeT&& value) {
121 m_lastModifiedTimeHasBeenSet = true;
122 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
123 }
124 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
125 ModelCardSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
126 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
127 return *this;
128 }
130 private:
131 Aws::String m_modelCardName;
132
133 Aws::String m_modelCardArn;
134
135 ModelCardStatus m_modelCardStatus{ModelCardStatus::NOT_SET};
136
137 Aws::Utils::DateTime m_creationTime{};
138
139 Aws::Utils::DateTime m_lastModifiedTime{};
140 bool m_modelCardNameHasBeenSet = false;
141 bool m_modelCardArnHasBeenSet = false;
142 bool m_modelCardStatusHasBeenSet = false;
143 bool m_creationTimeHasBeenSet = false;
144 bool m_lastModifiedTimeHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace SageMaker
149} // namespace Aws
void SetModelCardStatus(ModelCardStatus value)
AWS_SAGEMAKER_API ModelCardSummary(Aws::Utils::Json::JsonView jsonValue)
ModelCardSummary & WithModelCardStatus(ModelCardStatus value)
AWS_SAGEMAKER_API ModelCardSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelCardSummary & WithModelCardArn(ModelCardArnT &&value)
void SetModelCardArn(ModelCardArnT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
ModelCardSummary & WithCreationTime(CreationTimeT &&value)
ModelCardSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
ModelCardSummary & WithModelCardName(ModelCardNameT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetModelCardName() const
AWS_SAGEMAKER_API ModelCardSummary()=default
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetModelCardArn() const
void SetModelCardName(ModelCardNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue