AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateMLEndpointRequest.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/neptunedata/NeptunedataRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace neptunedata
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_NEPTUNEDATA_API CreateMLEndpointRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateMLEndpoint"; }
31
32 AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override;
33
34
36
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template<typename IdT = Aws::String>
43 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
44 template<typename IdT = Aws::String>
45 CreateMLEndpointRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
47
49
54 inline const Aws::String& GetMlModelTrainingJobId() const { return m_mlModelTrainingJobId; }
55 inline bool MlModelTrainingJobIdHasBeenSet() const { return m_mlModelTrainingJobIdHasBeenSet; }
56 template<typename MlModelTrainingJobIdT = Aws::String>
57 void SetMlModelTrainingJobId(MlModelTrainingJobIdT&& value) { m_mlModelTrainingJobIdHasBeenSet = true; m_mlModelTrainingJobId = std::forward<MlModelTrainingJobIdT>(value); }
58 template<typename MlModelTrainingJobIdT = Aws::String>
59 CreateMLEndpointRequest& WithMlModelTrainingJobId(MlModelTrainingJobIdT&& value) { SetMlModelTrainingJobId(std::forward<MlModelTrainingJobIdT>(value)); return *this;}
61
63
67 inline const Aws::String& GetMlModelTransformJobId() const { return m_mlModelTransformJobId; }
68 inline bool MlModelTransformJobIdHasBeenSet() const { return m_mlModelTransformJobIdHasBeenSet; }
69 template<typename MlModelTransformJobIdT = Aws::String>
70 void SetMlModelTransformJobId(MlModelTransformJobIdT&& value) { m_mlModelTransformJobIdHasBeenSet = true; m_mlModelTransformJobId = std::forward<MlModelTransformJobIdT>(value); }
71 template<typename MlModelTransformJobIdT = Aws::String>
72 CreateMLEndpointRequest& WithMlModelTransformJobId(MlModelTransformJobIdT&& value) { SetMlModelTransformJobId(std::forward<MlModelTransformJobIdT>(value)); return *this;}
74
76
81 inline bool GetUpdate() const { return m_update; }
82 inline bool UpdateHasBeenSet() const { return m_updateHasBeenSet; }
83 inline void SetUpdate(bool value) { m_updateHasBeenSet = true; m_update = value; }
84 inline CreateMLEndpointRequest& WithUpdate(bool value) { SetUpdate(value); return *this;}
86
88
93 inline const Aws::String& GetNeptuneIamRoleArn() const { return m_neptuneIamRoleArn; }
94 inline bool NeptuneIamRoleArnHasBeenSet() const { return m_neptuneIamRoleArnHasBeenSet; }
95 template<typename NeptuneIamRoleArnT = Aws::String>
96 void SetNeptuneIamRoleArn(NeptuneIamRoleArnT&& value) { m_neptuneIamRoleArnHasBeenSet = true; m_neptuneIamRoleArn = std::forward<NeptuneIamRoleArnT>(value); }
97 template<typename NeptuneIamRoleArnT = Aws::String>
98 CreateMLEndpointRequest& WithNeptuneIamRoleArn(NeptuneIamRoleArnT&& value) { SetNeptuneIamRoleArn(std::forward<NeptuneIamRoleArnT>(value)); return *this;}
100
102
111 inline const Aws::String& GetModelName() const { return m_modelName; }
112 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
113 template<typename ModelNameT = Aws::String>
114 void SetModelName(ModelNameT&& value) { m_modelNameHasBeenSet = true; m_modelName = std::forward<ModelNameT>(value); }
115 template<typename ModelNameT = Aws::String>
116 CreateMLEndpointRequest& WithModelName(ModelNameT&& value) { SetModelName(std::forward<ModelNameT>(value)); return *this;}
118
120
125 inline const Aws::String& GetInstanceType() const { return m_instanceType; }
126 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
127 template<typename InstanceTypeT = Aws::String>
128 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::forward<InstanceTypeT>(value); }
129 template<typename InstanceTypeT = Aws::String>
130 CreateMLEndpointRequest& WithInstanceType(InstanceTypeT&& value) { SetInstanceType(std::forward<InstanceTypeT>(value)); return *this;}
132
134
138 inline int GetInstanceCount() const { return m_instanceCount; }
139 inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
140 inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; }
141 inline CreateMLEndpointRequest& WithInstanceCount(int value) { SetInstanceCount(value); return *this;}
143
145
150 inline const Aws::String& GetVolumeEncryptionKMSKey() const { return m_volumeEncryptionKMSKey; }
151 inline bool VolumeEncryptionKMSKeyHasBeenSet() const { return m_volumeEncryptionKMSKeyHasBeenSet; }
152 template<typename VolumeEncryptionKMSKeyT = Aws::String>
153 void SetVolumeEncryptionKMSKey(VolumeEncryptionKMSKeyT&& value) { m_volumeEncryptionKMSKeyHasBeenSet = true; m_volumeEncryptionKMSKey = std::forward<VolumeEncryptionKMSKeyT>(value); }
154 template<typename VolumeEncryptionKMSKeyT = Aws::String>
155 CreateMLEndpointRequest& WithVolumeEncryptionKMSKey(VolumeEncryptionKMSKeyT&& value) { SetVolumeEncryptionKMSKey(std::forward<VolumeEncryptionKMSKeyT>(value)); return *this;}
157 private:
158
159 Aws::String m_id;
160 bool m_idHasBeenSet = false;
161
162 Aws::String m_mlModelTrainingJobId;
163 bool m_mlModelTrainingJobIdHasBeenSet = false;
164
165 Aws::String m_mlModelTransformJobId;
166 bool m_mlModelTransformJobIdHasBeenSet = false;
167
168 bool m_update{false};
169 bool m_updateHasBeenSet = false;
170
171 Aws::String m_neptuneIamRoleArn;
172 bool m_neptuneIamRoleArnHasBeenSet = false;
173
174 Aws::String m_modelName;
175 bool m_modelNameHasBeenSet = false;
176
177 Aws::String m_instanceType;
178 bool m_instanceTypeHasBeenSet = false;
179
180 int m_instanceCount{0};
181 bool m_instanceCountHasBeenSet = false;
182
183 Aws::String m_volumeEncryptionKMSKey;
184 bool m_volumeEncryptionKMSKeyHasBeenSet = false;
185 };
186
187} // namespace Model
188} // namespace neptunedata
189} // namespace Aws
AWS_NEPTUNEDATA_API CreateMLEndpointRequest()=default
CreateMLEndpointRequest & WithNeptuneIamRoleArn(NeptuneIamRoleArnT &&value)
CreateMLEndpointRequest & WithInstanceType(InstanceTypeT &&value)
CreateMLEndpointRequest & WithUpdate(bool 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