AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
43 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
44 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
45 inline CreateMLEndpointRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
46 inline CreateMLEndpointRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
47 inline CreateMLEndpointRequest& WithId(const char* value) { SetId(value); return *this;}
49
51
56 inline const Aws::String& GetMlModelTrainingJobId() const{ return m_mlModelTrainingJobId; }
57 inline bool MlModelTrainingJobIdHasBeenSet() const { return m_mlModelTrainingJobIdHasBeenSet; }
58 inline void SetMlModelTrainingJobId(const Aws::String& value) { m_mlModelTrainingJobIdHasBeenSet = true; m_mlModelTrainingJobId = value; }
59 inline void SetMlModelTrainingJobId(Aws::String&& value) { m_mlModelTrainingJobIdHasBeenSet = true; m_mlModelTrainingJobId = std::move(value); }
60 inline void SetMlModelTrainingJobId(const char* value) { m_mlModelTrainingJobIdHasBeenSet = true; m_mlModelTrainingJobId.assign(value); }
62 inline CreateMLEndpointRequest& WithMlModelTrainingJobId(Aws::String&& value) { SetMlModelTrainingJobId(std::move(value)); return *this;}
63 inline CreateMLEndpointRequest& WithMlModelTrainingJobId(const char* value) { SetMlModelTrainingJobId(value); return *this;}
65
67
71 inline const Aws::String& GetMlModelTransformJobId() const{ return m_mlModelTransformJobId; }
72 inline bool MlModelTransformJobIdHasBeenSet() const { return m_mlModelTransformJobIdHasBeenSet; }
73 inline void SetMlModelTransformJobId(const Aws::String& value) { m_mlModelTransformJobIdHasBeenSet = true; m_mlModelTransformJobId = value; }
74 inline void SetMlModelTransformJobId(Aws::String&& value) { m_mlModelTransformJobIdHasBeenSet = true; m_mlModelTransformJobId = std::move(value); }
75 inline void SetMlModelTransformJobId(const char* value) { m_mlModelTransformJobIdHasBeenSet = true; m_mlModelTransformJobId.assign(value); }
78 inline CreateMLEndpointRequest& WithMlModelTransformJobId(const char* value) { SetMlModelTransformJobId(value); return *this;}
80
82
87 inline bool GetUpdate() const{ return m_update; }
88 inline bool UpdateHasBeenSet() const { return m_updateHasBeenSet; }
89 inline void SetUpdate(bool value) { m_updateHasBeenSet = true; m_update = value; }
90 inline CreateMLEndpointRequest& WithUpdate(bool value) { SetUpdate(value); return *this;}
92
94
99 inline const Aws::String& GetNeptuneIamRoleArn() const{ return m_neptuneIamRoleArn; }
100 inline bool NeptuneIamRoleArnHasBeenSet() const { return m_neptuneIamRoleArnHasBeenSet; }
101 inline void SetNeptuneIamRoleArn(const Aws::String& value) { m_neptuneIamRoleArnHasBeenSet = true; m_neptuneIamRoleArn = value; }
102 inline void SetNeptuneIamRoleArn(Aws::String&& value) { m_neptuneIamRoleArnHasBeenSet = true; m_neptuneIamRoleArn = std::move(value); }
103 inline void SetNeptuneIamRoleArn(const char* value) { m_neptuneIamRoleArnHasBeenSet = true; m_neptuneIamRoleArn.assign(value); }
105 inline CreateMLEndpointRequest& WithNeptuneIamRoleArn(Aws::String&& value) { SetNeptuneIamRoleArn(std::move(value)); return *this;}
106 inline CreateMLEndpointRequest& WithNeptuneIamRoleArn(const char* value) { SetNeptuneIamRoleArn(value); return *this;}
108
110
119 inline const Aws::String& GetModelName() const{ return m_modelName; }
120 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
121 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
122 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
123 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
124 inline CreateMLEndpointRequest& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
125 inline CreateMLEndpointRequest& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
126 inline CreateMLEndpointRequest& WithModelName(const char* value) { SetModelName(value); return *this;}
128
130
135 inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
136 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
137 inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
138 inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
139 inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
140 inline CreateMLEndpointRequest& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
141 inline CreateMLEndpointRequest& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
142 inline CreateMLEndpointRequest& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
144
146
150 inline int GetInstanceCount() const{ return m_instanceCount; }
151 inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
152 inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; }
153 inline CreateMLEndpointRequest& WithInstanceCount(int value) { SetInstanceCount(value); return *this;}
155
157
162 inline const Aws::String& GetVolumeEncryptionKMSKey() const{ return m_volumeEncryptionKMSKey; }
163 inline bool VolumeEncryptionKMSKeyHasBeenSet() const { return m_volumeEncryptionKMSKeyHasBeenSet; }
164 inline void SetVolumeEncryptionKMSKey(const Aws::String& value) { m_volumeEncryptionKMSKeyHasBeenSet = true; m_volumeEncryptionKMSKey = value; }
165 inline void SetVolumeEncryptionKMSKey(Aws::String&& value) { m_volumeEncryptionKMSKeyHasBeenSet = true; m_volumeEncryptionKMSKey = std::move(value); }
166 inline void SetVolumeEncryptionKMSKey(const char* value) { m_volumeEncryptionKMSKeyHasBeenSet = true; m_volumeEncryptionKMSKey.assign(value); }
169 inline CreateMLEndpointRequest& WithVolumeEncryptionKMSKey(const char* value) { SetVolumeEncryptionKMSKey(value); return *this;}
171 private:
172
173 Aws::String m_id;
174 bool m_idHasBeenSet = false;
175
176 Aws::String m_mlModelTrainingJobId;
177 bool m_mlModelTrainingJobIdHasBeenSet = false;
178
179 Aws::String m_mlModelTransformJobId;
180 bool m_mlModelTransformJobIdHasBeenSet = false;
181
182 bool m_update;
183 bool m_updateHasBeenSet = false;
184
185 Aws::String m_neptuneIamRoleArn;
186 bool m_neptuneIamRoleArnHasBeenSet = false;
187
188 Aws::String m_modelName;
189 bool m_modelNameHasBeenSet = false;
190
191 Aws::String m_instanceType;
192 bool m_instanceTypeHasBeenSet = false;
193
194 int m_instanceCount;
195 bool m_instanceCountHasBeenSet = false;
196
197 Aws::String m_volumeEncryptionKMSKey;
198 bool m_volumeEncryptionKMSKeyHasBeenSet = false;
199 };
200
201} // namespace Model
202} // namespace neptunedata
203} // namespace Aws
CreateMLEndpointRequest & WithModelName(Aws::String &&value)
CreateMLEndpointRequest & WithMlModelTransformJobId(Aws::String &&value)
CreateMLEndpointRequest & WithMlModelTrainingJobId(const char *value)
CreateMLEndpointRequest & WithMlModelTrainingJobId(Aws::String &&value)
CreateMLEndpointRequest & WithModelName(const char *value)
CreateMLEndpointRequest & WithUpdate(bool value)
CreateMLEndpointRequest & WithMlModelTrainingJobId(const Aws::String &value)
CreateMLEndpointRequest & WithId(Aws::String &&value)
CreateMLEndpointRequest & WithNeptuneIamRoleArn(Aws::String &&value)
CreateMLEndpointRequest & WithInstanceType(Aws::String &&value)
CreateMLEndpointRequest & WithVolumeEncryptionKMSKey(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override
CreateMLEndpointRequest & WithMlModelTransformJobId(const Aws::String &value)
CreateMLEndpointRequest & WithNeptuneIamRoleArn(const Aws::String &value)
CreateMLEndpointRequest & WithVolumeEncryptionKMSKey(const char *value)
CreateMLEndpointRequest & WithId(const char *value)
CreateMLEndpointRequest & WithInstanceType(const char *value)
CreateMLEndpointRequest & WithNeptuneIamRoleArn(const char *value)
CreateMLEndpointRequest & WithId(const Aws::String &value)
CreateMLEndpointRequest & WithVolumeEncryptionKMSKey(const Aws::String &value)
CreateMLEndpointRequest & WithModelName(const Aws::String &value)
CreateMLEndpointRequest & WithInstanceType(const Aws::String &value)
CreateMLEndpointRequest & WithMlModelTransformJobId(const char *value)
CreateMLEndpointRequest & WithInstanceCount(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String