AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateHubRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SageMaker
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SAGEMAKER_API UpdateHubRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateHub"; }
32
33 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetHubName() const { return m_hubName; }
43 inline bool HubNameHasBeenSet() const { return m_hubNameHasBeenSet; }
44 template<typename HubNameT = Aws::String>
45 void SetHubName(HubNameT&& value) { m_hubNameHasBeenSet = true; m_hubName = std::forward<HubNameT>(value); }
46 template<typename HubNameT = Aws::String>
47 UpdateHubRequest& WithHubName(HubNameT&& value) { SetHubName(std::forward<HubNameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetHubDescription() const { return m_hubDescription; }
55 inline bool HubDescriptionHasBeenSet() const { return m_hubDescriptionHasBeenSet; }
56 template<typename HubDescriptionT = Aws::String>
57 void SetHubDescription(HubDescriptionT&& value) { m_hubDescriptionHasBeenSet = true; m_hubDescription = std::forward<HubDescriptionT>(value); }
58 template<typename HubDescriptionT = Aws::String>
59 UpdateHubRequest& WithHubDescription(HubDescriptionT&& value) { SetHubDescription(std::forward<HubDescriptionT>(value)); return *this;}
61
63
66 inline const Aws::String& GetHubDisplayName() const { return m_hubDisplayName; }
67 inline bool HubDisplayNameHasBeenSet() const { return m_hubDisplayNameHasBeenSet; }
68 template<typename HubDisplayNameT = Aws::String>
69 void SetHubDisplayName(HubDisplayNameT&& value) { m_hubDisplayNameHasBeenSet = true; m_hubDisplayName = std::forward<HubDisplayNameT>(value); }
70 template<typename HubDisplayNameT = Aws::String>
71 UpdateHubRequest& WithHubDisplayName(HubDisplayNameT&& value) { SetHubDisplayName(std::forward<HubDisplayNameT>(value)); return *this;}
73
75
78 inline const Aws::Vector<Aws::String>& GetHubSearchKeywords() const { return m_hubSearchKeywords; }
79 inline bool HubSearchKeywordsHasBeenSet() const { return m_hubSearchKeywordsHasBeenSet; }
80 template<typename HubSearchKeywordsT = Aws::Vector<Aws::String>>
81 void SetHubSearchKeywords(HubSearchKeywordsT&& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords = std::forward<HubSearchKeywordsT>(value); }
82 template<typename HubSearchKeywordsT = Aws::Vector<Aws::String>>
83 UpdateHubRequest& WithHubSearchKeywords(HubSearchKeywordsT&& value) { SetHubSearchKeywords(std::forward<HubSearchKeywordsT>(value)); return *this;}
84 template<typename HubSearchKeywordsT = Aws::String>
85 UpdateHubRequest& AddHubSearchKeywords(HubSearchKeywordsT&& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords.emplace_back(std::forward<HubSearchKeywordsT>(value)); return *this; }
87 private:
88
89 Aws::String m_hubName;
90 bool m_hubNameHasBeenSet = false;
91
92 Aws::String m_hubDescription;
93 bool m_hubDescriptionHasBeenSet = false;
94
95 Aws::String m_hubDisplayName;
96 bool m_hubDisplayNameHasBeenSet = false;
97
98 Aws::Vector<Aws::String> m_hubSearchKeywords;
99 bool m_hubSearchKeywordsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace SageMaker
104} // 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