AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37
38
40
43 inline const Aws::String& GetHubName() const{ return m_hubName; }
44 inline void SetHubName(const Aws::String& value) { m_hubName = value; }
45 inline void SetHubName(Aws::String&& value) { m_hubName = std::move(value); }
46 inline void SetHubName(const char* value) { m_hubName.assign(value); }
47 inline DescribeHubResult& WithHubName(const Aws::String& value) { SetHubName(value); return *this;}
48 inline DescribeHubResult& WithHubName(Aws::String&& value) { SetHubName(std::move(value)); return *this;}
49 inline DescribeHubResult& WithHubName(const char* value) { SetHubName(value); return *this;}
51
53
56 inline const Aws::String& GetHubArn() const{ return m_hubArn; }
57 inline void SetHubArn(const Aws::String& value) { m_hubArn = value; }
58 inline void SetHubArn(Aws::String&& value) { m_hubArn = std::move(value); }
59 inline void SetHubArn(const char* value) { m_hubArn.assign(value); }
60 inline DescribeHubResult& WithHubArn(const Aws::String& value) { SetHubArn(value); return *this;}
61 inline DescribeHubResult& WithHubArn(Aws::String&& value) { SetHubArn(std::move(value)); return *this;}
62 inline DescribeHubResult& WithHubArn(const char* value) { SetHubArn(value); return *this;}
64
66
69 inline const Aws::String& GetHubDisplayName() const{ return m_hubDisplayName; }
70 inline void SetHubDisplayName(const Aws::String& value) { m_hubDisplayName = value; }
71 inline void SetHubDisplayName(Aws::String&& value) { m_hubDisplayName = std::move(value); }
72 inline void SetHubDisplayName(const char* value) { m_hubDisplayName.assign(value); }
73 inline DescribeHubResult& WithHubDisplayName(const Aws::String& value) { SetHubDisplayName(value); return *this;}
74 inline DescribeHubResult& WithHubDisplayName(Aws::String&& value) { SetHubDisplayName(std::move(value)); return *this;}
75 inline DescribeHubResult& WithHubDisplayName(const char* value) { SetHubDisplayName(value); return *this;}
77
79
82 inline const Aws::String& GetHubDescription() const{ return m_hubDescription; }
83 inline void SetHubDescription(const Aws::String& value) { m_hubDescription = value; }
84 inline void SetHubDescription(Aws::String&& value) { m_hubDescription = std::move(value); }
85 inline void SetHubDescription(const char* value) { m_hubDescription.assign(value); }
86 inline DescribeHubResult& WithHubDescription(const Aws::String& value) { SetHubDescription(value); return *this;}
87 inline DescribeHubResult& WithHubDescription(Aws::String&& value) { SetHubDescription(std::move(value)); return *this;}
88 inline DescribeHubResult& WithHubDescription(const char* value) { SetHubDescription(value); return *this;}
90
92
95 inline const Aws::Vector<Aws::String>& GetHubSearchKeywords() const{ return m_hubSearchKeywords; }
96 inline void SetHubSearchKeywords(const Aws::Vector<Aws::String>& value) { m_hubSearchKeywords = value; }
97 inline void SetHubSearchKeywords(Aws::Vector<Aws::String>&& value) { m_hubSearchKeywords = std::move(value); }
99 inline DescribeHubResult& WithHubSearchKeywords(Aws::Vector<Aws::String>&& value) { SetHubSearchKeywords(std::move(value)); return *this;}
100 inline DescribeHubResult& AddHubSearchKeywords(const Aws::String& value) { m_hubSearchKeywords.push_back(value); return *this; }
101 inline DescribeHubResult& AddHubSearchKeywords(Aws::String&& value) { m_hubSearchKeywords.push_back(std::move(value)); return *this; }
102 inline DescribeHubResult& AddHubSearchKeywords(const char* value) { m_hubSearchKeywords.push_back(value); return *this; }
104
106
109 inline const HubS3StorageConfig& GetS3StorageConfig() const{ return m_s3StorageConfig; }
110 inline void SetS3StorageConfig(const HubS3StorageConfig& value) { m_s3StorageConfig = value; }
111 inline void SetS3StorageConfig(HubS3StorageConfig&& value) { m_s3StorageConfig = std::move(value); }
112 inline DescribeHubResult& WithS3StorageConfig(const HubS3StorageConfig& value) { SetS3StorageConfig(value); return *this;}
113 inline DescribeHubResult& WithS3StorageConfig(HubS3StorageConfig&& value) { SetS3StorageConfig(std::move(value)); return *this;}
115
117
120 inline const HubStatus& GetHubStatus() const{ return m_hubStatus; }
121 inline void SetHubStatus(const HubStatus& value) { m_hubStatus = value; }
122 inline void SetHubStatus(HubStatus&& value) { m_hubStatus = std::move(value); }
123 inline DescribeHubResult& WithHubStatus(const HubStatus& value) { SetHubStatus(value); return *this;}
124 inline DescribeHubResult& WithHubStatus(HubStatus&& value) { SetHubStatus(std::move(value)); return *this;}
126
128
131 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
132 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
133 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
134 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
135 inline DescribeHubResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
136 inline DescribeHubResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
137 inline DescribeHubResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
139
141
144 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
145 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
146 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
147 inline DescribeHubResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
148 inline DescribeHubResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
150
152
155 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
156 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
157 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
159 inline DescribeHubResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
161
163
164 inline const Aws::String& GetRequestId() const{ return m_requestId; }
165 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
166 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
167 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
168 inline DescribeHubResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
169 inline DescribeHubResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
170 inline DescribeHubResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
172 private:
173
174 Aws::String m_hubName;
175
176 Aws::String m_hubArn;
177
178 Aws::String m_hubDisplayName;
179
180 Aws::String m_hubDescription;
181
182 Aws::Vector<Aws::String> m_hubSearchKeywords;
183
184 HubS3StorageConfig m_s3StorageConfig;
185
186 HubStatus m_hubStatus;
187
188 Aws::String m_failureReason;
189
190 Aws::Utils::DateTime m_creationTime;
191
192 Aws::Utils::DateTime m_lastModifiedTime;
193
194 Aws::String m_requestId;
195 };
196
197} // namespace Model
198} // namespace SageMaker
199} // namespace Aws
AWS_SAGEMAKER_API DescribeHubResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetHubDisplayName(Aws::String &&value)
DescribeHubResult & WithHubArn(const Aws::String &value)
DescribeHubResult & WithCreationTime(Aws::Utils::DateTime &&value)
void SetS3StorageConfig(HubS3StorageConfig &&value)
DescribeHubResult & WithHubDisplayName(const Aws::String &value)
DescribeHubResult & WithFailureReason(Aws::String &&value)
const Aws::String & GetFailureReason() const
const Aws::String & GetHubDisplayName() const
DescribeHubResult & AddHubSearchKeywords(const Aws::String &value)
DescribeHubResult & WithHubArn(const char *value)
DescribeHubResult & WithHubDescription(const char *value)
DescribeHubResult & WithHubSearchKeywords(Aws::Vector< Aws::String > &&value)
DescribeHubResult & WithS3StorageConfig(const HubS3StorageConfig &value)
void SetHubArn(const Aws::String &value)
const HubS3StorageConfig & GetS3StorageConfig() const
void SetHubSearchKeywords(const Aws::Vector< Aws::String > &value)
DescribeHubResult & WithHubName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetHubDescription(const Aws::String &value)
void SetHubStatus(const HubStatus &value)
DescribeHubResult & AddHubSearchKeywords(Aws::String &&value)
DescribeHubResult & WithHubName(const char *value)
DescribeHubResult & WithHubDisplayName(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeHubResult & WithFailureReason(const char *value)
DescribeHubResult & WithFailureReason(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
DescribeHubResult & AddHubSearchKeywords(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeHubResult & WithS3StorageConfig(HubS3StorageConfig &&value)
DescribeHubResult & WithHubName(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::Vector< Aws::String > & GetHubSearchKeywords() const
void SetRequestId(const Aws::String &value)
void SetHubDisplayName(const Aws::String &value)
DescribeHubResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeHubResult & WithHubDisplayName(Aws::String &&value)
void SetFailureReason(const Aws::String &value)
DescribeHubResult & WithHubSearchKeywords(const Aws::Vector< Aws::String > &value)
DescribeHubResult & WithRequestId(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetS3StorageConfig(const HubS3StorageConfig &value)
DescribeHubResult & WithRequestId(const Aws::String &value)
DescribeHubResult & WithHubArn(Aws::String &&value)
void SetHubName(const Aws::String &value)
DescribeHubResult & WithHubDescription(Aws::String &&value)
DescribeHubResult & WithHubStatus(HubStatus &&value)
DescribeHubResult & WithCreationTime(const Aws::Utils::DateTime &value)
void SetHubSearchKeywords(Aws::Vector< Aws::String > &&value)
DescribeHubResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API DescribeHubResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeHubResult & WithRequestId(const char *value)
DescribeHubResult & WithHubStatus(const HubStatus &value)
void SetHubDescription(Aws::String &&value)
DescribeHubResult & WithHubDescription(const Aws::String &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