AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
HubInfo.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/HubStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker {
23namespace Model {
24
30class HubInfo {
31 public:
32 AWS_SAGEMAKER_API HubInfo() = default;
33 AWS_SAGEMAKER_API HubInfo(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API HubInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetHubName() const { return m_hubName; }
42 inline bool HubNameHasBeenSet() const { return m_hubNameHasBeenSet; }
43 template <typename HubNameT = Aws::String>
44 void SetHubName(HubNameT&& value) {
45 m_hubNameHasBeenSet = true;
46 m_hubName = std::forward<HubNameT>(value);
47 }
48 template <typename HubNameT = Aws::String>
49 HubInfo& WithHubName(HubNameT&& value) {
50 SetHubName(std::forward<HubNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetHubArn() const { return m_hubArn; }
60 inline bool HubArnHasBeenSet() const { return m_hubArnHasBeenSet; }
61 template <typename HubArnT = Aws::String>
62 void SetHubArn(HubArnT&& value) {
63 m_hubArnHasBeenSet = true;
64 m_hubArn = std::forward<HubArnT>(value);
65 }
66 template <typename HubArnT = Aws::String>
67 HubInfo& WithHubArn(HubArnT&& value) {
68 SetHubArn(std::forward<HubArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetHubDisplayName() const { return m_hubDisplayName; }
78 inline bool HubDisplayNameHasBeenSet() const { return m_hubDisplayNameHasBeenSet; }
79 template <typename HubDisplayNameT = Aws::String>
80 void SetHubDisplayName(HubDisplayNameT&& value) {
81 m_hubDisplayNameHasBeenSet = true;
82 m_hubDisplayName = std::forward<HubDisplayNameT>(value);
83 }
84 template <typename HubDisplayNameT = Aws::String>
85 HubInfo& WithHubDisplayName(HubDisplayNameT&& value) {
86 SetHubDisplayName(std::forward<HubDisplayNameT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetHubDescription() const { return m_hubDescription; }
96 inline bool HubDescriptionHasBeenSet() const { return m_hubDescriptionHasBeenSet; }
97 template <typename HubDescriptionT = Aws::String>
98 void SetHubDescription(HubDescriptionT&& value) {
99 m_hubDescriptionHasBeenSet = true;
100 m_hubDescription = std::forward<HubDescriptionT>(value);
101 }
102 template <typename HubDescriptionT = Aws::String>
103 HubInfo& WithHubDescription(HubDescriptionT&& value) {
104 SetHubDescription(std::forward<HubDescriptionT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Vector<Aws::String>& GetHubSearchKeywords() const { return m_hubSearchKeywords; }
114 inline bool HubSearchKeywordsHasBeenSet() const { return m_hubSearchKeywordsHasBeenSet; }
115 template <typename HubSearchKeywordsT = Aws::Vector<Aws::String>>
116 void SetHubSearchKeywords(HubSearchKeywordsT&& value) {
117 m_hubSearchKeywordsHasBeenSet = true;
118 m_hubSearchKeywords = std::forward<HubSearchKeywordsT>(value);
119 }
120 template <typename HubSearchKeywordsT = Aws::Vector<Aws::String>>
121 HubInfo& WithHubSearchKeywords(HubSearchKeywordsT&& value) {
122 SetHubSearchKeywords(std::forward<HubSearchKeywordsT>(value));
123 return *this;
124 }
125 template <typename HubSearchKeywordsT = Aws::String>
126 HubInfo& AddHubSearchKeywords(HubSearchKeywordsT&& value) {
127 m_hubSearchKeywordsHasBeenSet = true;
128 m_hubSearchKeywords.emplace_back(std::forward<HubSearchKeywordsT>(value));
129 return *this;
130 }
132
134
137 inline HubStatus GetHubStatus() const { return m_hubStatus; }
138 inline bool HubStatusHasBeenSet() const { return m_hubStatusHasBeenSet; }
139 inline void SetHubStatus(HubStatus value) {
140 m_hubStatusHasBeenSet = true;
141 m_hubStatus = value;
142 }
144 SetHubStatus(value);
145 return *this;
146 }
148
150
153 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
154 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
155 template <typename CreationTimeT = Aws::Utils::DateTime>
156 void SetCreationTime(CreationTimeT&& value) {
157 m_creationTimeHasBeenSet = true;
158 m_creationTime = std::forward<CreationTimeT>(value);
159 }
160 template <typename CreationTimeT = Aws::Utils::DateTime>
161 HubInfo& WithCreationTime(CreationTimeT&& value) {
162 SetCreationTime(std::forward<CreationTimeT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
172 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
173 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
174 void SetLastModifiedTime(LastModifiedTimeT&& value) {
175 m_lastModifiedTimeHasBeenSet = true;
176 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
177 }
178 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
179 HubInfo& WithLastModifiedTime(LastModifiedTimeT&& value) {
180 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
181 return *this;
182 }
184 private:
185 Aws::String m_hubName;
186
187 Aws::String m_hubArn;
188
189 Aws::String m_hubDisplayName;
190
191 Aws::String m_hubDescription;
192
193 Aws::Vector<Aws::String> m_hubSearchKeywords;
194
195 HubStatus m_hubStatus{HubStatus::NOT_SET};
196
197 Aws::Utils::DateTime m_creationTime{};
198
199 Aws::Utils::DateTime m_lastModifiedTime{};
200 bool m_hubNameHasBeenSet = false;
201 bool m_hubArnHasBeenSet = false;
202 bool m_hubDisplayNameHasBeenSet = false;
203 bool m_hubDescriptionHasBeenSet = false;
204 bool m_hubSearchKeywordsHasBeenSet = false;
205 bool m_hubStatusHasBeenSet = false;
206 bool m_creationTimeHasBeenSet = false;
207 bool m_lastModifiedTimeHasBeenSet = false;
208};
209
210} // namespace Model
211} // namespace SageMaker
212} // namespace Aws
void SetHubStatus(HubStatus value)
Definition HubInfo.h:139
void SetLastModifiedTime(LastModifiedTimeT &&value)
Definition HubInfo.h:174
HubInfo & AddHubSearchKeywords(HubSearchKeywordsT &&value)
Definition HubInfo.h:126
bool HubSearchKeywordsHasBeenSet() const
Definition HubInfo.h:114
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
HubInfo & WithHubName(HubNameT &&value)
Definition HubInfo.h:49
HubInfo & WithHubArn(HubArnT &&value)
Definition HubInfo.h:67
void SetHubArn(HubArnT &&value)
Definition HubInfo.h:62
HubInfo & WithHubDisplayName(HubDisplayNameT &&value)
Definition HubInfo.h:85
AWS_SAGEMAKER_API HubInfo()=default
bool HubDescriptionHasBeenSet() const
Definition HubInfo.h:96
bool LastModifiedTimeHasBeenSet() const
Definition HubInfo.h:172
void SetHubName(HubNameT &&value)
Definition HubInfo.h:44
HubInfo & WithHubDescription(HubDescriptionT &&value)
Definition HubInfo.h:103
bool HubArnHasBeenSet() const
Definition HubInfo.h:60
AWS_SAGEMAKER_API HubInfo(Aws::Utils::Json::JsonView jsonValue)
void SetHubDisplayName(HubDisplayNameT &&value)
Definition HubInfo.h:80
HubInfo & WithHubSearchKeywords(HubSearchKeywordsT &&value)
Definition HubInfo.h:121
const Aws::Utils::DateTime & GetCreationTime() const
Definition HubInfo.h:153
const Aws::Vector< Aws::String > & GetHubSearchKeywords() const
Definition HubInfo.h:113
bool CreationTimeHasBeenSet() const
Definition HubInfo.h:154
AWS_SAGEMAKER_API HubInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
HubInfo & WithHubStatus(HubStatus value)
Definition HubInfo.h:143
const Aws::String & GetHubName() const
Definition HubInfo.h:41
HubInfo & WithLastModifiedTime(LastModifiedTimeT &&value)
Definition HubInfo.h:179
void SetHubSearchKeywords(HubSearchKeywordsT &&value)
Definition HubInfo.h:116
bool HubNameHasBeenSet() const
Definition HubInfo.h:42
HubInfo & WithCreationTime(CreationTimeT &&value)
Definition HubInfo.h:161
HubStatus GetHubStatus() const
Definition HubInfo.h:137
const Aws::String & GetHubDescription() const
Definition HubInfo.h:95
bool HubStatusHasBeenSet() const
Definition HubInfo.h:138
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition HubInfo.h:171
bool HubDisplayNameHasBeenSet() const
Definition HubInfo.h:78
void SetHubDescription(HubDescriptionT &&value)
Definition HubInfo.h:98
const Aws::String & GetHubDisplayName() const
Definition HubInfo.h:77
const Aws::String & GetHubArn() const
Definition HubInfo.h:59
void SetCreationTime(CreationTimeT &&value)
Definition HubInfo.h:156
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue