AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DeleteHubContentReferenceRequest.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 DeleteHubContentReferenceRequest() = 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 "DeleteHubContentReference"; }
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
57 inline HubContentType GetHubContentType() const { return m_hubContentType; }
58 inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; }
59 inline void SetHubContentType(HubContentType value) {
60 m_hubContentTypeHasBeenSet = true;
61 m_hubContentType = value;
62 }
64 SetHubContentType(value);
65 return *this;
66 }
68
70
73 inline const Aws::String& GetHubContentName() const { return m_hubContentName; }
74 inline bool HubContentNameHasBeenSet() const { return m_hubContentNameHasBeenSet; }
75 template <typename HubContentNameT = Aws::String>
76 void SetHubContentName(HubContentNameT&& value) {
77 m_hubContentNameHasBeenSet = true;
78 m_hubContentName = std::forward<HubContentNameT>(value);
79 }
80 template <typename HubContentNameT = Aws::String>
82 SetHubContentName(std::forward<HubContentNameT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_hubName;
88
90
91 Aws::String m_hubContentName;
92 bool m_hubNameHasBeenSet = false;
93 bool m_hubContentTypeHasBeenSet = false;
94 bool m_hubContentNameHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace SageMaker
99} // namespace Aws
DeleteHubContentReferenceRequest & WithHubContentName(HubContentNameT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteHubContentReferenceRequest & WithHubName(HubNameT &&value)
AWS_SAGEMAKER_API DeleteHubContentReferenceRequest()=default
DeleteHubContentReferenceRequest & WithHubContentType(HubContentType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String