AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateHubContentRequest.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/HubContentSupportStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API UpdateHubContentRequest() = default;
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 "UpdateHubContent"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
45 inline const Aws::String& GetHubName() const { return m_hubName; }
46 inline bool HubNameHasBeenSet() const { return m_hubNameHasBeenSet; }
47 template<typename HubNameT = Aws::String>
48 void SetHubName(HubNameT&& value) { m_hubNameHasBeenSet = true; m_hubName = std::forward<HubNameT>(value); }
49 template<typename HubNameT = Aws::String>
50 UpdateHubContentRequest& WithHubName(HubNameT&& value) { SetHubName(std::forward<HubNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetHubContentName() const { return m_hubContentName; }
58 inline bool HubContentNameHasBeenSet() const { return m_hubContentNameHasBeenSet; }
59 template<typename HubContentNameT = Aws::String>
60 void SetHubContentName(HubContentNameT&& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = std::forward<HubContentNameT>(value); }
61 template<typename HubContentNameT = Aws::String>
62 UpdateHubContentRequest& WithHubContentName(HubContentNameT&& value) { SetHubContentName(std::forward<HubContentNameT>(value)); return *this;}
64
66
72 inline HubContentType GetHubContentType() const { return m_hubContentType; }
73 inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; }
74 inline void SetHubContentType(HubContentType value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = value; }
77
79
83 inline const Aws::String& GetHubContentVersion() const { return m_hubContentVersion; }
84 inline bool HubContentVersionHasBeenSet() const { return m_hubContentVersionHasBeenSet; }
85 template<typename HubContentVersionT = Aws::String>
86 void SetHubContentVersion(HubContentVersionT&& value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion = std::forward<HubContentVersionT>(value); }
87 template<typename HubContentVersionT = Aws::String>
88 UpdateHubContentRequest& WithHubContentVersion(HubContentVersionT&& value) { SetHubContentVersion(std::forward<HubContentVersionT>(value)); return *this;}
90
92
95 inline const Aws::String& GetHubContentDisplayName() const { return m_hubContentDisplayName; }
96 inline bool HubContentDisplayNameHasBeenSet() const { return m_hubContentDisplayNameHasBeenSet; }
97 template<typename HubContentDisplayNameT = Aws::String>
98 void SetHubContentDisplayName(HubContentDisplayNameT&& value) { m_hubContentDisplayNameHasBeenSet = true; m_hubContentDisplayName = std::forward<HubContentDisplayNameT>(value); }
99 template<typename HubContentDisplayNameT = Aws::String>
100 UpdateHubContentRequest& WithHubContentDisplayName(HubContentDisplayNameT&& value) { SetHubContentDisplayName(std::forward<HubContentDisplayNameT>(value)); return *this;}
102
104
107 inline const Aws::String& GetHubContentDescription() const { return m_hubContentDescription; }
108 inline bool HubContentDescriptionHasBeenSet() const { return m_hubContentDescriptionHasBeenSet; }
109 template<typename HubContentDescriptionT = Aws::String>
110 void SetHubContentDescription(HubContentDescriptionT&& value) { m_hubContentDescriptionHasBeenSet = true; m_hubContentDescription = std::forward<HubContentDescriptionT>(value); }
111 template<typename HubContentDescriptionT = Aws::String>
112 UpdateHubContentRequest& WithHubContentDescription(HubContentDescriptionT&& value) { SetHubContentDescription(std::forward<HubContentDescriptionT>(value)); return *this;}
114
116
120 inline const Aws::String& GetHubContentMarkdown() const { return m_hubContentMarkdown; }
121 inline bool HubContentMarkdownHasBeenSet() const { return m_hubContentMarkdownHasBeenSet; }
122 template<typename HubContentMarkdownT = Aws::String>
123 void SetHubContentMarkdown(HubContentMarkdownT&& value) { m_hubContentMarkdownHasBeenSet = true; m_hubContentMarkdown = std::forward<HubContentMarkdownT>(value); }
124 template<typename HubContentMarkdownT = Aws::String>
125 UpdateHubContentRequest& WithHubContentMarkdown(HubContentMarkdownT&& value) { SetHubContentMarkdown(std::forward<HubContentMarkdownT>(value)); return *this;}
127
129
132 inline const Aws::Vector<Aws::String>& GetHubContentSearchKeywords() const { return m_hubContentSearchKeywords; }
133 inline bool HubContentSearchKeywordsHasBeenSet() const { return m_hubContentSearchKeywordsHasBeenSet; }
134 template<typename HubContentSearchKeywordsT = Aws::Vector<Aws::String>>
135 void SetHubContentSearchKeywords(HubContentSearchKeywordsT&& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords = std::forward<HubContentSearchKeywordsT>(value); }
136 template<typename HubContentSearchKeywordsT = Aws::Vector<Aws::String>>
137 UpdateHubContentRequest& WithHubContentSearchKeywords(HubContentSearchKeywordsT&& value) { SetHubContentSearchKeywords(std::forward<HubContentSearchKeywordsT>(value)); return *this;}
138 template<typename HubContentSearchKeywordsT = Aws::String>
139 UpdateHubContentRequest& AddHubContentSearchKeywords(HubContentSearchKeywordsT&& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords.emplace_back(std::forward<HubContentSearchKeywordsT>(value)); return *this; }
141
143
146 inline HubContentSupportStatus GetSupportStatus() const { return m_supportStatus; }
147 inline bool SupportStatusHasBeenSet() const { return m_supportStatusHasBeenSet; }
148 inline void SetSupportStatus(HubContentSupportStatus value) { m_supportStatusHasBeenSet = true; m_supportStatus = value; }
151 private:
152
153 Aws::String m_hubName;
154 bool m_hubNameHasBeenSet = false;
155
156 Aws::String m_hubContentName;
157 bool m_hubContentNameHasBeenSet = false;
158
159 HubContentType m_hubContentType{HubContentType::NOT_SET};
160 bool m_hubContentTypeHasBeenSet = false;
161
162 Aws::String m_hubContentVersion;
163 bool m_hubContentVersionHasBeenSet = false;
164
165 Aws::String m_hubContentDisplayName;
166 bool m_hubContentDisplayNameHasBeenSet = false;
167
168 Aws::String m_hubContentDescription;
169 bool m_hubContentDescriptionHasBeenSet = false;
170
171 Aws::String m_hubContentMarkdown;
172 bool m_hubContentMarkdownHasBeenSet = false;
173
174 Aws::Vector<Aws::String> m_hubContentSearchKeywords;
175 bool m_hubContentSearchKeywordsHasBeenSet = false;
176
178 bool m_supportStatusHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace SageMaker
183} // namespace Aws
UpdateHubContentRequest & WithHubContentVersion(HubContentVersionT &&value)
void SetSupportStatus(HubContentSupportStatus value)
UpdateHubContentRequest & WithHubName(HubNameT &&value)
UpdateHubContentRequest & WithHubContentSearchKeywords(HubContentSearchKeywordsT &&value)
UpdateHubContentRequest & AddHubContentSearchKeywords(HubContentSearchKeywordsT &&value)
const Aws::Vector< Aws::String > & GetHubContentSearchKeywords() const
void SetHubContentVersion(HubContentVersionT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetHubContentDescription(HubContentDescriptionT &&value)
UpdateHubContentRequest & WithHubContentDescription(HubContentDescriptionT &&value)
void SetHubContentSearchKeywords(HubContentSearchKeywordsT &&value)
UpdateHubContentRequest & WithHubContentMarkdown(HubContentMarkdownT &&value)
AWS_SAGEMAKER_API UpdateHubContentRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateHubContentRequest & WithSupportStatus(HubContentSupportStatus value)
UpdateHubContentRequest & WithHubContentDisplayName(HubContentDisplayNameT &&value)
UpdateHubContentRequest & WithHubContentName(HubContentNameT &&value)
UpdateHubContentRequest & WithHubContentType(HubContentType value)
void SetHubContentMarkdown(HubContentMarkdownT &&value)
void SetHubContentDisplayName(HubContentDisplayNameT &&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