AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
UpdateHubRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SageMaker {
16namespace Model {
17
21 public:
22 AWS_SAGEMAKER_API UpdateHubRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateHub"; }
29
30 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetHubName() const { return m_hubName; }
39 inline bool HubNameHasBeenSet() const { return m_hubNameHasBeenSet; }
40 template <typename HubNameT = Aws::String>
41 void SetHubName(HubNameT&& value) {
42 m_hubNameHasBeenSet = true;
43 m_hubName = std::forward<HubNameT>(value);
44 }
45 template <typename HubNameT = Aws::String>
46 UpdateHubRequest& WithHubName(HubNameT&& value) {
47 SetHubName(std::forward<HubNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetHubDescription() const { return m_hubDescription; }
57 inline bool HubDescriptionHasBeenSet() const { return m_hubDescriptionHasBeenSet; }
58 template <typename HubDescriptionT = Aws::String>
59 void SetHubDescription(HubDescriptionT&& value) {
60 m_hubDescriptionHasBeenSet = true;
61 m_hubDescription = std::forward<HubDescriptionT>(value);
62 }
63 template <typename HubDescriptionT = Aws::String>
64 UpdateHubRequest& WithHubDescription(HubDescriptionT&& value) {
65 SetHubDescription(std::forward<HubDescriptionT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetHubDisplayName() const { return m_hubDisplayName; }
75 inline bool HubDisplayNameHasBeenSet() const { return m_hubDisplayNameHasBeenSet; }
76 template <typename HubDisplayNameT = Aws::String>
77 void SetHubDisplayName(HubDisplayNameT&& value) {
78 m_hubDisplayNameHasBeenSet = true;
79 m_hubDisplayName = std::forward<HubDisplayNameT>(value);
80 }
81 template <typename HubDisplayNameT = Aws::String>
82 UpdateHubRequest& WithHubDisplayName(HubDisplayNameT&& value) {
83 SetHubDisplayName(std::forward<HubDisplayNameT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::Vector<Aws::String>& GetHubSearchKeywords() const { return m_hubSearchKeywords; }
93 inline bool HubSearchKeywordsHasBeenSet() const { return m_hubSearchKeywordsHasBeenSet; }
94 template <typename HubSearchKeywordsT = Aws::Vector<Aws::String>>
95 void SetHubSearchKeywords(HubSearchKeywordsT&& value) {
96 m_hubSearchKeywordsHasBeenSet = true;
97 m_hubSearchKeywords = std::forward<HubSearchKeywordsT>(value);
98 }
99 template <typename HubSearchKeywordsT = Aws::Vector<Aws::String>>
100 UpdateHubRequest& WithHubSearchKeywords(HubSearchKeywordsT&& value) {
101 SetHubSearchKeywords(std::forward<HubSearchKeywordsT>(value));
102 return *this;
103 }
104 template <typename HubSearchKeywordsT = Aws::String>
105 UpdateHubRequest& AddHubSearchKeywords(HubSearchKeywordsT&& value) {
106 m_hubSearchKeywordsHasBeenSet = true;
107 m_hubSearchKeywords.emplace_back(std::forward<HubSearchKeywordsT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_hubName;
113
114 Aws::String m_hubDescription;
115
116 Aws::String m_hubDisplayName;
117
118 Aws::Vector<Aws::String> m_hubSearchKeywords;
119 bool m_hubNameHasBeenSet = false;
120 bool m_hubDescriptionHasBeenSet = false;
121 bool m_hubDisplayNameHasBeenSet = false;
122 bool m_hubSearchKeywordsHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace SageMaker
127} // namespace Aws
UpdateHubRequest & WithHubName(HubNameT &&value)
const Aws::String & GetHubDescription() const
UpdateHubRequest & WithHubDescription(HubDescriptionT &&value)
void SetHubDisplayName(HubDisplayNameT &&value)
UpdateHubRequest & WithHubSearchKeywords(HubSearchKeywordsT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateHubRequest & AddHubSearchKeywords(HubSearchKeywordsT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateHubRequest & WithHubDisplayName(HubDisplayNameT &&value)
virtual const char * GetServiceRequestName() const override
void SetHubSearchKeywords(HubSearchKeywordsT &&value)
const Aws::String & GetHubDisplayName() const
const Aws::Vector< Aws::String > & GetHubSearchKeywords() const
AWS_SAGEMAKER_API UpdateHubRequest()=default
const Aws::String & GetHubName() const
void SetHubDescription(HubDescriptionT &&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