AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
TrackingServerSummary.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/IsTrackingServerActive.h>
11#include <aws/sagemaker/model/TrackingServerStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker {
23namespace Model {
24
31 public:
32 AWS_SAGEMAKER_API TrackingServerSummary() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetTrackingServerArn() const { return m_trackingServerArn; }
42 inline bool TrackingServerArnHasBeenSet() const { return m_trackingServerArnHasBeenSet; }
43 template <typename TrackingServerArnT = Aws::String>
44 void SetTrackingServerArn(TrackingServerArnT&& value) {
45 m_trackingServerArnHasBeenSet = true;
46 m_trackingServerArn = std::forward<TrackingServerArnT>(value);
47 }
48 template <typename TrackingServerArnT = Aws::String>
49 TrackingServerSummary& WithTrackingServerArn(TrackingServerArnT&& value) {
50 SetTrackingServerArn(std::forward<TrackingServerArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetTrackingServerName() const { return m_trackingServerName; }
60 inline bool TrackingServerNameHasBeenSet() const { return m_trackingServerNameHasBeenSet; }
61 template <typename TrackingServerNameT = Aws::String>
62 void SetTrackingServerName(TrackingServerNameT&& value) {
63 m_trackingServerNameHasBeenSet = true;
64 m_trackingServerName = std::forward<TrackingServerNameT>(value);
65 }
66 template <typename TrackingServerNameT = Aws::String>
67 TrackingServerSummary& WithTrackingServerName(TrackingServerNameT&& value) {
68 SetTrackingServerName(std::forward<TrackingServerNameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
78 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
79 template <typename CreationTimeT = Aws::Utils::DateTime>
80 void SetCreationTime(CreationTimeT&& value) {
81 m_creationTimeHasBeenSet = true;
82 m_creationTime = std::forward<CreationTimeT>(value);
83 }
84 template <typename CreationTimeT = Aws::Utils::DateTime>
85 TrackingServerSummary& WithCreationTime(CreationTimeT&& value) {
86 SetCreationTime(std::forward<CreationTimeT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
96 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
97 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
98 void SetLastModifiedTime(LastModifiedTimeT&& value) {
99 m_lastModifiedTimeHasBeenSet = true;
100 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
101 }
102 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
103 TrackingServerSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
104 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
105 return *this;
106 }
108
110
113 inline TrackingServerStatus GetTrackingServerStatus() const { return m_trackingServerStatus; }
114 inline bool TrackingServerStatusHasBeenSet() const { return m_trackingServerStatusHasBeenSet; }
116 m_trackingServerStatusHasBeenSet = true;
117 m_trackingServerStatus = value;
118 }
121 return *this;
122 }
124
126
129 inline IsTrackingServerActive GetIsActive() const { return m_isActive; }
130 inline bool IsActiveHasBeenSet() const { return m_isActiveHasBeenSet; }
132 m_isActiveHasBeenSet = true;
133 m_isActive = value;
134 }
136 SetIsActive(value);
137 return *this;
138 }
140
142
145 inline const Aws::String& GetMlflowVersion() const { return m_mlflowVersion; }
146 inline bool MlflowVersionHasBeenSet() const { return m_mlflowVersionHasBeenSet; }
147 template <typename MlflowVersionT = Aws::String>
148 void SetMlflowVersion(MlflowVersionT&& value) {
149 m_mlflowVersionHasBeenSet = true;
150 m_mlflowVersion = std::forward<MlflowVersionT>(value);
151 }
152 template <typename MlflowVersionT = Aws::String>
153 TrackingServerSummary& WithMlflowVersion(MlflowVersionT&& value) {
154 SetMlflowVersion(std::forward<MlflowVersionT>(value));
155 return *this;
156 }
158 private:
159 Aws::String m_trackingServerArn;
160
161 Aws::String m_trackingServerName;
162
163 Aws::Utils::DateTime m_creationTime{};
164
165 Aws::Utils::DateTime m_lastModifiedTime{};
166
168
170
171 Aws::String m_mlflowVersion;
172 bool m_trackingServerArnHasBeenSet = false;
173 bool m_trackingServerNameHasBeenSet = false;
174 bool m_creationTimeHasBeenSet = false;
175 bool m_lastModifiedTimeHasBeenSet = false;
176 bool m_trackingServerStatusHasBeenSet = false;
177 bool m_isActiveHasBeenSet = false;
178 bool m_mlflowVersionHasBeenSet = false;
179};
180
181} // namespace Model
182} // namespace SageMaker
183} // namespace Aws
void SetTrackingServerArn(TrackingServerArnT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
TrackingServerSummary & WithTrackingServerStatus(TrackingServerStatus value)
AWS_SAGEMAKER_API TrackingServerSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API TrackingServerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTrackingServerName(TrackingServerNameT &&value)
TrackingServerSummary & WithMlflowVersion(MlflowVersionT &&value)
TrackingServerSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API TrackingServerSummary()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIsActive(IsTrackingServerActive value)
void SetTrackingServerStatus(TrackingServerStatus value)
TrackingServerSummary & WithTrackingServerArn(TrackingServerArnT &&value)
TrackingServerSummary & WithTrackingServerName(TrackingServerNameT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
TrackingServerSummary & WithCreationTime(CreationTimeT &&value)
TrackingServerSummary & WithIsActive(IsTrackingServerActive value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue