AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateInferenceSchedulerRequest.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/DataUploadFrequency.h>
11#include <aws/lookoutequipment/model/InferenceInputConfiguration.h>
12#include <aws/lookoutequipment/model/InferenceOutputConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/lookoutequipment/model/Tag.h>
15#include <utility>
16#include <aws/core/utils/UUID.h>
17
18namespace Aws
19{
20namespace LookoutEquipment
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_LOOKOUTEQUIPMENT_API CreateInferenceSchedulerRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateInferenceScheduler"; }
37
38 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
39
40 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
41
42
44
48 inline const Aws::String& GetModelName() const{ return m_modelName; }
49 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
50 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
51 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
52 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
53 inline CreateInferenceSchedulerRequest& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
54 inline CreateInferenceSchedulerRequest& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
55 inline CreateInferenceSchedulerRequest& WithModelName(const char* value) { SetModelName(value); return *this;}
57
59
62 inline const Aws::String& GetInferenceSchedulerName() const{ return m_inferenceSchedulerName; }
63 inline bool InferenceSchedulerNameHasBeenSet() const { return m_inferenceSchedulerNameHasBeenSet; }
64 inline void SetInferenceSchedulerName(const Aws::String& value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName = value; }
65 inline void SetInferenceSchedulerName(Aws::String&& value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName = std::move(value); }
66 inline void SetInferenceSchedulerName(const char* value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName.assign(value); }
71
73
85 inline long long GetDataDelayOffsetInMinutes() const{ return m_dataDelayOffsetInMinutes; }
86 inline bool DataDelayOffsetInMinutesHasBeenSet() const { return m_dataDelayOffsetInMinutesHasBeenSet; }
87 inline void SetDataDelayOffsetInMinutes(long long value) { m_dataDelayOffsetInMinutesHasBeenSet = true; m_dataDelayOffsetInMinutes = value; }
90
92
102 inline const DataUploadFrequency& GetDataUploadFrequency() const{ return m_dataUploadFrequency; }
103 inline bool DataUploadFrequencyHasBeenSet() const { return m_dataUploadFrequencyHasBeenSet; }
104 inline void SetDataUploadFrequency(const DataUploadFrequency& value) { m_dataUploadFrequencyHasBeenSet = true; m_dataUploadFrequency = value; }
105 inline void SetDataUploadFrequency(DataUploadFrequency&& value) { m_dataUploadFrequencyHasBeenSet = true; m_dataUploadFrequency = std::move(value); }
109
111
115 inline const InferenceInputConfiguration& GetDataInputConfiguration() const{ return m_dataInputConfiguration; }
116 inline bool DataInputConfigurationHasBeenSet() const { return m_dataInputConfigurationHasBeenSet; }
117 inline void SetDataInputConfiguration(const InferenceInputConfiguration& value) { m_dataInputConfigurationHasBeenSet = true; m_dataInputConfiguration = value; }
118 inline void SetDataInputConfiguration(InferenceInputConfiguration&& value) { m_dataInputConfigurationHasBeenSet = true; m_dataInputConfiguration = std::move(value); }
122
124
128 inline const InferenceOutputConfiguration& GetDataOutputConfiguration() const{ return m_dataOutputConfiguration; }
129 inline bool DataOutputConfigurationHasBeenSet() const { return m_dataOutputConfigurationHasBeenSet; }
130 inline void SetDataOutputConfiguration(const InferenceOutputConfiguration& value) { m_dataOutputConfigurationHasBeenSet = true; m_dataOutputConfiguration = value; }
131 inline void SetDataOutputConfiguration(InferenceOutputConfiguration&& value) { m_dataOutputConfigurationHasBeenSet = true; m_dataOutputConfiguration = std::move(value); }
135
137
141 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
142 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
143 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
144 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
145 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
146 inline CreateInferenceSchedulerRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
147 inline CreateInferenceSchedulerRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
148 inline CreateInferenceSchedulerRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
150
152
156 inline const Aws::String& GetServerSideKmsKeyId() const{ return m_serverSideKmsKeyId; }
157 inline bool ServerSideKmsKeyIdHasBeenSet() const { return m_serverSideKmsKeyIdHasBeenSet; }
158 inline void SetServerSideKmsKeyId(const Aws::String& value) { m_serverSideKmsKeyIdHasBeenSet = true; m_serverSideKmsKeyId = value; }
159 inline void SetServerSideKmsKeyId(Aws::String&& value) { m_serverSideKmsKeyIdHasBeenSet = true; m_serverSideKmsKeyId = std::move(value); }
160 inline void SetServerSideKmsKeyId(const char* value) { m_serverSideKmsKeyIdHasBeenSet = true; m_serverSideKmsKeyId.assign(value); }
163 inline CreateInferenceSchedulerRequest& WithServerSideKmsKeyId(const char* value) { SetServerSideKmsKeyId(value); return *this;}
165
167
171 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
172 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
173 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
174 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
175 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
176 inline CreateInferenceSchedulerRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
177 inline CreateInferenceSchedulerRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
178 inline CreateInferenceSchedulerRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
180
182
185 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
186 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
187 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
188 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
189 inline CreateInferenceSchedulerRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
190 inline CreateInferenceSchedulerRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
191 inline CreateInferenceSchedulerRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
192 inline CreateInferenceSchedulerRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
194 private:
195
196 Aws::String m_modelName;
197 bool m_modelNameHasBeenSet = false;
198
199 Aws::String m_inferenceSchedulerName;
200 bool m_inferenceSchedulerNameHasBeenSet = false;
201
202 long long m_dataDelayOffsetInMinutes;
203 bool m_dataDelayOffsetInMinutesHasBeenSet = false;
204
205 DataUploadFrequency m_dataUploadFrequency;
206 bool m_dataUploadFrequencyHasBeenSet = false;
207
208 InferenceInputConfiguration m_dataInputConfiguration;
209 bool m_dataInputConfigurationHasBeenSet = false;
210
211 InferenceOutputConfiguration m_dataOutputConfiguration;
212 bool m_dataOutputConfigurationHasBeenSet = false;
213
214 Aws::String m_roleArn;
215 bool m_roleArnHasBeenSet = false;
216
217 Aws::String m_serverSideKmsKeyId;
218 bool m_serverSideKmsKeyIdHasBeenSet = false;
219
220 Aws::String m_clientToken;
221 bool m_clientTokenHasBeenSet = false;
222
223 Aws::Vector<Tag> m_tags;
224 bool m_tagsHasBeenSet = false;
225 };
226
227} // namespace Model
228} // namespace LookoutEquipment
229} // namespace Aws
CreateInferenceSchedulerRequest & WithInferenceSchedulerName(Aws::String &&value)
CreateInferenceSchedulerRequest & WithRoleArn(Aws::String &&value)
CreateInferenceSchedulerRequest & WithInferenceSchedulerName(const char *value)
CreateInferenceSchedulerRequest & WithTags(Aws::Vector< Tag > &&value)
CreateInferenceSchedulerRequest & WithDataOutputConfiguration(const InferenceOutputConfiguration &value)
CreateInferenceSchedulerRequest & WithServerSideKmsKeyId(const char *value)
CreateInferenceSchedulerRequest & WithServerSideKmsKeyId(Aws::String &&value)
CreateInferenceSchedulerRequest & WithClientToken(Aws::String &&value)
CreateInferenceSchedulerRequest & WithDataOutputConfiguration(InferenceOutputConfiguration &&value)
CreateInferenceSchedulerRequest & WithDataDelayOffsetInMinutes(long long value)
CreateInferenceSchedulerRequest & WithServerSideKmsKeyId(const Aws::String &value)
CreateInferenceSchedulerRequest & WithRoleArn(const char *value)
CreateInferenceSchedulerRequest & WithClientToken(const char *value)
CreateInferenceSchedulerRequest & WithDataInputConfiguration(InferenceInputConfiguration &&value)
CreateInferenceSchedulerRequest & WithDataUploadFrequency(const DataUploadFrequency &value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
CreateInferenceSchedulerRequest & WithTags(const Aws::Vector< Tag > &value)
CreateInferenceSchedulerRequest & WithClientToken(const Aws::String &value)
CreateInferenceSchedulerRequest & WithModelName(Aws::String &&value)
void SetDataOutputConfiguration(const InferenceOutputConfiguration &value)
CreateInferenceSchedulerRequest & WithRoleArn(const Aws::String &value)
CreateInferenceSchedulerRequest & WithModelName(const Aws::String &value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateInferenceSchedulerRequest & WithDataUploadFrequency(DataUploadFrequency &&value)
CreateInferenceSchedulerRequest & WithModelName(const char *value)
CreateInferenceSchedulerRequest & WithDataInputConfiguration(const InferenceInputConfiguration &value)
CreateInferenceSchedulerRequest & WithInferenceSchedulerName(const Aws::String &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