AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
CreateMLEndpointRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/neptunedata/NeptunedataRequest.h>
9#include <aws/neptunedata/Neptunedata_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace neptunedata {
15namespace Model {
16
20 public:
21 AWS_NEPTUNEDATA_API CreateMLEndpointRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "CreateMLEndpoint"; }
28
29 AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetId() const { return m_id; }
37 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
38 template <typename IdT = Aws::String>
39 void SetId(IdT&& value) {
40 m_idHasBeenSet = true;
41 m_id = std::forward<IdT>(value);
42 }
43 template <typename IdT = Aws::String>
45 SetId(std::forward<IdT>(value));
46 return *this;
47 }
49
51
56 inline const Aws::String& GetMlModelTrainingJobId() const { return m_mlModelTrainingJobId; }
57 inline bool MlModelTrainingJobIdHasBeenSet() const { return m_mlModelTrainingJobIdHasBeenSet; }
58 template <typename MlModelTrainingJobIdT = Aws::String>
59 void SetMlModelTrainingJobId(MlModelTrainingJobIdT&& value) {
60 m_mlModelTrainingJobIdHasBeenSet = true;
61 m_mlModelTrainingJobId = std::forward<MlModelTrainingJobIdT>(value);
62 }
63 template <typename MlModelTrainingJobIdT = Aws::String>
64 CreateMLEndpointRequest& WithMlModelTrainingJobId(MlModelTrainingJobIdT&& value) {
65 SetMlModelTrainingJobId(std::forward<MlModelTrainingJobIdT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetMlModelTransformJobId() const { return m_mlModelTransformJobId; }
76 inline bool MlModelTransformJobIdHasBeenSet() const { return m_mlModelTransformJobIdHasBeenSet; }
77 template <typename MlModelTransformJobIdT = Aws::String>
78 void SetMlModelTransformJobId(MlModelTransformJobIdT&& value) {
79 m_mlModelTransformJobIdHasBeenSet = true;
80 m_mlModelTransformJobId = std::forward<MlModelTransformJobIdT>(value);
81 }
82 template <typename MlModelTransformJobIdT = Aws::String>
83 CreateMLEndpointRequest& WithMlModelTransformJobId(MlModelTransformJobIdT&& value) {
84 SetMlModelTransformJobId(std::forward<MlModelTransformJobIdT>(value));
85 return *this;
86 }
88
90
95 inline bool GetUpdate() const { return m_update; }
96 inline bool UpdateHasBeenSet() const { return m_updateHasBeenSet; }
97 inline void SetUpdate(bool value) {
98 m_updateHasBeenSet = true;
99 m_update = value;
100 }
102 SetUpdate(value);
103 return *this;
104 }
106
108
113 inline const Aws::String& GetNeptuneIamRoleArn() const { return m_neptuneIamRoleArn; }
114 inline bool NeptuneIamRoleArnHasBeenSet() const { return m_neptuneIamRoleArnHasBeenSet; }
115 template <typename NeptuneIamRoleArnT = Aws::String>
116 void SetNeptuneIamRoleArn(NeptuneIamRoleArnT&& value) {
117 m_neptuneIamRoleArnHasBeenSet = true;
118 m_neptuneIamRoleArn = std::forward<NeptuneIamRoleArnT>(value);
119 }
120 template <typename NeptuneIamRoleArnT = Aws::String>
121 CreateMLEndpointRequest& WithNeptuneIamRoleArn(NeptuneIamRoleArnT&& value) {
122 SetNeptuneIamRoleArn(std::forward<NeptuneIamRoleArnT>(value));
123 return *this;
124 }
126
128
137 inline const Aws::String& GetModelName() const { return m_modelName; }
138 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
139 template <typename ModelNameT = Aws::String>
140 void SetModelName(ModelNameT&& value) {
141 m_modelNameHasBeenSet = true;
142 m_modelName = std::forward<ModelNameT>(value);
143 }
144 template <typename ModelNameT = Aws::String>
146 SetModelName(std::forward<ModelNameT>(value));
147 return *this;
148 }
150
152
157 inline const Aws::String& GetInstanceType() const { return m_instanceType; }
158 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
159 template <typename InstanceTypeT = Aws::String>
160 void SetInstanceType(InstanceTypeT&& value) {
161 m_instanceTypeHasBeenSet = true;
162 m_instanceType = std::forward<InstanceTypeT>(value);
163 }
164 template <typename InstanceTypeT = Aws::String>
166 SetInstanceType(std::forward<InstanceTypeT>(value));
167 return *this;
168 }
170
172
176 inline int GetInstanceCount() const { return m_instanceCount; }
177 inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
178 inline void SetInstanceCount(int value) {
179 m_instanceCountHasBeenSet = true;
180 m_instanceCount = value;
181 }
183 SetInstanceCount(value);
184 return *this;
185 }
187
189
194 inline const Aws::String& GetVolumeEncryptionKMSKey() const { return m_volumeEncryptionKMSKey; }
195 inline bool VolumeEncryptionKMSKeyHasBeenSet() const { return m_volumeEncryptionKMSKeyHasBeenSet; }
196 template <typename VolumeEncryptionKMSKeyT = Aws::String>
197 void SetVolumeEncryptionKMSKey(VolumeEncryptionKMSKeyT&& value) {
198 m_volumeEncryptionKMSKeyHasBeenSet = true;
199 m_volumeEncryptionKMSKey = std::forward<VolumeEncryptionKMSKeyT>(value);
200 }
201 template <typename VolumeEncryptionKMSKeyT = Aws::String>
202 CreateMLEndpointRequest& WithVolumeEncryptionKMSKey(VolumeEncryptionKMSKeyT&& value) {
203 SetVolumeEncryptionKMSKey(std::forward<VolumeEncryptionKMSKeyT>(value));
204 return *this;
205 }
207 private:
208 Aws::String m_id;
209
210 Aws::String m_mlModelTrainingJobId;
211
212 Aws::String m_mlModelTransformJobId;
213
214 bool m_update{false};
215
216 Aws::String m_neptuneIamRoleArn;
217
218 Aws::String m_modelName;
219
220 Aws::String m_instanceType;
221
222 int m_instanceCount{0};
223
224 Aws::String m_volumeEncryptionKMSKey;
225 bool m_idHasBeenSet = false;
226 bool m_mlModelTrainingJobIdHasBeenSet = false;
227 bool m_mlModelTransformJobIdHasBeenSet = false;
228 bool m_updateHasBeenSet = false;
229 bool m_neptuneIamRoleArnHasBeenSet = false;
230 bool m_modelNameHasBeenSet = false;
231 bool m_instanceTypeHasBeenSet = false;
232 bool m_instanceCountHasBeenSet = false;
233 bool m_volumeEncryptionKMSKeyHasBeenSet = false;
234};
235
236} // namespace Model
237} // namespace neptunedata
238} // namespace Aws
AWS_NEPTUNEDATA_API CreateMLEndpointRequest()=default
CreateMLEndpointRequest & WithNeptuneIamRoleArn(NeptuneIamRoleArnT &&value)
CreateMLEndpointRequest & WithInstanceType(InstanceTypeT &&value)
void SetVolumeEncryptionKMSKey(VolumeEncryptionKMSKeyT &&value)
CreateMLEndpointRequest & WithModelName(ModelNameT &&value)
CreateMLEndpointRequest & WithId(IdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override
CreateMLEndpointRequest & WithMlModelTrainingJobId(MlModelTrainingJobIdT &&value)
CreateMLEndpointRequest & WithVolumeEncryptionKMSKey(VolumeEncryptionKMSKeyT &&value)
void SetMlModelTransformJobId(MlModelTransformJobIdT &&value)
void SetMlModelTrainingJobId(MlModelTrainingJobIdT &&value)
CreateMLEndpointRequest & WithMlModelTransformJobId(MlModelTransformJobIdT &&value)
CreateMLEndpointRequest & WithInstanceCount(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String