AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeHubResult.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/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/HubS3StorageConfig.h>
11#include <aws/sagemaker/model/HubStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker
28{
29namespace Model
30{
32 {
33 public:
34 AWS_SAGEMAKER_API DescribeHubResult() = default;
37
38
40
43 inline const Aws::String& GetHubName() const { return m_hubName; }
44 template<typename HubNameT = Aws::String>
45 void SetHubName(HubNameT&& value) { m_hubNameHasBeenSet = true; m_hubName = std::forward<HubNameT>(value); }
46 template<typename HubNameT = Aws::String>
47 DescribeHubResult& WithHubName(HubNameT&& value) { SetHubName(std::forward<HubNameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetHubArn() const { return m_hubArn; }
55 template<typename HubArnT = Aws::String>
56 void SetHubArn(HubArnT&& value) { m_hubArnHasBeenSet = true; m_hubArn = std::forward<HubArnT>(value); }
57 template<typename HubArnT = Aws::String>
58 DescribeHubResult& WithHubArn(HubArnT&& value) { SetHubArn(std::forward<HubArnT>(value)); return *this;}
60
62
65 inline const Aws::String& GetHubDisplayName() const { return m_hubDisplayName; }
66 template<typename HubDisplayNameT = Aws::String>
67 void SetHubDisplayName(HubDisplayNameT&& value) { m_hubDisplayNameHasBeenSet = true; m_hubDisplayName = std::forward<HubDisplayNameT>(value); }
68 template<typename HubDisplayNameT = Aws::String>
69 DescribeHubResult& WithHubDisplayName(HubDisplayNameT&& value) { SetHubDisplayName(std::forward<HubDisplayNameT>(value)); return *this;}
71
73
76 inline const Aws::String& GetHubDescription() const { return m_hubDescription; }
77 template<typename HubDescriptionT = Aws::String>
78 void SetHubDescription(HubDescriptionT&& value) { m_hubDescriptionHasBeenSet = true; m_hubDescription = std::forward<HubDescriptionT>(value); }
79 template<typename HubDescriptionT = Aws::String>
80 DescribeHubResult& WithHubDescription(HubDescriptionT&& value) { SetHubDescription(std::forward<HubDescriptionT>(value)); return *this;}
82
84
87 inline const Aws::Vector<Aws::String>& GetHubSearchKeywords() const { return m_hubSearchKeywords; }
88 template<typename HubSearchKeywordsT = Aws::Vector<Aws::String>>
89 void SetHubSearchKeywords(HubSearchKeywordsT&& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords = std::forward<HubSearchKeywordsT>(value); }
90 template<typename HubSearchKeywordsT = Aws::Vector<Aws::String>>
91 DescribeHubResult& WithHubSearchKeywords(HubSearchKeywordsT&& value) { SetHubSearchKeywords(std::forward<HubSearchKeywordsT>(value)); return *this;}
92 template<typename HubSearchKeywordsT = Aws::String>
93 DescribeHubResult& AddHubSearchKeywords(HubSearchKeywordsT&& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords.emplace_back(std::forward<HubSearchKeywordsT>(value)); return *this; }
95
97
100 inline const HubS3StorageConfig& GetS3StorageConfig() const { return m_s3StorageConfig; }
101 template<typename S3StorageConfigT = HubS3StorageConfig>
102 void SetS3StorageConfig(S3StorageConfigT&& value) { m_s3StorageConfigHasBeenSet = true; m_s3StorageConfig = std::forward<S3StorageConfigT>(value); }
103 template<typename S3StorageConfigT = HubS3StorageConfig>
104 DescribeHubResult& WithS3StorageConfig(S3StorageConfigT&& value) { SetS3StorageConfig(std::forward<S3StorageConfigT>(value)); return *this;}
106
108
111 inline HubStatus GetHubStatus() const { return m_hubStatus; }
112 inline void SetHubStatus(HubStatus value) { m_hubStatusHasBeenSet = true; m_hubStatus = value; }
113 inline DescribeHubResult& WithHubStatus(HubStatus value) { SetHubStatus(value); return *this;}
115
117
120 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
121 template<typename FailureReasonT = Aws::String>
122 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
123 template<typename FailureReasonT = Aws::String>
124 DescribeHubResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
132 template<typename CreationTimeT = Aws::Utils::DateTime>
133 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
134 template<typename CreationTimeT = Aws::Utils::DateTime>
135 DescribeHubResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
143 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
144 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
145 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
146 DescribeHubResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
148
150
151 inline const Aws::String& GetRequestId() const { return m_requestId; }
152 template<typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
154 template<typename RequestIdT = Aws::String>
155 DescribeHubResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
157 private:
158
159 Aws::String m_hubName;
160 bool m_hubNameHasBeenSet = false;
161
162 Aws::String m_hubArn;
163 bool m_hubArnHasBeenSet = false;
164
165 Aws::String m_hubDisplayName;
166 bool m_hubDisplayNameHasBeenSet = false;
167
168 Aws::String m_hubDescription;
169 bool m_hubDescriptionHasBeenSet = false;
170
171 Aws::Vector<Aws::String> m_hubSearchKeywords;
172 bool m_hubSearchKeywordsHasBeenSet = false;
173
174 HubS3StorageConfig m_s3StorageConfig;
175 bool m_s3StorageConfigHasBeenSet = false;
176
177 HubStatus m_hubStatus{HubStatus::NOT_SET};
178 bool m_hubStatusHasBeenSet = false;
179
180 Aws::String m_failureReason;
181 bool m_failureReasonHasBeenSet = false;
182
183 Aws::Utils::DateTime m_creationTime{};
184 bool m_creationTimeHasBeenSet = false;
185
186 Aws::Utils::DateTime m_lastModifiedTime{};
187 bool m_lastModifiedTimeHasBeenSet = false;
188
189 Aws::String m_requestId;
190 bool m_requestIdHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace SageMaker
195} // 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