AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DomainDetails.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/DomainStatus.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 DomainDetails() = default;
37 AWS_SAGEMAKER_API DomainDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API DomainDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDomainArn() const { return m_domainArn; }
47 inline bool DomainArnHasBeenSet() const { return m_domainArnHasBeenSet; }
48 template<typename DomainArnT = Aws::String>
49 void SetDomainArn(DomainArnT&& value) { m_domainArnHasBeenSet = true; m_domainArn = std::forward<DomainArnT>(value); }
50 template<typename DomainArnT = Aws::String>
51 DomainDetails& WithDomainArn(DomainArnT&& value) { SetDomainArn(std::forward<DomainArnT>(value)); return *this;}
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) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
62 template<typename DomainIdT = Aws::String>
63 DomainDetails& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDomainName() const { return m_domainName; }
71 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
72 template<typename DomainNameT = Aws::String>
73 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
74 template<typename DomainNameT = Aws::String>
75 DomainDetails& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
77
79
82 inline DomainStatus GetStatus() const { return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 inline void SetStatus(DomainStatus value) { m_statusHasBeenSet = true; m_status = value; }
85 inline DomainDetails& WithStatus(DomainStatus value) { SetStatus(value); return *this;}
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) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
96 template<typename CreationTimeT = Aws::Utils::DateTime>
97 DomainDetails& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
105 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
106 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
107 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
108 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
109 DomainDetails& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
111
113
116 inline const Aws::String& GetUrl() const { return m_url; }
117 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
118 template<typename UrlT = Aws::String>
119 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
120 template<typename UrlT = Aws::String>
121 DomainDetails& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
123 private:
124
125 Aws::String m_domainArn;
126 bool m_domainArnHasBeenSet = false;
127
128 Aws::String m_domainId;
129 bool m_domainIdHasBeenSet = false;
130
131 Aws::String m_domainName;
132 bool m_domainNameHasBeenSet = false;
133
135 bool m_statusHasBeenSet = false;
136
137 Aws::Utils::DateTime m_creationTime{};
138 bool m_creationTimeHasBeenSet = false;
139
140 Aws::Utils::DateTime m_lastModifiedTime{};
141 bool m_lastModifiedTimeHasBeenSet = false;
142
143 Aws::String m_url;
144 bool m_urlHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace SageMaker
149} // 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