AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelCardExportJobName(const Aws::String& value) { m_modelCardExportJobNameHasBeenSet = true; m_modelCardExportJobName = value; }
50 inline void SetModelCardExportJobName(Aws::String&& value) { m_modelCardExportJobNameHasBeenSet = true; m_modelCardExportJobName = std::move(value); }
51 inline void SetModelCardExportJobName(const char* value) { m_modelCardExportJobNameHasBeenSet = true; m_modelCardExportJobName.assign(value); }
54 inline ModelCardExportJobSummary& WithModelCardExportJobName(const char* value) { SetModelCardExportJobName(value); return *this;}
56
58
61 inline const Aws::String& GetModelCardExportJobArn() const{ return m_modelCardExportJobArn; }
62 inline bool ModelCardExportJobArnHasBeenSet() const { return m_modelCardExportJobArnHasBeenSet; }
63 inline void SetModelCardExportJobArn(const Aws::String& value) { m_modelCardExportJobArnHasBeenSet = true; m_modelCardExportJobArn = value; }
64 inline void SetModelCardExportJobArn(Aws::String&& value) { m_modelCardExportJobArnHasBeenSet = true; m_modelCardExportJobArn = std::move(value); }
65 inline void SetModelCardExportJobArn(const char* value) { m_modelCardExportJobArnHasBeenSet = true; m_modelCardExportJobArn.assign(value); }
68 inline ModelCardExportJobSummary& WithModelCardExportJobArn(const char* value) { SetModelCardExportJobArn(value); return *this;}
70
72
75 inline const ModelCardExportJobStatus& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const ModelCardExportJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(ModelCardExportJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
79 inline ModelCardExportJobSummary& WithStatus(const ModelCardExportJobStatus& value) { SetStatus(value); return *this;}
80 inline ModelCardExportJobSummary& WithStatus(ModelCardExportJobStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetModelCardName() const{ return m_modelCardName; }
88 inline bool ModelCardNameHasBeenSet() const { return m_modelCardNameHasBeenSet; }
89 inline void SetModelCardName(const Aws::String& value) { m_modelCardNameHasBeenSet = true; m_modelCardName = value; }
90 inline void SetModelCardName(Aws::String&& value) { m_modelCardNameHasBeenSet = true; m_modelCardName = std::move(value); }
91 inline void SetModelCardName(const char* value) { m_modelCardNameHasBeenSet = true; m_modelCardName.assign(value); }
92 inline ModelCardExportJobSummary& WithModelCardName(const Aws::String& value) { SetModelCardName(value); return *this;}
93 inline ModelCardExportJobSummary& WithModelCardName(Aws::String&& value) { SetModelCardName(std::move(value)); return *this;}
94 inline ModelCardExportJobSummary& WithModelCardName(const char* value) { SetModelCardName(value); return *this;}
96
98
101 inline int GetModelCardVersion() const{ return m_modelCardVersion; }
102 inline bool ModelCardVersionHasBeenSet() const { return m_modelCardVersionHasBeenSet; }
103 inline void SetModelCardVersion(int value) { m_modelCardVersionHasBeenSet = true; m_modelCardVersion = value; }
104 inline ModelCardExportJobSummary& WithModelCardVersion(int value) { SetModelCardVersion(value); return *this;}
106
108
111 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
112 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
113 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
114 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
115 inline ModelCardExportJobSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
116 inline ModelCardExportJobSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
118
120
123 inline const Aws::Utils::DateTime& GetLastModifiedAt() const{ return m_lastModifiedAt; }
124 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
125 inline void SetLastModifiedAt(const Aws::Utils::DateTime& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = value; }
126 inline void SetLastModifiedAt(Aws::Utils::DateTime&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::move(value); }
128 inline ModelCardExportJobSummary& WithLastModifiedAt(Aws::Utils::DateTime&& value) { SetLastModifiedAt(std::move(value)); return *this;}
130 private:
131
132 Aws::String m_modelCardExportJobName;
133 bool m_modelCardExportJobNameHasBeenSet = false;
134
135 Aws::String m_modelCardExportJobArn;
136 bool m_modelCardExportJobArnHasBeenSet = false;
137
139 bool m_statusHasBeenSet = false;
140
141 Aws::String m_modelCardName;
142 bool m_modelCardNameHasBeenSet = false;
143
144 int m_modelCardVersion;
145 bool m_modelCardVersionHasBeenSet = false;
146
147 Aws::Utils::DateTime m_createdAt;
148 bool m_createdAtHasBeenSet = false;
149
150 Aws::Utils::DateTime m_lastModifiedAt;
151 bool m_lastModifiedAtHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace SageMaker
156} // namespace Aws
ModelCardExportJobSummary & WithStatus(ModelCardExportJobStatus &&value)
ModelCardExportJobSummary & WithModelCardExportJobName(const Aws::String &value)
const ModelCardExportJobStatus & GetStatus() const
ModelCardExportJobSummary & WithModelCardName(Aws::String &&value)
ModelCardExportJobSummary & WithModelCardExportJobArn(const Aws::String &value)
void SetLastModifiedAt(const Aws::Utils::DateTime &value)
ModelCardExportJobSummary & WithModelCardName(const char *value)
void SetStatus(const ModelCardExportJobStatus &value)
ModelCardExportJobSummary & WithModelCardExportJobName(Aws::String &&value)
ModelCardExportJobSummary & WithLastModifiedAt(const Aws::Utils::DateTime &value)
ModelCardExportJobSummary & WithStatus(const ModelCardExportJobStatus &value)
ModelCardExportJobSummary & WithModelCardExportJobName(const char *value)
ModelCardExportJobSummary & WithModelCardName(const Aws::String &value)
ModelCardExportJobSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API ModelCardExportJobSummary(Aws::Utils::Json::JsonView jsonValue)
ModelCardExportJobSummary & WithModelCardExportJobArn(Aws::String &&value)
ModelCardExportJobSummary & WithLastModifiedAt(Aws::Utils::DateTime &&value)
ModelCardExportJobSummary & WithModelCardExportJobArn(const char *value)
AWS_SAGEMAKER_API ModelCardExportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(const Aws::Utils::DateTime &value)
ModelCardExportJobSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
ModelCardExportJobSummary & WithModelCardVersion(int value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue