AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TrackingServerSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/TrackingServerStatus.h>
11#include <aws/sagemaker/model/IsTrackingServerActive.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_SAGEMAKER_API TrackingServerSummary() = default;
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetTrackingServerArn() const { return m_trackingServerArn; }
48 inline bool TrackingServerArnHasBeenSet() const { return m_trackingServerArnHasBeenSet; }
49 template<typename TrackingServerArnT = Aws::String>
50 void SetTrackingServerArn(TrackingServerArnT&& value) { m_trackingServerArnHasBeenSet = true; m_trackingServerArn = std::forward<TrackingServerArnT>(value); }
51 template<typename TrackingServerArnT = Aws::String>
52 TrackingServerSummary& WithTrackingServerArn(TrackingServerArnT&& value) { SetTrackingServerArn(std::forward<TrackingServerArnT>(value)); return *this;}
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) { m_trackingServerNameHasBeenSet = true; m_trackingServerName = std::forward<TrackingServerNameT>(value); }
63 template<typename TrackingServerNameT = Aws::String>
64 TrackingServerSummary& WithTrackingServerName(TrackingServerNameT&& value) { SetTrackingServerName(std::forward<TrackingServerNameT>(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
72 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
73 template<typename CreationTimeT = Aws::Utils::DateTime>
74 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
75 template<typename CreationTimeT = Aws::Utils::DateTime>
76 TrackingServerSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
84 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
85 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
86 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
87 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
88 TrackingServerSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
90
92
95 inline TrackingServerStatus GetTrackingServerStatus() const { return m_trackingServerStatus; }
96 inline bool TrackingServerStatusHasBeenSet() const { return m_trackingServerStatusHasBeenSet; }
97 inline void SetTrackingServerStatus(TrackingServerStatus value) { m_trackingServerStatusHasBeenSet = true; m_trackingServerStatus = value; }
100
102
105 inline IsTrackingServerActive GetIsActive() const { return m_isActive; }
106 inline bool IsActiveHasBeenSet() const { return m_isActiveHasBeenSet; }
107 inline void SetIsActive(IsTrackingServerActive value) { m_isActiveHasBeenSet = true; m_isActive = value; }
110
112
115 inline const Aws::String& GetMlflowVersion() const { return m_mlflowVersion; }
116 inline bool MlflowVersionHasBeenSet() const { return m_mlflowVersionHasBeenSet; }
117 template<typename MlflowVersionT = Aws::String>
118 void SetMlflowVersion(MlflowVersionT&& value) { m_mlflowVersionHasBeenSet = true; m_mlflowVersion = std::forward<MlflowVersionT>(value); }
119 template<typename MlflowVersionT = Aws::String>
120 TrackingServerSummary& WithMlflowVersion(MlflowVersionT&& value) { SetMlflowVersion(std::forward<MlflowVersionT>(value)); return *this;}
122 private:
123
124 Aws::String m_trackingServerArn;
125 bool m_trackingServerArnHasBeenSet = false;
126
127 Aws::String m_trackingServerName;
128 bool m_trackingServerNameHasBeenSet = false;
129
130 Aws::Utils::DateTime m_creationTime{};
131 bool m_creationTimeHasBeenSet = false;
132
133 Aws::Utils::DateTime m_lastModifiedTime{};
134 bool m_lastModifiedTimeHasBeenSet = false;
135
137 bool m_trackingServerStatusHasBeenSet = false;
138
140 bool m_isActiveHasBeenSet = false;
141
142 Aws::String m_mlflowVersion;
143 bool m_mlflowVersionHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace SageMaker
148} // 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