AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 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 DeleteHubContentReferenceRequest& WithHubName(const Aws::String& value) { SetHubName(value); return *this;}
48 inline DeleteHubContentReferenceRequest& WithHubName(Aws::String&& value) { SetHubName(std::move(value)); return *this;}
49 inline DeleteHubContentReferenceRequest& WithHubName(const char* value) { SetHubName(value); return *this;}
51
53
57 inline const HubContentType& GetHubContentType() const{ return m_hubContentType; }
58 inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; }
59 inline void SetHubContentType(const HubContentType& value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = value; }
60 inline void SetHubContentType(HubContentType&& value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = std::move(value); }
62 inline DeleteHubContentReferenceRequest& WithHubContentType(HubContentType&& value) { SetHubContentType(std::move(value)); return *this;}
64
66
69 inline const Aws::String& GetHubContentName() const{ return m_hubContentName; }
70 inline bool HubContentNameHasBeenSet() const { return m_hubContentNameHasBeenSet; }
71 inline void SetHubContentName(const Aws::String& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = value; }
72 inline void SetHubContentName(Aws::String&& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = std::move(value); }
73 inline void SetHubContentName(const char* value) { m_hubContentNameHasBeenSet = true; m_hubContentName.assign(value); }
75 inline DeleteHubContentReferenceRequest& WithHubContentName(Aws::String&& value) { SetHubContentName(std::move(value)); return *this;}
76 inline DeleteHubContentReferenceRequest& WithHubContentName(const char* value) { SetHubContentName(value); return *this;}
78 private:
79
80 Aws::String m_hubName;
81 bool m_hubNameHasBeenSet = false;
82
83 HubContentType m_hubContentType;
84 bool m_hubContentTypeHasBeenSet = false;
85
86 Aws::String m_hubContentName;
87 bool m_hubContentNameHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SageMaker
92} // namespace Aws
DeleteHubContentReferenceRequest & WithHubContentName(Aws::String &&value)
DeleteHubContentReferenceRequest & WithHubName(const char *value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
DeleteHubContentReferenceRequest & WithHubContentName(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteHubContentReferenceRequest & WithHubContentType(const HubContentType &value)
DeleteHubContentReferenceRequest & WithHubContentName(const char *value)
DeleteHubContentReferenceRequest & WithHubName(const Aws::String &value)
DeleteHubContentReferenceRequest & WithHubContentType(HubContentType &&value)
DeleteHubContentReferenceRequest & WithHubName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String