AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
MlflowAppSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/MlflowAppStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
30 public:
31 AWS_SAGEMAKER_API MlflowAppSummary() = default;
32 AWS_SAGEMAKER_API MlflowAppSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
48 MlflowAppSummary& WithArn(ArnT&& value) {
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
66 MlflowAppSummary& WithName(NameT&& value) {
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline MlflowAppStatus GetStatus() const { return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(MlflowAppStatus value) {
79 m_statusHasBeenSet = true;
80 m_status = value;
81 }
83 SetStatus(value);
84 return *this;
85 }
87
89
92 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
93 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
94 template <typename CreationTimeT = Aws::Utils::DateTime>
95 void SetCreationTime(CreationTimeT&& value) {
96 m_creationTimeHasBeenSet = true;
97 m_creationTime = std::forward<CreationTimeT>(value);
98 }
99 template <typename CreationTimeT = Aws::Utils::DateTime>
100 MlflowAppSummary& WithCreationTime(CreationTimeT&& value) {
101 SetCreationTime(std::forward<CreationTimeT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
111 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
112 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
113 void SetLastModifiedTime(LastModifiedTimeT&& value) {
114 m_lastModifiedTimeHasBeenSet = true;
115 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
116 }
117 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
118 MlflowAppSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
119 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetMlflowVersion() const { return m_mlflowVersion; }
129 inline bool MlflowVersionHasBeenSet() const { return m_mlflowVersionHasBeenSet; }
130 template <typename MlflowVersionT = Aws::String>
131 void SetMlflowVersion(MlflowVersionT&& value) {
132 m_mlflowVersionHasBeenSet = true;
133 m_mlflowVersion = std::forward<MlflowVersionT>(value);
134 }
135 template <typename MlflowVersionT = Aws::String>
136 MlflowAppSummary& WithMlflowVersion(MlflowVersionT&& value) {
137 SetMlflowVersion(std::forward<MlflowVersionT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_arn;
143
144 Aws::String m_name;
145
147
148 Aws::Utils::DateTime m_creationTime{};
149
150 Aws::Utils::DateTime m_lastModifiedTime{};
151
152 Aws::String m_mlflowVersion;
153 bool m_arnHasBeenSet = false;
154 bool m_nameHasBeenSet = false;
155 bool m_statusHasBeenSet = false;
156 bool m_creationTimeHasBeenSet = false;
157 bool m_lastModifiedTimeHasBeenSet = false;
158 bool m_mlflowVersionHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace SageMaker
163} // namespace Aws
MlflowAppSummary & WithMlflowVersion(MlflowVersionT &&value)
MlflowAppSummary & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetMlflowVersion() const
MlflowAppSummary & WithArn(ArnT &&value)
AWS_SAGEMAKER_API MlflowAppSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(MlflowAppStatus value)
const Aws::String & GetName() const
MlflowAppSummary & WithStatus(MlflowAppStatus value)
void SetMlflowVersion(MlflowVersionT &&value)
AWS_SAGEMAKER_API MlflowAppSummary()=default
AWS_SAGEMAKER_API MlflowAppSummary(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedTime(LastModifiedTimeT &&value)
MlflowAppSummary & WithName(NameT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::Utils::DateTime & GetCreationTime() const
MlflowAppSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue