AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportModelVersionRequest.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/lookoutequipment/LookoutEquipmentRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lookoutequipment/model/LabelsInputConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lookoutequipment/model/InferenceDataImportStrategy.h>
13#include <aws/lookoutequipment/model/Tag.h>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace LookoutEquipment
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_LOOKOUTEQUIPMENT_API ImportModelVersionRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ImportModelVersion"; }
36
37 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
38
39 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
46 inline const Aws::String& GetSourceModelVersionArn() const{ return m_sourceModelVersionArn; }
47 inline bool SourceModelVersionArnHasBeenSet() const { return m_sourceModelVersionArnHasBeenSet; }
48 inline void SetSourceModelVersionArn(const Aws::String& value) { m_sourceModelVersionArnHasBeenSet = true; m_sourceModelVersionArn = value; }
49 inline void SetSourceModelVersionArn(Aws::String&& value) { m_sourceModelVersionArnHasBeenSet = true; m_sourceModelVersionArn = std::move(value); }
50 inline void SetSourceModelVersionArn(const char* value) { m_sourceModelVersionArnHasBeenSet = true; m_sourceModelVersionArn.assign(value); }
53 inline ImportModelVersionRequest& WithSourceModelVersionArn(const char* value) { SetSourceModelVersionArn(value); return *this;}
55
57
62 inline const Aws::String& GetModelName() const{ return m_modelName; }
63 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
64 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
65 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
66 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
67 inline ImportModelVersionRequest& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
68 inline ImportModelVersionRequest& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
69 inline ImportModelVersionRequest& WithModelName(const char* value) { SetModelName(value); return *this;}
71
73
76 inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
77 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
78 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
79 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
80 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
81 inline ImportModelVersionRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
82 inline ImportModelVersionRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
83 inline ImportModelVersionRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
85
87
88 inline const LabelsInputConfiguration& GetLabelsInputConfiguration() const{ return m_labelsInputConfiguration; }
89 inline bool LabelsInputConfigurationHasBeenSet() const { return m_labelsInputConfigurationHasBeenSet; }
90 inline void SetLabelsInputConfiguration(const LabelsInputConfiguration& value) { m_labelsInputConfigurationHasBeenSet = true; m_labelsInputConfiguration = value; }
91 inline void SetLabelsInputConfiguration(LabelsInputConfiguration&& value) { m_labelsInputConfigurationHasBeenSet = true; m_labelsInputConfiguration = std::move(value); }
95
97
101 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
102 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
103 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
104 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
105 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
106 inline ImportModelVersionRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
107 inline ImportModelVersionRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
108 inline ImportModelVersionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
110
112
116 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
117 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
118 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
119 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
120 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
121 inline ImportModelVersionRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
122 inline ImportModelVersionRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
123 inline ImportModelVersionRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
125
127
131 inline const Aws::String& GetServerSideKmsKeyId() const{ return m_serverSideKmsKeyId; }
132 inline bool ServerSideKmsKeyIdHasBeenSet() const { return m_serverSideKmsKeyIdHasBeenSet; }
133 inline void SetServerSideKmsKeyId(const Aws::String& value) { m_serverSideKmsKeyIdHasBeenSet = true; m_serverSideKmsKeyId = value; }
134 inline void SetServerSideKmsKeyId(Aws::String&& value) { m_serverSideKmsKeyIdHasBeenSet = true; m_serverSideKmsKeyId = std::move(value); }
135 inline void SetServerSideKmsKeyId(const char* value) { m_serverSideKmsKeyIdHasBeenSet = true; m_serverSideKmsKeyId.assign(value); }
137 inline ImportModelVersionRequest& WithServerSideKmsKeyId(Aws::String&& value) { SetServerSideKmsKeyId(std::move(value)); return *this;}
138 inline ImportModelVersionRequest& WithServerSideKmsKeyId(const char* value) { SetServerSideKmsKeyId(value); return *this;}
140
142
145 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
146 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
147 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
148 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
149 inline ImportModelVersionRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
150 inline ImportModelVersionRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
151 inline ImportModelVersionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
152 inline ImportModelVersionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
154
156
164 inline const InferenceDataImportStrategy& GetInferenceDataImportStrategy() const{ return m_inferenceDataImportStrategy; }
165 inline bool InferenceDataImportStrategyHasBeenSet() const { return m_inferenceDataImportStrategyHasBeenSet; }
166 inline void SetInferenceDataImportStrategy(const InferenceDataImportStrategy& value) { m_inferenceDataImportStrategyHasBeenSet = true; m_inferenceDataImportStrategy = value; }
167 inline void SetInferenceDataImportStrategy(InferenceDataImportStrategy&& value) { m_inferenceDataImportStrategyHasBeenSet = true; m_inferenceDataImportStrategy = std::move(value); }
171 private:
172
173 Aws::String m_sourceModelVersionArn;
174 bool m_sourceModelVersionArnHasBeenSet = false;
175
176 Aws::String m_modelName;
177 bool m_modelNameHasBeenSet = false;
178
179 Aws::String m_datasetName;
180 bool m_datasetNameHasBeenSet = false;
181
182 LabelsInputConfiguration m_labelsInputConfiguration;
183 bool m_labelsInputConfigurationHasBeenSet = false;
184
185 Aws::String m_clientToken;
186 bool m_clientTokenHasBeenSet = false;
187
188 Aws::String m_roleArn;
189 bool m_roleArnHasBeenSet = false;
190
191 Aws::String m_serverSideKmsKeyId;
192 bool m_serverSideKmsKeyIdHasBeenSet = false;
193
194 Aws::Vector<Tag> m_tags;
195 bool m_tagsHasBeenSet = false;
196
197 InferenceDataImportStrategy m_inferenceDataImportStrategy;
198 bool m_inferenceDataImportStrategyHasBeenSet = false;
199 };
200
201} // namespace Model
202} // namespace LookoutEquipment
203} // namespace Aws
ImportModelVersionRequest & WithRoleArn(Aws::String &&value)
const InferenceDataImportStrategy & GetInferenceDataImportStrategy() const
ImportModelVersionRequest & WithServerSideKmsKeyId(Aws::String &&value)
ImportModelVersionRequest & WithRoleArn(const Aws::String &value)
ImportModelVersionRequest & WithSourceModelVersionArn(const char *value)
ImportModelVersionRequest & WithInferenceDataImportStrategy(const InferenceDataImportStrategy &value)
ImportModelVersionRequest & WithSourceModelVersionArn(Aws::String &&value)
const LabelsInputConfiguration & GetLabelsInputConfiguration() const
ImportModelVersionRequest & WithRoleArn(const char *value)
void SetLabelsInputConfiguration(LabelsInputConfiguration &&value)
ImportModelVersionRequest & AddTags(const Tag &value)
ImportModelVersionRequest & WithDatasetName(const Aws::String &value)
ImportModelVersionRequest & WithDatasetName(const char *value)
ImportModelVersionRequest & WithTags(Aws::Vector< Tag > &&value)
ImportModelVersionRequest & WithInferenceDataImportStrategy(InferenceDataImportStrategy &&value)
void SetInferenceDataImportStrategy(InferenceDataImportStrategy &&value)
ImportModelVersionRequest & WithLabelsInputConfiguration(const LabelsInputConfiguration &value)
ImportModelVersionRequest & WithClientToken(Aws::String &&value)
ImportModelVersionRequest & WithLabelsInputConfiguration(LabelsInputConfiguration &&value)
ImportModelVersionRequest & WithServerSideKmsKeyId(const Aws::String &value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ImportModelVersionRequest & WithModelName(const char *value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
ImportModelVersionRequest & WithTags(const Aws::Vector< Tag > &value)
void SetLabelsInputConfiguration(const LabelsInputConfiguration &value)
ImportModelVersionRequest & WithModelName(const Aws::String &value)
ImportModelVersionRequest & WithClientToken(const Aws::String &value)
ImportModelVersionRequest & WithSourceModelVersionArn(const Aws::String &value)
ImportModelVersionRequest & WithModelName(Aws::String &&value)
ImportModelVersionRequest & WithServerSideKmsKeyId(const char *value)
ImportModelVersionRequest & WithDatasetName(Aws::String &&value)
ImportModelVersionRequest & WithClientToken(const char *value)
void SetInferenceDataImportStrategy(const InferenceDataImportStrategy &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector