AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ImportHubContentRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/HubContentType.h>
11#include <aws/sagemaker/model/HubContentSupportStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/sagemaker/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace SageMaker
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SAGEMAKER_API ImportHubContentRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ImportHubContent"; }
35
36 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const Aws::String& GetHubContentName() const { return m_hubContentName; }
46 inline bool HubContentNameHasBeenSet() const { return m_hubContentNameHasBeenSet; }
47 template<typename HubContentNameT = Aws::String>
48 void SetHubContentName(HubContentNameT&& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = std::forward<HubContentNameT>(value); }
49 template<typename HubContentNameT = Aws::String>
50 ImportHubContentRequest& WithHubContentName(HubContentNameT&& value) { SetHubContentName(std::forward<HubContentNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetHubContentVersion() const { return m_hubContentVersion; }
58 inline bool HubContentVersionHasBeenSet() const { return m_hubContentVersionHasBeenSet; }
59 template<typename HubContentVersionT = Aws::String>
60 void SetHubContentVersion(HubContentVersionT&& value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion = std::forward<HubContentVersionT>(value); }
61 template<typename HubContentVersionT = Aws::String>
62 ImportHubContentRequest& WithHubContentVersion(HubContentVersionT&& value) { SetHubContentVersion(std::forward<HubContentVersionT>(value)); return *this;}
64
66
69 inline HubContentType GetHubContentType() const { return m_hubContentType; }
70 inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; }
71 inline void SetHubContentType(HubContentType value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = value; }
74
76
79 inline const Aws::String& GetDocumentSchemaVersion() const { return m_documentSchemaVersion; }
80 inline bool DocumentSchemaVersionHasBeenSet() const { return m_documentSchemaVersionHasBeenSet; }
81 template<typename DocumentSchemaVersionT = Aws::String>
82 void SetDocumentSchemaVersion(DocumentSchemaVersionT&& value) { m_documentSchemaVersionHasBeenSet = true; m_documentSchemaVersion = std::forward<DocumentSchemaVersionT>(value); }
83 template<typename DocumentSchemaVersionT = Aws::String>
84 ImportHubContentRequest& WithDocumentSchemaVersion(DocumentSchemaVersionT&& value) { SetDocumentSchemaVersion(std::forward<DocumentSchemaVersionT>(value)); return *this;}
86
88
91 inline const Aws::String& GetHubName() const { return m_hubName; }
92 inline bool HubNameHasBeenSet() const { return m_hubNameHasBeenSet; }
93 template<typename HubNameT = Aws::String>
94 void SetHubName(HubNameT&& value) { m_hubNameHasBeenSet = true; m_hubName = std::forward<HubNameT>(value); }
95 template<typename HubNameT = Aws::String>
96 ImportHubContentRequest& WithHubName(HubNameT&& value) { SetHubName(std::forward<HubNameT>(value)); return *this;}
98
100
103 inline const Aws::String& GetHubContentDisplayName() const { return m_hubContentDisplayName; }
104 inline bool HubContentDisplayNameHasBeenSet() const { return m_hubContentDisplayNameHasBeenSet; }
105 template<typename HubContentDisplayNameT = Aws::String>
106 void SetHubContentDisplayName(HubContentDisplayNameT&& value) { m_hubContentDisplayNameHasBeenSet = true; m_hubContentDisplayName = std::forward<HubContentDisplayNameT>(value); }
107 template<typename HubContentDisplayNameT = Aws::String>
108 ImportHubContentRequest& WithHubContentDisplayName(HubContentDisplayNameT&& value) { SetHubContentDisplayName(std::forward<HubContentDisplayNameT>(value)); return *this;}
110
112
115 inline const Aws::String& GetHubContentDescription() const { return m_hubContentDescription; }
116 inline bool HubContentDescriptionHasBeenSet() const { return m_hubContentDescriptionHasBeenSet; }
117 template<typename HubContentDescriptionT = Aws::String>
118 void SetHubContentDescription(HubContentDescriptionT&& value) { m_hubContentDescriptionHasBeenSet = true; m_hubContentDescription = std::forward<HubContentDescriptionT>(value); }
119 template<typename HubContentDescriptionT = Aws::String>
120 ImportHubContentRequest& WithHubContentDescription(HubContentDescriptionT&& value) { SetHubContentDescription(std::forward<HubContentDescriptionT>(value)); return *this;}
122
124
128 inline const Aws::String& GetHubContentMarkdown() const { return m_hubContentMarkdown; }
129 inline bool HubContentMarkdownHasBeenSet() const { return m_hubContentMarkdownHasBeenSet; }
130 template<typename HubContentMarkdownT = Aws::String>
131 void SetHubContentMarkdown(HubContentMarkdownT&& value) { m_hubContentMarkdownHasBeenSet = true; m_hubContentMarkdown = std::forward<HubContentMarkdownT>(value); }
132 template<typename HubContentMarkdownT = Aws::String>
133 ImportHubContentRequest& WithHubContentMarkdown(HubContentMarkdownT&& value) { SetHubContentMarkdown(std::forward<HubContentMarkdownT>(value)); return *this;}
135
137
141 inline const Aws::String& GetHubContentDocument() const { return m_hubContentDocument; }
142 inline bool HubContentDocumentHasBeenSet() const { return m_hubContentDocumentHasBeenSet; }
143 template<typename HubContentDocumentT = Aws::String>
144 void SetHubContentDocument(HubContentDocumentT&& value) { m_hubContentDocumentHasBeenSet = true; m_hubContentDocument = std::forward<HubContentDocumentT>(value); }
145 template<typename HubContentDocumentT = Aws::String>
146 ImportHubContentRequest& WithHubContentDocument(HubContentDocumentT&& value) { SetHubContentDocument(std::forward<HubContentDocumentT>(value)); return *this;}
148
150
153 inline HubContentSupportStatus GetSupportStatus() const { return m_supportStatus; }
154 inline bool SupportStatusHasBeenSet() const { return m_supportStatusHasBeenSet; }
155 inline void SetSupportStatus(HubContentSupportStatus value) { m_supportStatusHasBeenSet = true; m_supportStatus = value; }
158
160
163 inline const Aws::Vector<Aws::String>& GetHubContentSearchKeywords() const { return m_hubContentSearchKeywords; }
164 inline bool HubContentSearchKeywordsHasBeenSet() const { return m_hubContentSearchKeywordsHasBeenSet; }
165 template<typename HubContentSearchKeywordsT = Aws::Vector<Aws::String>>
166 void SetHubContentSearchKeywords(HubContentSearchKeywordsT&& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords = std::forward<HubContentSearchKeywordsT>(value); }
167 template<typename HubContentSearchKeywordsT = Aws::Vector<Aws::String>>
168 ImportHubContentRequest& WithHubContentSearchKeywords(HubContentSearchKeywordsT&& value) { SetHubContentSearchKeywords(std::forward<HubContentSearchKeywordsT>(value)); return *this;}
169 template<typename HubContentSearchKeywordsT = Aws::String>
170 ImportHubContentRequest& AddHubContentSearchKeywords(HubContentSearchKeywordsT&& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords.emplace_back(std::forward<HubContentSearchKeywordsT>(value)); return *this; }
172
174
177 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
178 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
179 template<typename TagsT = Aws::Vector<Tag>>
180 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
181 template<typename TagsT = Aws::Vector<Tag>>
182 ImportHubContentRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
183 template<typename TagsT = Tag>
184 ImportHubContentRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
186 private:
187
188 Aws::String m_hubContentName;
189 bool m_hubContentNameHasBeenSet = false;
190
191 Aws::String m_hubContentVersion;
192 bool m_hubContentVersionHasBeenSet = false;
193
194 HubContentType m_hubContentType{HubContentType::NOT_SET};
195 bool m_hubContentTypeHasBeenSet = false;
196
197 Aws::String m_documentSchemaVersion;
198 bool m_documentSchemaVersionHasBeenSet = false;
199
200 Aws::String m_hubName;
201 bool m_hubNameHasBeenSet = false;
202
203 Aws::String m_hubContentDisplayName;
204 bool m_hubContentDisplayNameHasBeenSet = false;
205
206 Aws::String m_hubContentDescription;
207 bool m_hubContentDescriptionHasBeenSet = false;
208
209 Aws::String m_hubContentMarkdown;
210 bool m_hubContentMarkdownHasBeenSet = false;
211
212 Aws::String m_hubContentDocument;
213 bool m_hubContentDocumentHasBeenSet = false;
214
216 bool m_supportStatusHasBeenSet = false;
217
218 Aws::Vector<Aws::String> m_hubContentSearchKeywords;
219 bool m_hubContentSearchKeywordsHasBeenSet = false;
220
221 Aws::Vector<Tag> m_tags;
222 bool m_tagsHasBeenSet = false;
223 };
224
225} // namespace Model
226} // namespace SageMaker
227} // namespace Aws
ImportHubContentRequest & WithHubContentSearchKeywords(HubContentSearchKeywordsT &&value)
ImportHubContentRequest & WithSupportStatus(HubContentSupportStatus value)
void SetHubContentMarkdown(HubContentMarkdownT &&value)
void SetHubContentSearchKeywords(HubContentSearchKeywordsT &&value)
const Aws::Vector< Aws::String > & GetHubContentSearchKeywords() const
ImportHubContentRequest & AddHubContentSearchKeywords(HubContentSearchKeywordsT &&value)
void SetDocumentSchemaVersion(DocumentSchemaVersionT &&value)
ImportHubContentRequest & WithHubContentDescription(HubContentDescriptionT &&value)
void SetSupportStatus(HubContentSupportStatus value)
ImportHubContentRequest & WithTags(TagsT &&value)
void SetHubContentVersion(HubContentVersionT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ImportHubContentRequest & AddTags(TagsT &&value)
ImportHubContentRequest & WithHubContentMarkdown(HubContentMarkdownT &&value)
ImportHubContentRequest & WithHubContentType(HubContentType value)
ImportHubContentRequest & WithHubContentDisplayName(HubContentDisplayNameT &&value)
ImportHubContentRequest & WithHubContentVersion(HubContentVersionT &&value)
ImportHubContentRequest & WithHubContentName(HubContentNameT &&value)
ImportHubContentRequest & WithDocumentSchemaVersion(DocumentSchemaVersionT &&value)
ImportHubContentRequest & WithHubName(HubNameT &&value)
AWS_SAGEMAKER_API ImportHubContentRequest()=default
void SetHubContentDisplayName(HubContentDisplayNameT &&value)
void SetHubContentDocument(HubContentDocumentT &&value)
void SetHubContentDescription(HubContentDescriptionT &&value)
ImportHubContentRequest & WithHubContentDocument(HubContentDocumentT &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector