AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DeleteHubContentRequest.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 DeleteHubContentRequest() = 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 "DeleteHubContent"; }
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>
47 SetHubName(std::forward<HubNameT>(value));
48 return *this;
49 }
51
53
56 inline HubContentType GetHubContentType() const { return m_hubContentType; }
57 inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; }
58 inline void SetHubContentType(HubContentType value) {
59 m_hubContentTypeHasBeenSet = true;
60 m_hubContentType = value;
61 }
63 SetHubContentType(value);
64 return *this;
65 }
67
69
72 inline const Aws::String& GetHubContentName() const { return m_hubContentName; }
73 inline bool HubContentNameHasBeenSet() const { return m_hubContentNameHasBeenSet; }
74 template <typename HubContentNameT = Aws::String>
75 void SetHubContentName(HubContentNameT&& value) {
76 m_hubContentNameHasBeenSet = true;
77 m_hubContentName = std::forward<HubContentNameT>(value);
78 }
79 template <typename HubContentNameT = Aws::String>
80 DeleteHubContentRequest& WithHubContentName(HubContentNameT&& value) {
81 SetHubContentName(std::forward<HubContentNameT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetHubContentVersion() const { return m_hubContentVersion; }
91 inline bool HubContentVersionHasBeenSet() const { return m_hubContentVersionHasBeenSet; }
92 template <typename HubContentVersionT = Aws::String>
93 void SetHubContentVersion(HubContentVersionT&& value) {
94 m_hubContentVersionHasBeenSet = true;
95 m_hubContentVersion = std::forward<HubContentVersionT>(value);
96 }
97 template <typename HubContentVersionT = Aws::String>
98 DeleteHubContentRequest& WithHubContentVersion(HubContentVersionT&& value) {
99 SetHubContentVersion(std::forward<HubContentVersionT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_hubName;
105
106 HubContentType m_hubContentType{HubContentType::NOT_SET};
107
108 Aws::String m_hubContentName;
109
110 Aws::String m_hubContentVersion;
111 bool m_hubNameHasBeenSet = false;
112 bool m_hubContentTypeHasBeenSet = false;
113 bool m_hubContentNameHasBeenSet = false;
114 bool m_hubContentVersionHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace SageMaker
119} // namespace Aws
DeleteHubContentRequest & WithHubName(HubNameT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetHubContentVersion(HubContentVersionT &&value)
AWS_SAGEMAKER_API DeleteHubContentRequest()=default
virtual const char * GetServiceRequestName() const override
DeleteHubContentRequest & WithHubContentName(HubContentNameT &&value)
DeleteHubContentRequest & WithHubContentVersion(HubContentVersionT &&value)
DeleteHubContentRequest & WithHubContentType(HubContentType 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