AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ModelCardExportJobSummary.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/ModelCardExportJobStatus.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 ModelCardExportJobSummary() = default;
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetModelCardExportJobName() const { return m_modelCardExportJobName; }
48 inline bool ModelCardExportJobNameHasBeenSet() const { return m_modelCardExportJobNameHasBeenSet; }
49 template<typename ModelCardExportJobNameT = Aws::String>
50 void SetModelCardExportJobName(ModelCardExportJobNameT&& value) { m_modelCardExportJobNameHasBeenSet = true; m_modelCardExportJobName = std::forward<ModelCardExportJobNameT>(value); }
51 template<typename ModelCardExportJobNameT = Aws::String>
52 ModelCardExportJobSummary& WithModelCardExportJobName(ModelCardExportJobNameT&& value) { SetModelCardExportJobName(std::forward<ModelCardExportJobNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetModelCardExportJobArn() const { return m_modelCardExportJobArn; }
60 inline bool ModelCardExportJobArnHasBeenSet() const { return m_modelCardExportJobArnHasBeenSet; }
61 template<typename ModelCardExportJobArnT = Aws::String>
62 void SetModelCardExportJobArn(ModelCardExportJobArnT&& value) { m_modelCardExportJobArnHasBeenSet = true; m_modelCardExportJobArn = std::forward<ModelCardExportJobArnT>(value); }
63 template<typename ModelCardExportJobArnT = Aws::String>
64 ModelCardExportJobSummary& WithModelCardExportJobArn(ModelCardExportJobArnT&& value) { SetModelCardExportJobArn(std::forward<ModelCardExportJobArnT>(value)); return *this;}
66
68
71 inline ModelCardExportJobStatus GetStatus() const { return m_status; }
72 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
73 inline void SetStatus(ModelCardExportJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
76
78
81 inline const Aws::String& GetModelCardName() const { return m_modelCardName; }
82 inline bool ModelCardNameHasBeenSet() const { return m_modelCardNameHasBeenSet; }
83 template<typename ModelCardNameT = Aws::String>
84 void SetModelCardName(ModelCardNameT&& value) { m_modelCardNameHasBeenSet = true; m_modelCardName = std::forward<ModelCardNameT>(value); }
85 template<typename ModelCardNameT = Aws::String>
86 ModelCardExportJobSummary& WithModelCardName(ModelCardNameT&& value) { SetModelCardName(std::forward<ModelCardNameT>(value)); return *this;}
88
90
93 inline int GetModelCardVersion() const { return m_modelCardVersion; }
94 inline bool ModelCardVersionHasBeenSet() const { return m_modelCardVersionHasBeenSet; }
95 inline void SetModelCardVersion(int value) { m_modelCardVersionHasBeenSet = true; m_modelCardVersion = value; }
96 inline ModelCardExportJobSummary& WithModelCardVersion(int value) { SetModelCardVersion(value); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
104 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
105 template<typename CreatedAtT = Aws::Utils::DateTime>
106 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
107 template<typename CreatedAtT = Aws::Utils::DateTime>
108 ModelCardExportJobSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
116 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
117 template<typename LastModifiedAtT = Aws::Utils::DateTime>
118 void SetLastModifiedAt(LastModifiedAtT&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::forward<LastModifiedAtT>(value); }
119 template<typename LastModifiedAtT = Aws::Utils::DateTime>
120 ModelCardExportJobSummary& WithLastModifiedAt(LastModifiedAtT&& value) { SetLastModifiedAt(std::forward<LastModifiedAtT>(value)); return *this;}
122 private:
123
124 Aws::String m_modelCardExportJobName;
125 bool m_modelCardExportJobNameHasBeenSet = false;
126
127 Aws::String m_modelCardExportJobArn;
128 bool m_modelCardExportJobArnHasBeenSet = false;
129
131 bool m_statusHasBeenSet = false;
132
133 Aws::String m_modelCardName;
134 bool m_modelCardNameHasBeenSet = false;
135
136 int m_modelCardVersion{0};
137 bool m_modelCardVersionHasBeenSet = false;
138
139 Aws::Utils::DateTime m_createdAt{};
140 bool m_createdAtHasBeenSet = false;
141
142 Aws::Utils::DateTime m_lastModifiedAt{};
143 bool m_lastModifiedAtHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace SageMaker
148} // namespace Aws
void SetModelCardExportJobArn(ModelCardExportJobArnT &&value)
ModelCardExportJobSummary & WithStatus(ModelCardExportJobStatus value)
ModelCardExportJobSummary & WithCreatedAt(CreatedAtT &&value)
void SetModelCardExportJobName(ModelCardExportJobNameT &&value)
AWS_SAGEMAKER_API ModelCardExportJobSummary(Aws::Utils::Json::JsonView jsonValue)
ModelCardExportJobSummary & WithModelCardName(ModelCardNameT &&value)
AWS_SAGEMAKER_API ModelCardExportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelCardExportJobSummary & WithModelCardExportJobArn(ModelCardExportJobArnT &&value)
ModelCardExportJobSummary & WithLastModifiedAt(LastModifiedAtT &&value)
ModelCardExportJobSummary & WithModelCardExportJobName(ModelCardExportJobNameT &&value)
ModelCardExportJobSummary & WithModelCardVersion(int value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ModelCardExportJobSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue