AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API ImportHubContentRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ImportHubContent"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetHubContentName() const{ return m_hubContentName; }
45 inline bool HubContentNameHasBeenSet() const { return m_hubContentNameHasBeenSet; }
46 inline void SetHubContentName(const Aws::String& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = value; }
47 inline void SetHubContentName(Aws::String&& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = std::move(value); }
48 inline void SetHubContentName(const char* value) { m_hubContentNameHasBeenSet = true; m_hubContentName.assign(value); }
49 inline ImportHubContentRequest& WithHubContentName(const Aws::String& value) { SetHubContentName(value); return *this;}
50 inline ImportHubContentRequest& WithHubContentName(Aws::String&& value) { SetHubContentName(std::move(value)); return *this;}
51 inline ImportHubContentRequest& WithHubContentName(const char* value) { SetHubContentName(value); return *this;}
53
55
58 inline const Aws::String& GetHubContentVersion() const{ return m_hubContentVersion; }
59 inline bool HubContentVersionHasBeenSet() const { return m_hubContentVersionHasBeenSet; }
60 inline void SetHubContentVersion(const Aws::String& value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion = value; }
61 inline void SetHubContentVersion(Aws::String&& value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion = std::move(value); }
62 inline void SetHubContentVersion(const char* value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion.assign(value); }
64 inline ImportHubContentRequest& WithHubContentVersion(Aws::String&& value) { SetHubContentVersion(std::move(value)); return *this;}
65 inline ImportHubContentRequest& WithHubContentVersion(const char* value) { SetHubContentVersion(value); return *this;}
67
69
72 inline const HubContentType& GetHubContentType() const{ return m_hubContentType; }
73 inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; }
74 inline void SetHubContentType(const HubContentType& value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = value; }
75 inline void SetHubContentType(HubContentType&& value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = std::move(value); }
76 inline ImportHubContentRequest& WithHubContentType(const HubContentType& value) { SetHubContentType(value); return *this;}
77 inline ImportHubContentRequest& WithHubContentType(HubContentType&& value) { SetHubContentType(std::move(value)); return *this;}
79
81
84 inline const Aws::String& GetDocumentSchemaVersion() const{ return m_documentSchemaVersion; }
85 inline bool DocumentSchemaVersionHasBeenSet() const { return m_documentSchemaVersionHasBeenSet; }
86 inline void SetDocumentSchemaVersion(const Aws::String& value) { m_documentSchemaVersionHasBeenSet = true; m_documentSchemaVersion = value; }
87 inline void SetDocumentSchemaVersion(Aws::String&& value) { m_documentSchemaVersionHasBeenSet = true; m_documentSchemaVersion = std::move(value); }
88 inline void SetDocumentSchemaVersion(const char* value) { m_documentSchemaVersionHasBeenSet = true; m_documentSchemaVersion.assign(value); }
91 inline ImportHubContentRequest& WithDocumentSchemaVersion(const char* value) { SetDocumentSchemaVersion(value); return *this;}
93
95
98 inline const Aws::String& GetHubName() const{ return m_hubName; }
99 inline bool HubNameHasBeenSet() const { return m_hubNameHasBeenSet; }
100 inline void SetHubName(const Aws::String& value) { m_hubNameHasBeenSet = true; m_hubName = value; }
101 inline void SetHubName(Aws::String&& value) { m_hubNameHasBeenSet = true; m_hubName = std::move(value); }
102 inline void SetHubName(const char* value) { m_hubNameHasBeenSet = true; m_hubName.assign(value); }
103 inline ImportHubContentRequest& WithHubName(const Aws::String& value) { SetHubName(value); return *this;}
104 inline ImportHubContentRequest& WithHubName(Aws::String&& value) { SetHubName(std::move(value)); return *this;}
105 inline ImportHubContentRequest& WithHubName(const char* value) { SetHubName(value); return *this;}
107
109
112 inline const Aws::String& GetHubContentDisplayName() const{ return m_hubContentDisplayName; }
113 inline bool HubContentDisplayNameHasBeenSet() const { return m_hubContentDisplayNameHasBeenSet; }
114 inline void SetHubContentDisplayName(const Aws::String& value) { m_hubContentDisplayNameHasBeenSet = true; m_hubContentDisplayName = value; }
115 inline void SetHubContentDisplayName(Aws::String&& value) { m_hubContentDisplayNameHasBeenSet = true; m_hubContentDisplayName = std::move(value); }
116 inline void SetHubContentDisplayName(const char* value) { m_hubContentDisplayNameHasBeenSet = true; m_hubContentDisplayName.assign(value); }
119 inline ImportHubContentRequest& WithHubContentDisplayName(const char* value) { SetHubContentDisplayName(value); return *this;}
121
123
126 inline const Aws::String& GetHubContentDescription() const{ return m_hubContentDescription; }
127 inline bool HubContentDescriptionHasBeenSet() const { return m_hubContentDescriptionHasBeenSet; }
128 inline void SetHubContentDescription(const Aws::String& value) { m_hubContentDescriptionHasBeenSet = true; m_hubContentDescription = value; }
129 inline void SetHubContentDescription(Aws::String&& value) { m_hubContentDescriptionHasBeenSet = true; m_hubContentDescription = std::move(value); }
130 inline void SetHubContentDescription(const char* value) { m_hubContentDescriptionHasBeenSet = true; m_hubContentDescription.assign(value); }
133 inline ImportHubContentRequest& WithHubContentDescription(const char* value) { SetHubContentDescription(value); return *this;}
135
137
141 inline const Aws::String& GetHubContentMarkdown() const{ return m_hubContentMarkdown; }
142 inline bool HubContentMarkdownHasBeenSet() const { return m_hubContentMarkdownHasBeenSet; }
143 inline void SetHubContentMarkdown(const Aws::String& value) { m_hubContentMarkdownHasBeenSet = true; m_hubContentMarkdown = value; }
144 inline void SetHubContentMarkdown(Aws::String&& value) { m_hubContentMarkdownHasBeenSet = true; m_hubContentMarkdown = std::move(value); }
145 inline void SetHubContentMarkdown(const char* value) { m_hubContentMarkdownHasBeenSet = true; m_hubContentMarkdown.assign(value); }
147 inline ImportHubContentRequest& WithHubContentMarkdown(Aws::String&& value) { SetHubContentMarkdown(std::move(value)); return *this;}
148 inline ImportHubContentRequest& WithHubContentMarkdown(const char* value) { SetHubContentMarkdown(value); return *this;}
150
152
156 inline const Aws::String& GetHubContentDocument() const{ return m_hubContentDocument; }
157 inline bool HubContentDocumentHasBeenSet() const { return m_hubContentDocumentHasBeenSet; }
158 inline void SetHubContentDocument(const Aws::String& value) { m_hubContentDocumentHasBeenSet = true; m_hubContentDocument = value; }
159 inline void SetHubContentDocument(Aws::String&& value) { m_hubContentDocumentHasBeenSet = true; m_hubContentDocument = std::move(value); }
160 inline void SetHubContentDocument(const char* value) { m_hubContentDocumentHasBeenSet = true; m_hubContentDocument.assign(value); }
162 inline ImportHubContentRequest& WithHubContentDocument(Aws::String&& value) { SetHubContentDocument(std::move(value)); return *this;}
163 inline ImportHubContentRequest& WithHubContentDocument(const char* value) { SetHubContentDocument(value); return *this;}
165
167
170 inline const Aws::Vector<Aws::String>& GetHubContentSearchKeywords() const{ return m_hubContentSearchKeywords; }
171 inline bool HubContentSearchKeywordsHasBeenSet() const { return m_hubContentSearchKeywordsHasBeenSet; }
172 inline void SetHubContentSearchKeywords(const Aws::Vector<Aws::String>& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords = value; }
173 inline void SetHubContentSearchKeywords(Aws::Vector<Aws::String>&& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords = std::move(value); }
176 inline ImportHubContentRequest& AddHubContentSearchKeywords(const Aws::String& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords.push_back(value); return *this; }
177 inline ImportHubContentRequest& AddHubContentSearchKeywords(Aws::String&& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords.push_back(std::move(value)); return *this; }
178 inline ImportHubContentRequest& AddHubContentSearchKeywords(const char* value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords.push_back(value); return *this; }
180
182
185 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
186 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
187 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
188 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
189 inline ImportHubContentRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
190 inline ImportHubContentRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
191 inline ImportHubContentRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
192 inline ImportHubContentRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
194 private:
195
196 Aws::String m_hubContentName;
197 bool m_hubContentNameHasBeenSet = false;
198
199 Aws::String m_hubContentVersion;
200 bool m_hubContentVersionHasBeenSet = false;
201
202 HubContentType m_hubContentType;
203 bool m_hubContentTypeHasBeenSet = false;
204
205 Aws::String m_documentSchemaVersion;
206 bool m_documentSchemaVersionHasBeenSet = false;
207
208 Aws::String m_hubName;
209 bool m_hubNameHasBeenSet = false;
210
211 Aws::String m_hubContentDisplayName;
212 bool m_hubContentDisplayNameHasBeenSet = false;
213
214 Aws::String m_hubContentDescription;
215 bool m_hubContentDescriptionHasBeenSet = false;
216
217 Aws::String m_hubContentMarkdown;
218 bool m_hubContentMarkdownHasBeenSet = false;
219
220 Aws::String m_hubContentDocument;
221 bool m_hubContentDocumentHasBeenSet = false;
222
223 Aws::Vector<Aws::String> m_hubContentSearchKeywords;
224 bool m_hubContentSearchKeywordsHasBeenSet = false;
225
226 Aws::Vector<Tag> m_tags;
227 bool m_tagsHasBeenSet = false;
228 };
229
230} // namespace Model
231} // namespace SageMaker
232} // namespace Aws
ImportHubContentRequest & WithHubContentDisplayName(const Aws::String &value)
ImportHubContentRequest & WithHubContentDescription(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
ImportHubContentRequest & WithHubContentMarkdown(Aws::String &&value)
ImportHubContentRequest & WithHubContentVersion(const char *value)
const Aws::Vector< Aws::String > & GetHubContentSearchKeywords() const
ImportHubContentRequest & WithHubContentDocument(Aws::String &&value)
ImportHubContentRequest & WithHubContentDocument(const char *value)
ImportHubContentRequest & WithHubContentType(const HubContentType &value)
ImportHubContentRequest & AddHubContentSearchKeywords(Aws::String &&value)
ImportHubContentRequest & WithHubContentDescription(const char *value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ImportHubContentRequest & WithDocumentSchemaVersion(const Aws::String &value)
ImportHubContentRequest & WithHubContentDisplayName(Aws::String &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ImportHubContentRequest & WithHubContentDocument(const Aws::String &value)
void SetHubContentSearchKeywords(const Aws::Vector< Aws::String > &value)
ImportHubContentRequest & WithHubContentSearchKeywords(Aws::Vector< Aws::String > &&value)
ImportHubContentRequest & AddHubContentSearchKeywords(const char *value)
ImportHubContentRequest & WithTags(Aws::Vector< Tag > &&value)
ImportHubContentRequest & WithHubContentSearchKeywords(const Aws::Vector< Aws::String > &value)
ImportHubContentRequest & WithHubName(Aws::String &&value)
ImportHubContentRequest & WithDocumentSchemaVersion(const char *value)
void SetHubContentSearchKeywords(Aws::Vector< Aws::String > &&value)
ImportHubContentRequest & WithHubContentName(const Aws::String &value)
ImportHubContentRequest & WithHubContentDescription(Aws::String &&value)
ImportHubContentRequest & WithDocumentSchemaVersion(Aws::String &&value)
ImportHubContentRequest & WithTags(const Aws::Vector< Tag > &value)
ImportHubContentRequest & WithHubContentMarkdown(const Aws::String &value)
ImportHubContentRequest & WithHubContentDisplayName(const char *value)
ImportHubContentRequest & WithHubName(const Aws::String &value)
ImportHubContentRequest & AddTags(const Tag &value)
ImportHubContentRequest & WithHubName(const char *value)
ImportHubContentRequest & WithHubContentMarkdown(const char *value)
ImportHubContentRequest & WithHubContentVersion(const Aws::String &value)
ImportHubContentRequest & WithHubContentVersion(Aws::String &&value)
void SetHubContentType(const HubContentType &value)
ImportHubContentRequest & AddHubContentSearchKeywords(const Aws::String &value)
ImportHubContentRequest & WithHubContentType(HubContentType &&value)
ImportHubContentRequest & WithHubContentName(Aws::String &&value)
ImportHubContentRequest & AddTags(Tag &&value)
virtual const char * GetServiceRequestName() const override
ImportHubContentRequest & WithHubContentName(const char *value)
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