AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainArn(const Aws::String& value) { m_domainArnHasBeenSet = true; m_domainArn = value; }
49 inline void SetDomainArn(Aws::String&& value) { m_domainArnHasBeenSet = true; m_domainArn = std::move(value); }
50 inline void SetDomainArn(const char* value) { m_domainArnHasBeenSet = true; m_domainArn.assign(value); }
51 inline DomainDetails& WithDomainArn(const Aws::String& value) { SetDomainArn(value); return *this;}
52 inline DomainDetails& WithDomainArn(Aws::String&& value) { SetDomainArn(std::move(value)); return *this;}
53 inline DomainDetails& WithDomainArn(const char* value) { SetDomainArn(value); return *this;}
55
57
60 inline const Aws::String& GetDomainId() const{ return m_domainId; }
61 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
62 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
63 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
64 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
65 inline DomainDetails& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
66 inline DomainDetails& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
67 inline DomainDetails& WithDomainId(const char* value) { SetDomainId(value); return *this;}
69
71
74 inline const Aws::String& GetDomainName() const{ return m_domainName; }
75 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
76 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
77 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
78 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
79 inline DomainDetails& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
80 inline DomainDetails& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
81 inline DomainDetails& WithDomainName(const char* value) { SetDomainName(value); return *this;}
83
85
88 inline const DomainStatus& GetStatus() const{ return m_status; }
89 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 inline void SetStatus(const DomainStatus& value) { m_statusHasBeenSet = true; m_status = value; }
91 inline void SetStatus(DomainStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
92 inline DomainDetails& WithStatus(const DomainStatus& value) { SetStatus(value); return *this;}
93 inline DomainDetails& WithStatus(DomainStatus&& value) { SetStatus(std::move(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
101 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
102 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
103 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
104 inline DomainDetails& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
105 inline DomainDetails& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
107
109
112 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
113 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
114 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
115 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
116 inline DomainDetails& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
117 inline DomainDetails& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
119
121
124 inline const Aws::String& GetUrl() const{ return m_url; }
125 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
126 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
127 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
128 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
129 inline DomainDetails& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
130 inline DomainDetails& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
131 inline DomainDetails& WithUrl(const char* value) { SetUrl(value); return *this;}
133 private:
134
135 Aws::String m_domainArn;
136 bool m_domainArnHasBeenSet = false;
137
138 Aws::String m_domainId;
139 bool m_domainIdHasBeenSet = false;
140
141 Aws::String m_domainName;
142 bool m_domainNameHasBeenSet = false;
143
144 DomainStatus m_status;
145 bool m_statusHasBeenSet = false;
146
147 Aws::Utils::DateTime m_creationTime;
148 bool m_creationTimeHasBeenSet = false;
149
150 Aws::Utils::DateTime m_lastModifiedTime;
151 bool m_lastModifiedTimeHasBeenSet = false;
152
153 Aws::String m_url;
154 bool m_urlHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace SageMaker
159} // namespace Aws
DomainDetails & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetDomainId(const char *value)
const Aws::String & GetUrl() const
void SetDomainArn(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DomainDetails & WithUrl(const Aws::String &value)
DomainDetails & WithDomainId(const char *value)
void SetDomainArn(const char *value)
AWS_SAGEMAKER_API DomainDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API DomainDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDomainName(Aws::String &&value)
void SetDomainId(Aws::String &&value)
DomainDetails & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DomainDetails & WithDomainId(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
DomainDetails & WithDomainName(const Aws::String &value)
DomainDetails & WithDomainArn(const char *value)
void SetDomainArn(Aws::String &&value)
void SetDomainName(const char *value)
void SetDomainName(const Aws::String &value)
DomainDetails & WithStatus(DomainStatus &&value)
DomainDetails & WithDomainId(const Aws::String &value)
DomainDetails & WithStatus(const DomainStatus &value)
DomainDetails & WithDomainName(Aws::String &&value)
const Aws::String & GetDomainName() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetUrl(Aws::String &&value)
void SetStatus(const DomainStatus &value)
const Aws::String & GetDomainArn() const
void SetUrl(const Aws::String &value)
const DomainStatus & GetStatus() const
DomainDetails & WithDomainArn(Aws::String &&value)
DomainDetails & WithUrl(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
DomainDetails & WithDomainName(const char *value)
void SetDomainId(const Aws::String &value)
const Aws::String & GetDomainId() const
DomainDetails & WithDomainArn(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
DomainDetails & WithCreationTime(const Aws::Utils::DateTime &value)
DomainDetails & WithUrl(Aws::String &&value)
DomainDetails & WithCreationTime(Aws::Utils::DateTime &&value)
void SetStatus(DomainStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue