AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ModelCardSummary.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
34 {
35 public:
36 AWS_SAGEMAKER_API ModelCardSummary() = default;
37 AWS_SAGEMAKER_API ModelCardSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetModelCardName() const { return m_modelCardName; }
47 inline bool ModelCardNameHasBeenSet() const { return m_modelCardNameHasBeenSet; }
48 template<typename ModelCardNameT = Aws::String>
49 void SetModelCardName(ModelCardNameT&& value) { m_modelCardNameHasBeenSet = true; m_modelCardName = std::forward<ModelCardNameT>(value); }
50 template<typename ModelCardNameT = Aws::String>
51 ModelCardSummary& WithModelCardName(ModelCardNameT&& value) { SetModelCardName(std::forward<ModelCardNameT>(value)); return *this;}
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) { m_modelCardArnHasBeenSet = true; m_modelCardArn = std::forward<ModelCardArnT>(value); }
62 template<typename ModelCardArnT = Aws::String>
63 ModelCardSummary& WithModelCardArn(ModelCardArnT&& value) { SetModelCardArn(std::forward<ModelCardArnT>(value)); return *this;}
65
67
77 inline ModelCardStatus GetModelCardStatus() const { return m_modelCardStatus; }
78 inline bool ModelCardStatusHasBeenSet() const { return m_modelCardStatusHasBeenSet; }
79 inline void SetModelCardStatus(ModelCardStatus value) { m_modelCardStatusHasBeenSet = true; m_modelCardStatus = value; }
82
84
87 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
88 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
89 template<typename CreationTimeT = Aws::Utils::DateTime>
90 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
91 template<typename CreationTimeT = Aws::Utils::DateTime>
92 ModelCardSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
100 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
101 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
102 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
103 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
104 ModelCardSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
106 private:
107
108 Aws::String m_modelCardName;
109 bool m_modelCardNameHasBeenSet = false;
110
111 Aws::String m_modelCardArn;
112 bool m_modelCardArnHasBeenSet = false;
113
114 ModelCardStatus m_modelCardStatus{ModelCardStatus::NOT_SET};
115 bool m_modelCardStatusHasBeenSet = false;
116
117 Aws::Utils::DateTime m_creationTime{};
118 bool m_creationTimeHasBeenSet = false;
119
120 Aws::Utils::DateTime m_lastModifiedTime{};
121 bool m_lastModifiedTimeHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace SageMaker
126} // 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