AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetHubName(const Aws::String& value) { m_hubNameHasBeenSet = true; m_hubName = value; }
45 inline void SetHubName(Aws::String&& value) { m_hubNameHasBeenSet = true; m_hubName = std::move(value); }
46 inline void SetHubName(const char* value) { m_hubNameHasBeenSet = true; m_hubName.assign(value); }
47 inline UpdateHubRequest& WithHubName(const Aws::String& value) { SetHubName(value); return *this;}
48 inline UpdateHubRequest& WithHubName(Aws::String&& value) { SetHubName(std::move(value)); return *this;}
49 inline UpdateHubRequest& WithHubName(const char* value) { SetHubName(value); return *this;}
51
53
56 inline const Aws::String& GetHubDescription() const{ return m_hubDescription; }
57 inline bool HubDescriptionHasBeenSet() const { return m_hubDescriptionHasBeenSet; }
58 inline void SetHubDescription(const Aws::String& value) { m_hubDescriptionHasBeenSet = true; m_hubDescription = value; }
59 inline void SetHubDescription(Aws::String&& value) { m_hubDescriptionHasBeenSet = true; m_hubDescription = std::move(value); }
60 inline void SetHubDescription(const char* value) { m_hubDescriptionHasBeenSet = true; m_hubDescription.assign(value); }
61 inline UpdateHubRequest& WithHubDescription(const Aws::String& value) { SetHubDescription(value); return *this;}
62 inline UpdateHubRequest& WithHubDescription(Aws::String&& value) { SetHubDescription(std::move(value)); return *this;}
63 inline UpdateHubRequest& WithHubDescription(const char* value) { SetHubDescription(value); return *this;}
65
67
70 inline const Aws::String& GetHubDisplayName() const{ return m_hubDisplayName; }
71 inline bool HubDisplayNameHasBeenSet() const { return m_hubDisplayNameHasBeenSet; }
72 inline void SetHubDisplayName(const Aws::String& value) { m_hubDisplayNameHasBeenSet = true; m_hubDisplayName = value; }
73 inline void SetHubDisplayName(Aws::String&& value) { m_hubDisplayNameHasBeenSet = true; m_hubDisplayName = std::move(value); }
74 inline void SetHubDisplayName(const char* value) { m_hubDisplayNameHasBeenSet = true; m_hubDisplayName.assign(value); }
75 inline UpdateHubRequest& WithHubDisplayName(const Aws::String& value) { SetHubDisplayName(value); return *this;}
76 inline UpdateHubRequest& WithHubDisplayName(Aws::String&& value) { SetHubDisplayName(std::move(value)); return *this;}
77 inline UpdateHubRequest& WithHubDisplayName(const char* value) { SetHubDisplayName(value); return *this;}
79
81
84 inline const Aws::Vector<Aws::String>& GetHubSearchKeywords() const{ return m_hubSearchKeywords; }
85 inline bool HubSearchKeywordsHasBeenSet() const { return m_hubSearchKeywordsHasBeenSet; }
86 inline void SetHubSearchKeywords(const Aws::Vector<Aws::String>& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords = value; }
87 inline void SetHubSearchKeywords(Aws::Vector<Aws::String>&& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords = std::move(value); }
89 inline UpdateHubRequest& WithHubSearchKeywords(Aws::Vector<Aws::String>&& value) { SetHubSearchKeywords(std::move(value)); return *this;}
90 inline UpdateHubRequest& AddHubSearchKeywords(const Aws::String& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords.push_back(value); return *this; }
91 inline UpdateHubRequest& AddHubSearchKeywords(Aws::String&& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords.push_back(std::move(value)); return *this; }
92 inline UpdateHubRequest& AddHubSearchKeywords(const char* value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords.push_back(value); return *this; }
94 private:
95
96 Aws::String m_hubName;
97 bool m_hubNameHasBeenSet = false;
98
99 Aws::String m_hubDescription;
100 bool m_hubDescriptionHasBeenSet = false;
101
102 Aws::String m_hubDisplayName;
103 bool m_hubDisplayNameHasBeenSet = false;
104
105 Aws::Vector<Aws::String> m_hubSearchKeywords;
106 bool m_hubSearchKeywordsHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace SageMaker
111} // namespace Aws
const Aws::String & GetHubDescription() const
UpdateHubRequest & WithHubName(const char *value)
UpdateHubRequest & AddHubSearchKeywords(Aws::String &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateHubRequest & WithHubDescription(const Aws::String &value)
UpdateHubRequest & WithHubName(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateHubRequest & WithHubSearchKeywords(Aws::Vector< Aws::String > &&value)
void SetHubDisplayName(Aws::String &&value)
UpdateHubRequest & WithHubDisplayName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetHubDescription(Aws::String &&value)
UpdateHubRequest & WithHubDescription(Aws::String &&value)
void SetHubDisplayName(const Aws::String &value)
void SetHubDescription(const Aws::String &value)
const Aws::String & GetHubDisplayName() const
UpdateHubRequest & WithHubDisplayName(const Aws::String &value)
void SetHubName(const Aws::String &value)
UpdateHubRequest & AddHubSearchKeywords(const char *value)
UpdateHubRequest & WithHubSearchKeywords(const Aws::Vector< Aws::String > &value)
UpdateHubRequest & WithHubName(const Aws::String &value)
UpdateHubRequest & WithHubDisplayName(const char *value)
const Aws::Vector< Aws::String > & GetHubSearchKeywords() const
void SetHubSearchKeywords(const Aws::Vector< Aws::String > &value)
void SetHubSearchKeywords(Aws::Vector< Aws::String > &&value)
UpdateHubRequest & AddHubSearchKeywords(const Aws::String &value)
const Aws::String & GetHubName() const
UpdateHubRequest & WithHubDescription(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