AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateHubContentReferenceRequest.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 UpdateHubContentReferenceRequest() = 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 "UpdateHubContentReference"; }
32
33 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetHubName() const { return m_hubName; }
44 inline bool HubNameHasBeenSet() const { return m_hubNameHasBeenSet; }
45 template<typename HubNameT = Aws::String>
46 void SetHubName(HubNameT&& value) { m_hubNameHasBeenSet = true; m_hubName = std::forward<HubNameT>(value); }
47 template<typename HubNameT = Aws::String>
48 UpdateHubContentReferenceRequest& WithHubName(HubNameT&& value) { SetHubName(std::forward<HubNameT>(value)); return *this;}
50
52
55 inline const Aws::String& GetHubContentName() const { return m_hubContentName; }
56 inline bool HubContentNameHasBeenSet() const { return m_hubContentNameHasBeenSet; }
57 template<typename HubContentNameT = Aws::String>
58 void SetHubContentName(HubContentNameT&& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = std::forward<HubContentNameT>(value); }
59 template<typename HubContentNameT = Aws::String>
60 UpdateHubContentReferenceRequest& WithHubContentName(HubContentNameT&& value) { SetHubContentName(std::forward<HubContentNameT>(value)); return *this;}
62
64
70 inline HubContentType GetHubContentType() const { return m_hubContentType; }
71 inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; }
72 inline void SetHubContentType(HubContentType value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = value; }
75
77
83 inline const Aws::String& GetMinVersion() const { return m_minVersion; }
84 inline bool MinVersionHasBeenSet() const { return m_minVersionHasBeenSet; }
85 template<typename MinVersionT = Aws::String>
86 void SetMinVersion(MinVersionT&& value) { m_minVersionHasBeenSet = true; m_minVersion = std::forward<MinVersionT>(value); }
87 template<typename MinVersionT = Aws::String>
88 UpdateHubContentReferenceRequest& WithMinVersion(MinVersionT&& value) { SetMinVersion(std::forward<MinVersionT>(value)); return *this;}
90 private:
91
92 Aws::String m_hubName;
93 bool m_hubNameHasBeenSet = false;
94
95 Aws::String m_hubContentName;
96 bool m_hubContentNameHasBeenSet = false;
97
99 bool m_hubContentTypeHasBeenSet = false;
100
101 Aws::String m_minVersion;
102 bool m_minVersionHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace SageMaker
107} // namespace Aws
UpdateHubContentReferenceRequest & WithHubContentName(HubContentNameT &&value)
UpdateHubContentReferenceRequest & WithHubName(HubNameT &&value)
UpdateHubContentReferenceRequest & WithHubContentType(HubContentType value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API UpdateHubContentReferenceRequest()=default
UpdateHubContentReferenceRequest & WithMinVersion(MinVersionT &&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