AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetHubName(const Aws::String& value) { m_hubNameHasBeenSet = true; m_hubName = value; }
45 inline void SetHubName(Aws::String&& value) { m_hubNameHasBeenSet = true; m_hubName = std::move(value); }
46 inline void SetHubName(const char* value) { m_hubNameHasBeenSet = true; m_hubName.assign(value); }
47 inline DeleteHubContentRequest& WithHubName(const Aws::String& value) { SetHubName(value); return *this;}
48 inline DeleteHubContentRequest& WithHubName(Aws::String&& value) { SetHubName(std::move(value)); return *this;}
49 inline DeleteHubContentRequest& WithHubName(const char* value) { SetHubName(value); return *this;}
51
53
56 inline const HubContentType& GetHubContentType() const{ return m_hubContentType; }
57 inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; }
58 inline void SetHubContentType(const HubContentType& value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = value; }
59 inline void SetHubContentType(HubContentType&& value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = std::move(value); }
60 inline DeleteHubContentRequest& WithHubContentType(const HubContentType& value) { SetHubContentType(value); return *this;}
61 inline DeleteHubContentRequest& WithHubContentType(HubContentType&& value) { SetHubContentType(std::move(value)); return *this;}
63
65
68 inline const Aws::String& GetHubContentName() const{ return m_hubContentName; }
69 inline bool HubContentNameHasBeenSet() const { return m_hubContentNameHasBeenSet; }
70 inline void SetHubContentName(const Aws::String& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = value; }
71 inline void SetHubContentName(Aws::String&& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = std::move(value); }
72 inline void SetHubContentName(const char* value) { m_hubContentNameHasBeenSet = true; m_hubContentName.assign(value); }
73 inline DeleteHubContentRequest& WithHubContentName(const Aws::String& value) { SetHubContentName(value); return *this;}
74 inline DeleteHubContentRequest& WithHubContentName(Aws::String&& value) { SetHubContentName(std::move(value)); return *this;}
75 inline DeleteHubContentRequest& WithHubContentName(const char* value) { SetHubContentName(value); return *this;}
77
79
82 inline const Aws::String& GetHubContentVersion() const{ return m_hubContentVersion; }
83 inline bool HubContentVersionHasBeenSet() const { return m_hubContentVersionHasBeenSet; }
84 inline void SetHubContentVersion(const Aws::String& value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion = value; }
85 inline void SetHubContentVersion(Aws::String&& value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion = std::move(value); }
86 inline void SetHubContentVersion(const char* value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion.assign(value); }
88 inline DeleteHubContentRequest& WithHubContentVersion(Aws::String&& value) { SetHubContentVersion(std::move(value)); return *this;}
89 inline DeleteHubContentRequest& WithHubContentVersion(const char* value) { SetHubContentVersion(value); return *this;}
91 private:
92
93 Aws::String m_hubName;
94 bool m_hubNameHasBeenSet = false;
95
96 HubContentType m_hubContentType;
97 bool m_hubContentTypeHasBeenSet = false;
98
99 Aws::String m_hubContentName;
100 bool m_hubContentNameHasBeenSet = false;
101
102 Aws::String m_hubContentVersion;
103 bool m_hubContentVersionHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SageMaker
108} // namespace Aws
DeleteHubContentRequest & WithHubName(const char *value)
DeleteHubContentRequest & WithHubContentName(const Aws::String &value)
void SetHubContentType(const HubContentType &value)
DeleteHubContentRequest & WithHubContentName(Aws::String &&value)
DeleteHubContentRequest & WithHubName(Aws::String &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
DeleteHubContentRequest & WithHubContentType(HubContentType &&value)
DeleteHubContentRequest & WithHubContentName(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteHubContentRequest & WithHubContentType(const HubContentType &value)
DeleteHubContentRequest & WithHubContentVersion(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteHubContentRequest & WithHubContentVersion(Aws::String &&value)
DeleteHubContentRequest & WithHubContentVersion(const char *value)
DeleteHubContentRequest & WithHubName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String