AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DomainDetails.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/DomainStatus.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 DomainDetails() = default;
32 AWS_SAGEMAKER_API DomainDetails(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API DomainDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetDomainArn() const { return m_domainArn; }
41 inline bool DomainArnHasBeenSet() const { return m_domainArnHasBeenSet; }
42 template <typename DomainArnT = Aws::String>
43 void SetDomainArn(DomainArnT&& value) {
44 m_domainArnHasBeenSet = true;
45 m_domainArn = std::forward<DomainArnT>(value);
46 }
47 template <typename DomainArnT = Aws::String>
48 DomainDetails& WithDomainArn(DomainArnT&& value) {
49 SetDomainArn(std::forward<DomainArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDomainId() const { return m_domainId; }
59 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
60 template <typename DomainIdT = Aws::String>
61 void SetDomainId(DomainIdT&& value) {
62 m_domainIdHasBeenSet = true;
63 m_domainId = std::forward<DomainIdT>(value);
64 }
65 template <typename DomainIdT = Aws::String>
66 DomainDetails& WithDomainId(DomainIdT&& value) {
67 SetDomainId(std::forward<DomainIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDomainName() const { return m_domainName; }
77 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
78 template <typename DomainNameT = Aws::String>
79 void SetDomainName(DomainNameT&& value) {
80 m_domainNameHasBeenSet = true;
81 m_domainName = std::forward<DomainNameT>(value);
82 }
83 template <typename DomainNameT = Aws::String>
84 DomainDetails& WithDomainName(DomainNameT&& value) {
85 SetDomainName(std::forward<DomainNameT>(value));
86 return *this;
87 }
89
91
94 inline DomainStatus GetStatus() const { return m_status; }
95 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
96 inline void SetStatus(DomainStatus value) {
97 m_statusHasBeenSet = true;
98 m_status = value;
99 }
101 SetStatus(value);
102 return *this;
103 }
105
107
110 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
111 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
112 template <typename CreationTimeT = Aws::Utils::DateTime>
113 void SetCreationTime(CreationTimeT&& value) {
114 m_creationTimeHasBeenSet = true;
115 m_creationTime = std::forward<CreationTimeT>(value);
116 }
117 template <typename CreationTimeT = Aws::Utils::DateTime>
118 DomainDetails& WithCreationTime(CreationTimeT&& value) {
119 SetCreationTime(std::forward<CreationTimeT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
129 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
130 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
131 void SetLastModifiedTime(LastModifiedTimeT&& value) {
132 m_lastModifiedTimeHasBeenSet = true;
133 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
134 }
135 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
136 DomainDetails& WithLastModifiedTime(LastModifiedTimeT&& value) {
137 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetUrl() const { return m_url; }
147 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
148 template <typename UrlT = Aws::String>
149 void SetUrl(UrlT&& value) {
150 m_urlHasBeenSet = true;
151 m_url = std::forward<UrlT>(value);
152 }
153 template <typename UrlT = Aws::String>
154 DomainDetails& WithUrl(UrlT&& value) {
155 SetUrl(std::forward<UrlT>(value));
156 return *this;
157 }
159 private:
160 Aws::String m_domainArn;
161
162 Aws::String m_domainId;
163
164 Aws::String m_domainName;
165
167
168 Aws::Utils::DateTime m_creationTime{};
169
170 Aws::Utils::DateTime m_lastModifiedTime{};
171
172 Aws::String m_url;
173 bool m_domainArnHasBeenSet = false;
174 bool m_domainIdHasBeenSet = false;
175 bool m_domainNameHasBeenSet = false;
176 bool m_statusHasBeenSet = false;
177 bool m_creationTimeHasBeenSet = false;
178 bool m_lastModifiedTimeHasBeenSet = false;
179 bool m_urlHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace SageMaker
184} // namespace Aws
DomainDetails & WithUrl(UrlT &&value)
const Aws::String & GetUrl() const
DomainDetails & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetDomainArn(DomainArnT &&value)
void SetStatus(DomainStatus value)
DomainDetails & WithCreationTime(CreationTimeT &&value)
DomainDetails & WithStatus(DomainStatus value)
void SetDomainId(DomainIdT &&value)
DomainDetails & WithDomainId(DomainIdT &&value)
AWS_SAGEMAKER_API DomainDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API DomainDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
DomainDetails & WithDomainName(DomainNameT &&value)
void SetCreationTime(CreationTimeT &&value)
DomainDetails & WithDomainArn(DomainArnT &&value)
const Aws::String & GetDomainName() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDomainArn() const
void SetDomainName(DomainNameT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetDomainId() const
AWS_SAGEMAKER_API DomainDetails()=default
void SetLastModifiedTime(LastModifiedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue