AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteHubContentReferenceRequest.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 DeleteHubContentReferenceRequest() = 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 "DeleteHubContentReference"; }
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 DeleteHubContentReferenceRequest& WithHubName(HubNameT&& value) { SetHubName(std::forward<HubNameT>(value)); return *this;}
49
51
55 inline HubContentType GetHubContentType() const { return m_hubContentType; }
56 inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; }
57 inline void SetHubContentType(HubContentType value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = value; }
60
62
65 inline const Aws::String& GetHubContentName() const { return m_hubContentName; }
66 inline bool HubContentNameHasBeenSet() const { return m_hubContentNameHasBeenSet; }
67 template<typename HubContentNameT = Aws::String>
68 void SetHubContentName(HubContentNameT&& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = std::forward<HubContentNameT>(value); }
69 template<typename HubContentNameT = Aws::String>
70 DeleteHubContentReferenceRequest& WithHubContentName(HubContentNameT&& value) { SetHubContentName(std::forward<HubContentNameT>(value)); return *this;}
72 private:
73
74 Aws::String m_hubName;
75 bool m_hubNameHasBeenSet = false;
76
78 bool m_hubContentTypeHasBeenSet = false;
79
80 Aws::String m_hubContentName;
81 bool m_hubContentNameHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace SageMaker
86} // 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