AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeleteHubContentRequest.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/sagemaker/model/HubContentType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SageMaker
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SAGEMAKER_API DeleteHubContentRequest() = 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 "DeleteHubContent"; }
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 DeleteHubContentRequest& WithHubName(HubNameT&& value) { SetHubName(std::forward<HubNameT>(value)); return *this;}
49
51
54 inline HubContentType GetHubContentType() const { return m_hubContentType; }
55 inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; }
56 inline void SetHubContentType(HubContentType value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = value; }
59
61
64 inline const Aws::String& GetHubContentName() const { return m_hubContentName; }
65 inline bool HubContentNameHasBeenSet() const { return m_hubContentNameHasBeenSet; }
66 template<typename HubContentNameT = Aws::String>
67 void SetHubContentName(HubContentNameT&& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = std::forward<HubContentNameT>(value); }
68 template<typename HubContentNameT = Aws::String>
69 DeleteHubContentRequest& WithHubContentName(HubContentNameT&& value) { SetHubContentName(std::forward<HubContentNameT>(value)); return *this;}
71
73
76 inline const Aws::String& GetHubContentVersion() const { return m_hubContentVersion; }
77 inline bool HubContentVersionHasBeenSet() const { return m_hubContentVersionHasBeenSet; }
78 template<typename HubContentVersionT = Aws::String>
79 void SetHubContentVersion(HubContentVersionT&& value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion = std::forward<HubContentVersionT>(value); }
80 template<typename HubContentVersionT = Aws::String>
81 DeleteHubContentRequest& WithHubContentVersion(HubContentVersionT&& value) { SetHubContentVersion(std::forward<HubContentVersionT>(value)); return *this;}
83 private:
84
85 Aws::String m_hubName;
86 bool m_hubNameHasBeenSet = false;
87
89 bool m_hubContentTypeHasBeenSet = false;
90
91 Aws::String m_hubContentName;
92 bool m_hubContentNameHasBeenSet = false;
93
94 Aws::String m_hubContentVersion;
95 bool m_hubContentVersionHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SageMaker
100} // 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