AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelCardName(const Aws::String& value) { m_modelCardNameHasBeenSet = true; m_modelCardName = value; }
49 inline void SetModelCardName(Aws::String&& value) { m_modelCardNameHasBeenSet = true; m_modelCardName = std::move(value); }
50 inline void SetModelCardName(const char* value) { m_modelCardNameHasBeenSet = true; m_modelCardName.assign(value); }
51 inline ModelCardSummary& WithModelCardName(const Aws::String& value) { SetModelCardName(value); return *this;}
52 inline ModelCardSummary& WithModelCardName(Aws::String&& value) { SetModelCardName(std::move(value)); return *this;}
53 inline ModelCardSummary& WithModelCardName(const char* value) { SetModelCardName(value); return *this;}
55
57
60 inline const Aws::String& GetModelCardArn() const{ return m_modelCardArn; }
61 inline bool ModelCardArnHasBeenSet() const { return m_modelCardArnHasBeenSet; }
62 inline void SetModelCardArn(const Aws::String& value) { m_modelCardArnHasBeenSet = true; m_modelCardArn = value; }
63 inline void SetModelCardArn(Aws::String&& value) { m_modelCardArnHasBeenSet = true; m_modelCardArn = std::move(value); }
64 inline void SetModelCardArn(const char* value) { m_modelCardArnHasBeenSet = true; m_modelCardArn.assign(value); }
65 inline ModelCardSummary& WithModelCardArn(const Aws::String& value) { SetModelCardArn(value); return *this;}
66 inline ModelCardSummary& WithModelCardArn(Aws::String&& value) { SetModelCardArn(std::move(value)); return *this;}
67 inline ModelCardSummary& WithModelCardArn(const char* value) { SetModelCardArn(value); return *this;}
69
71
81 inline const ModelCardStatus& GetModelCardStatus() const{ return m_modelCardStatus; }
82 inline bool ModelCardStatusHasBeenSet() const { return m_modelCardStatusHasBeenSet; }
83 inline void SetModelCardStatus(const ModelCardStatus& value) { m_modelCardStatusHasBeenSet = true; m_modelCardStatus = value; }
84 inline void SetModelCardStatus(ModelCardStatus&& value) { m_modelCardStatusHasBeenSet = true; m_modelCardStatus = std::move(value); }
85 inline ModelCardSummary& WithModelCardStatus(const ModelCardStatus& value) { SetModelCardStatus(value); return *this;}
86 inline ModelCardSummary& WithModelCardStatus(ModelCardStatus&& value) { SetModelCardStatus(std::move(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
94 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
95 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
96 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
97 inline ModelCardSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
98 inline ModelCardSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
106 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
107 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
108 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
110 inline ModelCardSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
112 private:
113
114 Aws::String m_modelCardName;
115 bool m_modelCardNameHasBeenSet = false;
116
117 Aws::String m_modelCardArn;
118 bool m_modelCardArnHasBeenSet = false;
119
120 ModelCardStatus m_modelCardStatus;
121 bool m_modelCardStatusHasBeenSet = false;
122
123 Aws::Utils::DateTime m_creationTime;
124 bool m_creationTimeHasBeenSet = false;
125
126 Aws::Utils::DateTime m_lastModifiedTime;
127 bool m_lastModifiedTimeHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace SageMaker
132} // namespace Aws
ModelCardSummary & WithModelCardStatus(const ModelCardStatus &value)
ModelCardSummary & WithModelCardArn(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetModelCardName(Aws::String &&value)
ModelCardSummary & WithModelCardArn(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetModelCardArn(Aws::String &&value)
AWS_SAGEMAKER_API ModelCardSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ModelCardSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelCardSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModelCardStatus(const ModelCardStatus &value)
ModelCardSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ModelCardSummary & WithModelCardName(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetModelCardName(const Aws::String &value)
ModelCardSummary & WithModelCardArn(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
ModelCardSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTime() const
ModelCardSummary & WithModelCardName(const Aws::String &value)
void SetModelCardArn(const Aws::String &value)
const Aws::String & GetModelCardName() const
ModelCardSummary & WithModelCardStatus(ModelCardStatus &&value)
void SetModelCardStatus(ModelCardStatus &&value)
ModelCardSummary & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetModelCardArn() const
const ModelCardStatus & GetModelCardStatus() const
ModelCardSummary & WithModelCardName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue