AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelCardName(const Aws::String& value) { m_modelCardNameHasBeenSet = true; m_modelCardName = value; }
50 inline void SetModelCardName(Aws::String&& value) { m_modelCardNameHasBeenSet = true; m_modelCardName = std::move(value); }
51 inline void SetModelCardName(const char* value) { m_modelCardNameHasBeenSet = true; m_modelCardName.assign(value); }
52 inline ModelCardVersionSummary& WithModelCardName(const Aws::String& value) { SetModelCardName(value); return *this;}
53 inline ModelCardVersionSummary& WithModelCardName(Aws::String&& value) { SetModelCardName(std::move(value)); return *this;}
54 inline ModelCardVersionSummary& WithModelCardName(const char* value) { SetModelCardName(value); return *this;}
56
58
61 inline const Aws::String& GetModelCardArn() const{ return m_modelCardArn; }
62 inline bool ModelCardArnHasBeenSet() const { return m_modelCardArnHasBeenSet; }
63 inline void SetModelCardArn(const Aws::String& value) { m_modelCardArnHasBeenSet = true; m_modelCardArn = value; }
64 inline void SetModelCardArn(Aws::String&& value) { m_modelCardArnHasBeenSet = true; m_modelCardArn = std::move(value); }
65 inline void SetModelCardArn(const char* value) { m_modelCardArnHasBeenSet = true; m_modelCardArn.assign(value); }
66 inline ModelCardVersionSummary& WithModelCardArn(const Aws::String& value) { SetModelCardArn(value); return *this;}
67 inline ModelCardVersionSummary& WithModelCardArn(Aws::String&& value) { SetModelCardArn(std::move(value)); return *this;}
68 inline ModelCardVersionSummary& WithModelCardArn(const char* value) { SetModelCardArn(value); return *this;}
70
72
82 inline const ModelCardStatus& GetModelCardStatus() const{ return m_modelCardStatus; }
83 inline bool ModelCardStatusHasBeenSet() const { return m_modelCardStatusHasBeenSet; }
84 inline void SetModelCardStatus(const ModelCardStatus& value) { m_modelCardStatusHasBeenSet = true; m_modelCardStatus = value; }
85 inline void SetModelCardStatus(ModelCardStatus&& value) { m_modelCardStatusHasBeenSet = true; m_modelCardStatus = std::move(value); }
87 inline ModelCardVersionSummary& WithModelCardStatus(ModelCardStatus&& value) { SetModelCardStatus(std::move(value)); return *this;}
89
91
94 inline int GetModelCardVersion() const{ return m_modelCardVersion; }
95 inline bool ModelCardVersionHasBeenSet() const { return m_modelCardVersionHasBeenSet; }
96 inline void SetModelCardVersion(int value) { m_modelCardVersionHasBeenSet = true; m_modelCardVersion = value; }
97 inline ModelCardVersionSummary& WithModelCardVersion(int value) { SetModelCardVersion(value); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
105 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
106 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
107 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
109 inline ModelCardVersionSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
117 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
118 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
119 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
123 private:
124
125 Aws::String m_modelCardName;
126 bool m_modelCardNameHasBeenSet = false;
127
128 Aws::String m_modelCardArn;
129 bool m_modelCardArnHasBeenSet = false;
130
131 ModelCardStatus m_modelCardStatus;
132 bool m_modelCardStatusHasBeenSet = false;
133
134 int m_modelCardVersion;
135 bool m_modelCardVersionHasBeenSet = false;
136
137 Aws::Utils::DateTime m_creationTime;
138 bool m_creationTimeHasBeenSet = false;
139
140 Aws::Utils::DateTime m_lastModifiedTime;
141 bool m_lastModifiedTimeHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace SageMaker
146} // namespace Aws
AWS_SAGEMAKER_API ModelCardVersionSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
ModelCardVersionSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
ModelCardVersionSummary & WithModelCardStatus(ModelCardStatus &&value)
ModelCardVersionSummary & WithModelCardVersion(int value)
const Aws::Utils::DateTime & GetCreationTime() const
ModelCardVersionSummary & WithModelCardName(const char *value)
ModelCardVersionSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ModelCardVersionSummary & WithModelCardStatus(const ModelCardStatus &value)
void SetModelCardStatus(const ModelCardStatus &value)
ModelCardVersionSummary & WithModelCardName(const Aws::String &value)
AWS_SAGEMAKER_API ModelCardVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelCardVersionSummary & WithModelCardArn(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ModelCardVersionSummary & WithModelCardArn(Aws::String &&value)
ModelCardVersionSummary & WithModelCardArn(const Aws::String &value)
ModelCardVersionSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
ModelCardVersionSummary & WithModelCardName(Aws::String &&value)
ModelCardVersionSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue