AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateHubContentPresignedUrlsRequest.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 <aws/sagemaker/model/PresignedUrlAccessConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SageMaker
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SAGEMAKER_API CreateHubContentPresignedUrlsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateHubContentPresignedUrls"; }
33
34 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetHubName() const { return m_hubName; }
45 inline bool HubNameHasBeenSet() const { return m_hubNameHasBeenSet; }
46 template<typename HubNameT = Aws::String>
47 void SetHubName(HubNameT&& value) { m_hubNameHasBeenSet = true; m_hubName = std::forward<HubNameT>(value); }
48 template<typename HubNameT = Aws::String>
49 CreateHubContentPresignedUrlsRequest& WithHubName(HubNameT&& value) { SetHubName(std::forward<HubNameT>(value)); return *this;}
51
53
57 inline HubContentType GetHubContentType() const { return m_hubContentType; }
58 inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; }
59 inline void SetHubContentType(HubContentType value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = value; }
62
64
68 inline const Aws::String& GetHubContentName() const { return m_hubContentName; }
69 inline bool HubContentNameHasBeenSet() const { return m_hubContentNameHasBeenSet; }
70 template<typename HubContentNameT = Aws::String>
71 void SetHubContentName(HubContentNameT&& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = std::forward<HubContentNameT>(value); }
72 template<typename HubContentNameT = Aws::String>
73 CreateHubContentPresignedUrlsRequest& WithHubContentName(HubContentNameT&& value) { SetHubContentName(std::forward<HubContentNameT>(value)); return *this;}
75
77
81 inline const Aws::String& GetHubContentVersion() const { return m_hubContentVersion; }
82 inline bool HubContentVersionHasBeenSet() const { return m_hubContentVersionHasBeenSet; }
83 template<typename HubContentVersionT = Aws::String>
84 void SetHubContentVersion(HubContentVersionT&& value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion = std::forward<HubContentVersionT>(value); }
85 template<typename HubContentVersionT = Aws::String>
86 CreateHubContentPresignedUrlsRequest& WithHubContentVersion(HubContentVersionT&& value) { SetHubContentVersion(std::forward<HubContentVersionT>(value)); return *this;}
88
90
95 inline const PresignedUrlAccessConfig& GetAccessConfig() const { return m_accessConfig; }
96 inline bool AccessConfigHasBeenSet() const { return m_accessConfigHasBeenSet; }
97 template<typename AccessConfigT = PresignedUrlAccessConfig>
98 void SetAccessConfig(AccessConfigT&& value) { m_accessConfigHasBeenSet = true; m_accessConfig = std::forward<AccessConfigT>(value); }
99 template<typename AccessConfigT = PresignedUrlAccessConfig>
100 CreateHubContentPresignedUrlsRequest& WithAccessConfig(AccessConfigT&& value) { SetAccessConfig(std::forward<AccessConfigT>(value)); return *this;}
102
104
109 inline int GetMaxResults() const { return m_maxResults; }
110 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
111 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
112 inline CreateHubContentPresignedUrlsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
114
116
120 inline const Aws::String& GetNextToken() const { return m_nextToken; }
121 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
122 template<typename NextTokenT = Aws::String>
123 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
124 template<typename NextTokenT = Aws::String>
125 CreateHubContentPresignedUrlsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
127 private:
128
129 Aws::String m_hubName;
130 bool m_hubNameHasBeenSet = false;
131
132 HubContentType m_hubContentType{HubContentType::NOT_SET};
133 bool m_hubContentTypeHasBeenSet = false;
134
135 Aws::String m_hubContentName;
136 bool m_hubContentNameHasBeenSet = false;
137
138 Aws::String m_hubContentVersion;
139 bool m_hubContentVersionHasBeenSet = false;
140
141 PresignedUrlAccessConfig m_accessConfig;
142 bool m_accessConfigHasBeenSet = false;
143
144 int m_maxResults{0};
145 bool m_maxResultsHasBeenSet = false;
146
147 Aws::String m_nextToken;
148 bool m_nextTokenHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace SageMaker
153} // namespace Aws
CreateHubContentPresignedUrlsRequest & WithHubContentType(HubContentType value)
CreateHubContentPresignedUrlsRequest & WithHubContentName(HubContentNameT &&value)
CreateHubContentPresignedUrlsRequest & WithHubContentVersion(HubContentVersionT &&value)
CreateHubContentPresignedUrlsRequest & WithAccessConfig(AccessConfigT &&value)
CreateHubContentPresignedUrlsRequest & WithHubName(HubNameT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateHubContentPresignedUrlsRequest & WithNextToken(NextTokenT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String