AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeHubResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/HubS3StorageConfig.h>
12#include <aws/sagemaker/model/HubStatus.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker {
26namespace Model {
28 public:
29 AWS_SAGEMAKER_API DescribeHubResult() = default;
32
34
37 inline const Aws::String& GetHubName() const { return m_hubName; }
38 template <typename HubNameT = Aws::String>
39 void SetHubName(HubNameT&& value) {
40 m_hubNameHasBeenSet = true;
41 m_hubName = std::forward<HubNameT>(value);
42 }
43 template <typename HubNameT = Aws::String>
44 DescribeHubResult& WithHubName(HubNameT&& value) {
45 SetHubName(std::forward<HubNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetHubArn() const { return m_hubArn; }
55 template <typename HubArnT = Aws::String>
56 void SetHubArn(HubArnT&& value) {
57 m_hubArnHasBeenSet = true;
58 m_hubArn = std::forward<HubArnT>(value);
59 }
60 template <typename HubArnT = Aws::String>
61 DescribeHubResult& WithHubArn(HubArnT&& value) {
62 SetHubArn(std::forward<HubArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetHubDisplayName() const { return m_hubDisplayName; }
72 template <typename HubDisplayNameT = Aws::String>
73 void SetHubDisplayName(HubDisplayNameT&& value) {
74 m_hubDisplayNameHasBeenSet = true;
75 m_hubDisplayName = std::forward<HubDisplayNameT>(value);
76 }
77 template <typename HubDisplayNameT = Aws::String>
78 DescribeHubResult& WithHubDisplayName(HubDisplayNameT&& value) {
79 SetHubDisplayName(std::forward<HubDisplayNameT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetHubDescription() const { return m_hubDescription; }
89 template <typename HubDescriptionT = Aws::String>
90 void SetHubDescription(HubDescriptionT&& value) {
91 m_hubDescriptionHasBeenSet = true;
92 m_hubDescription = std::forward<HubDescriptionT>(value);
93 }
94 template <typename HubDescriptionT = Aws::String>
95 DescribeHubResult& WithHubDescription(HubDescriptionT&& value) {
96 SetHubDescription(std::forward<HubDescriptionT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::Vector<Aws::String>& GetHubSearchKeywords() const { return m_hubSearchKeywords; }
106 template <typename HubSearchKeywordsT = Aws::Vector<Aws::String>>
107 void SetHubSearchKeywords(HubSearchKeywordsT&& value) {
108 m_hubSearchKeywordsHasBeenSet = true;
109 m_hubSearchKeywords = std::forward<HubSearchKeywordsT>(value);
110 }
111 template <typename HubSearchKeywordsT = Aws::Vector<Aws::String>>
112 DescribeHubResult& WithHubSearchKeywords(HubSearchKeywordsT&& value) {
113 SetHubSearchKeywords(std::forward<HubSearchKeywordsT>(value));
114 return *this;
115 }
116 template <typename HubSearchKeywordsT = Aws::String>
117 DescribeHubResult& AddHubSearchKeywords(HubSearchKeywordsT&& value) {
118 m_hubSearchKeywordsHasBeenSet = true;
119 m_hubSearchKeywords.emplace_back(std::forward<HubSearchKeywordsT>(value));
120 return *this;
121 }
123
125
128 inline const HubS3StorageConfig& GetS3StorageConfig() const { return m_s3StorageConfig; }
129 template <typename S3StorageConfigT = HubS3StorageConfig>
130 void SetS3StorageConfig(S3StorageConfigT&& value) {
131 m_s3StorageConfigHasBeenSet = true;
132 m_s3StorageConfig = std::forward<S3StorageConfigT>(value);
133 }
134 template <typename S3StorageConfigT = HubS3StorageConfig>
135 DescribeHubResult& WithS3StorageConfig(S3StorageConfigT&& value) {
136 SetS3StorageConfig(std::forward<S3StorageConfigT>(value));
137 return *this;
138 }
140
142
145 inline HubStatus GetHubStatus() const { return m_hubStatus; }
146 inline void SetHubStatus(HubStatus value) {
147 m_hubStatusHasBeenSet = true;
148 m_hubStatus = value;
149 }
151 SetHubStatus(value);
152 return *this;
153 }
155
157
160 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
161 template <typename FailureReasonT = Aws::String>
162 void SetFailureReason(FailureReasonT&& value) {
163 m_failureReasonHasBeenSet = true;
164 m_failureReason = std::forward<FailureReasonT>(value);
165 }
166 template <typename FailureReasonT = Aws::String>
167 DescribeHubResult& WithFailureReason(FailureReasonT&& value) {
168 SetFailureReason(std::forward<FailureReasonT>(value));
169 return *this;
170 }
172
174
177 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
178 template <typename CreationTimeT = Aws::Utils::DateTime>
179 void SetCreationTime(CreationTimeT&& value) {
180 m_creationTimeHasBeenSet = true;
181 m_creationTime = std::forward<CreationTimeT>(value);
182 }
183 template <typename CreationTimeT = Aws::Utils::DateTime>
184 DescribeHubResult& WithCreationTime(CreationTimeT&& value) {
185 SetCreationTime(std::forward<CreationTimeT>(value));
186 return *this;
187 }
189
191
194 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
195 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
196 void SetLastModifiedTime(LastModifiedTimeT&& value) {
197 m_lastModifiedTimeHasBeenSet = true;
198 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
199 }
200 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
201 DescribeHubResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
202 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
203 return *this;
204 }
206
208
209 inline const Aws::String& GetRequestId() const { return m_requestId; }
210 template <typename RequestIdT = Aws::String>
211 void SetRequestId(RequestIdT&& value) {
212 m_requestIdHasBeenSet = true;
213 m_requestId = std::forward<RequestIdT>(value);
214 }
215 template <typename RequestIdT = Aws::String>
216 DescribeHubResult& WithRequestId(RequestIdT&& value) {
217 SetRequestId(std::forward<RequestIdT>(value));
218 return *this;
219 }
221 private:
222 Aws::String m_hubName;
223
224 Aws::String m_hubArn;
225
226 Aws::String m_hubDisplayName;
227
228 Aws::String m_hubDescription;
229
230 Aws::Vector<Aws::String> m_hubSearchKeywords;
231
232 HubS3StorageConfig m_s3StorageConfig;
233
234 HubStatus m_hubStatus{HubStatus::NOT_SET};
235
236 Aws::String m_failureReason;
237
238 Aws::Utils::DateTime m_creationTime{};
239
240 Aws::Utils::DateTime m_lastModifiedTime{};
241
242 Aws::String m_requestId;
243 bool m_hubNameHasBeenSet = false;
244 bool m_hubArnHasBeenSet = false;
245 bool m_hubDisplayNameHasBeenSet = false;
246 bool m_hubDescriptionHasBeenSet = false;
247 bool m_hubSearchKeywordsHasBeenSet = false;
248 bool m_s3StorageConfigHasBeenSet = false;
249 bool m_hubStatusHasBeenSet = false;
250 bool m_failureReasonHasBeenSet = false;
251 bool m_creationTimeHasBeenSet = false;
252 bool m_lastModifiedTimeHasBeenSet = false;
253 bool m_requestIdHasBeenSet = false;
254};
255
256} // namespace Model
257} // namespace SageMaker
258} // namespace Aws
AWS_SAGEMAKER_API DescribeHubResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetFailureReason() const
const Aws::String & GetHubDisplayName() const
void SetHubDescription(HubDescriptionT &&value)
DescribeHubResult & WithHubDisplayName(HubDisplayNameT &&value)
const HubS3StorageConfig & GetS3StorageConfig() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetS3StorageConfig(S3StorageConfigT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeHubResult & WithRequestId(RequestIdT &&value)
void SetFailureReason(FailureReasonT &&value)
const Aws::Vector< Aws::String > & GetHubSearchKeywords() const
DescribeHubResult & WithHubArn(HubArnT &&value)
DescribeHubResult & WithCreationTime(CreationTimeT &&value)
DescribeHubResult & WithHubSearchKeywords(HubSearchKeywordsT &&value)
DescribeHubResult & WithS3StorageConfig(S3StorageConfigT &&value)
void SetHubDisplayName(HubDisplayNameT &&value)
DescribeHubResult & WithHubStatus(HubStatus value)
DescribeHubResult & WithHubName(HubNameT &&value)
DescribeHubResult & WithHubDescription(HubDescriptionT &&value)
DescribeHubResult & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetHubSearchKeywords(HubSearchKeywordsT &&value)
AWS_SAGEMAKER_API DescribeHubResult()=default
DescribeHubResult & WithFailureReason(FailureReasonT &&value)
AWS_SAGEMAKER_API DescribeHubResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastModifiedTime(LastModifiedTimeT &&value)
DescribeHubResult & AddHubSearchKeywords(HubSearchKeywordsT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetHubDescription() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue