AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
UpdateHubContentReferenceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/HubContentType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SageMaker {
16namespace Model {
17
21 public:
22 AWS_SAGEMAKER_API UpdateHubContentReferenceRequest() = 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 "UpdateHubContentReference"; }
29
30 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetHubName() const { return m_hubName; }
40 inline bool HubNameHasBeenSet() const { return m_hubNameHasBeenSet; }
41 template <typename HubNameT = Aws::String>
42 void SetHubName(HubNameT&& value) {
43 m_hubNameHasBeenSet = true;
44 m_hubName = std::forward<HubNameT>(value);
45 }
46 template <typename HubNameT = Aws::String>
48 SetHubName(std::forward<HubNameT>(value));
49 return *this;
50 }
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) {
61 m_hubContentNameHasBeenSet = true;
62 m_hubContentName = std::forward<HubContentNameT>(value);
63 }
64 template <typename HubContentNameT = Aws::String>
66 SetHubContentName(std::forward<HubContentNameT>(value));
67 return *this;
68 }
70
72
78 inline HubContentType GetHubContentType() const { return m_hubContentType; }
79 inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; }
80 inline void SetHubContentType(HubContentType value) {
81 m_hubContentTypeHasBeenSet = true;
82 m_hubContentType = value;
83 }
85 SetHubContentType(value);
86 return *this;
87 }
89
91
97 inline const Aws::String& GetMinVersion() const { return m_minVersion; }
98 inline bool MinVersionHasBeenSet() const { return m_minVersionHasBeenSet; }
99 template <typename MinVersionT = Aws::String>
100 void SetMinVersion(MinVersionT&& value) {
101 m_minVersionHasBeenSet = true;
102 m_minVersion = std::forward<MinVersionT>(value);
103 }
104 template <typename MinVersionT = Aws::String>
106 SetMinVersion(std::forward<MinVersionT>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_hubName;
112
113 Aws::String m_hubContentName;
114
115 HubContentType m_hubContentType{HubContentType::NOT_SET};
116
117 Aws::String m_minVersion;
118 bool m_hubNameHasBeenSet = false;
119 bool m_hubContentNameHasBeenSet = false;
120 bool m_hubContentTypeHasBeenSet = false;
121 bool m_minVersionHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace SageMaker
126} // namespace Aws
UpdateHubContentReferenceRequest & WithHubContentName(HubContentNameT &&value)
UpdateHubContentReferenceRequest & WithHubName(HubNameT &&value)
UpdateHubContentReferenceRequest & WithHubContentType(HubContentType value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API UpdateHubContentReferenceRequest()=default
UpdateHubContentReferenceRequest & WithMinVersion(MinVersionT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String