AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecommendationJobInputConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/TrafficPattern.h>
10#include <aws/sagemaker/model/RecommendationJobResourceLimit.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/RecommendationJobContainerConfig.h>
13#include <aws/sagemaker/model/RecommendationJobVpcConfig.h>
14#include <aws/sagemaker/model/EndpointInputConfiguration.h>
15#include <aws/sagemaker/model/EndpointInfo.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace SageMaker
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_SAGEMAKER_API RecommendationJobInputConfig();
45 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetModelPackageVersionArn() const{ return m_modelPackageVersionArn; }
53 inline bool ModelPackageVersionArnHasBeenSet() const { return m_modelPackageVersionArnHasBeenSet; }
54 inline void SetModelPackageVersionArn(const Aws::String& value) { m_modelPackageVersionArnHasBeenSet = true; m_modelPackageVersionArn = value; }
55 inline void SetModelPackageVersionArn(Aws::String&& value) { m_modelPackageVersionArnHasBeenSet = true; m_modelPackageVersionArn = std::move(value); }
56 inline void SetModelPackageVersionArn(const char* value) { m_modelPackageVersionArnHasBeenSet = true; m_modelPackageVersionArn.assign(value); }
59 inline RecommendationJobInputConfig& WithModelPackageVersionArn(const char* value) { SetModelPackageVersionArn(value); return *this;}
61
63
66 inline const Aws::String& GetModelName() const{ return m_modelName; }
67 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
68 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
69 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
70 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
71 inline RecommendationJobInputConfig& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
72 inline RecommendationJobInputConfig& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
73 inline RecommendationJobInputConfig& WithModelName(const char* value) { SetModelName(value); return *this;}
75
77
81 inline int GetJobDurationInSeconds() const{ return m_jobDurationInSeconds; }
82 inline bool JobDurationInSecondsHasBeenSet() const { return m_jobDurationInSecondsHasBeenSet; }
83 inline void SetJobDurationInSeconds(int value) { m_jobDurationInSecondsHasBeenSet = true; m_jobDurationInSeconds = value; }
86
88
91 inline const TrafficPattern& GetTrafficPattern() const{ return m_trafficPattern; }
92 inline bool TrafficPatternHasBeenSet() const { return m_trafficPatternHasBeenSet; }
93 inline void SetTrafficPattern(const TrafficPattern& value) { m_trafficPatternHasBeenSet = true; m_trafficPattern = value; }
94 inline void SetTrafficPattern(TrafficPattern&& value) { m_trafficPatternHasBeenSet = true; m_trafficPattern = std::move(value); }
96 inline RecommendationJobInputConfig& WithTrafficPattern(TrafficPattern&& value) { SetTrafficPattern(std::move(value)); return *this;}
98
100
103 inline const RecommendationJobResourceLimit& GetResourceLimit() const{ return m_resourceLimit; }
104 inline bool ResourceLimitHasBeenSet() const { return m_resourceLimitHasBeenSet; }
105 inline void SetResourceLimit(const RecommendationJobResourceLimit& value) { m_resourceLimitHasBeenSet = true; m_resourceLimit = value; }
106 inline void SetResourceLimit(RecommendationJobResourceLimit&& value) { m_resourceLimitHasBeenSet = true; m_resourceLimit = std::move(value); }
110
112
115 inline const Aws::Vector<EndpointInputConfiguration>& GetEndpointConfigurations() const{ return m_endpointConfigurations; }
116 inline bool EndpointConfigurationsHasBeenSet() const { return m_endpointConfigurationsHasBeenSet; }
117 inline void SetEndpointConfigurations(const Aws::Vector<EndpointInputConfiguration>& value) { m_endpointConfigurationsHasBeenSet = true; m_endpointConfigurations = value; }
118 inline void SetEndpointConfigurations(Aws::Vector<EndpointInputConfiguration>&& value) { m_endpointConfigurationsHasBeenSet = true; m_endpointConfigurations = std::move(value); }
121 inline RecommendationJobInputConfig& AddEndpointConfigurations(const EndpointInputConfiguration& value) { m_endpointConfigurationsHasBeenSet = true; m_endpointConfigurations.push_back(value); return *this; }
122 inline RecommendationJobInputConfig& AddEndpointConfigurations(EndpointInputConfiguration&& value) { m_endpointConfigurationsHasBeenSet = true; m_endpointConfigurations.push_back(std::move(value)); return *this; }
124
126
148 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
149 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
150 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
151 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
152 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
154 inline RecommendationJobInputConfig& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
155 inline RecommendationJobInputConfig& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
157
159
164 inline const RecommendationJobContainerConfig& GetContainerConfig() const{ return m_containerConfig; }
165 inline bool ContainerConfigHasBeenSet() const { return m_containerConfigHasBeenSet; }
166 inline void SetContainerConfig(const RecommendationJobContainerConfig& value) { m_containerConfigHasBeenSet = true; m_containerConfig = value; }
167 inline void SetContainerConfig(RecommendationJobContainerConfig&& value) { m_containerConfigHasBeenSet = true; m_containerConfig = std::move(value); }
171
173
176 inline const Aws::Vector<EndpointInfo>& GetEndpoints() const{ return m_endpoints; }
177 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
178 inline void SetEndpoints(const Aws::Vector<EndpointInfo>& value) { m_endpointsHasBeenSet = true; m_endpoints = value; }
179 inline void SetEndpoints(Aws::Vector<EndpointInfo>&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); }
181 inline RecommendationJobInputConfig& WithEndpoints(Aws::Vector<EndpointInfo>&& value) { SetEndpoints(std::move(value)); return *this;}
182 inline RecommendationJobInputConfig& AddEndpoints(const EndpointInfo& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; }
183 inline RecommendationJobInputConfig& AddEndpoints(EndpointInfo&& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(std::move(value)); return *this; }
185
187
191 inline const RecommendationJobVpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
192 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
193 inline void SetVpcConfig(const RecommendationJobVpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
194 inline void SetVpcConfig(RecommendationJobVpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
196 inline RecommendationJobInputConfig& WithVpcConfig(RecommendationJobVpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
198 private:
199
200 Aws::String m_modelPackageVersionArn;
201 bool m_modelPackageVersionArnHasBeenSet = false;
202
203 Aws::String m_modelName;
204 bool m_modelNameHasBeenSet = false;
205
206 int m_jobDurationInSeconds;
207 bool m_jobDurationInSecondsHasBeenSet = false;
208
209 TrafficPattern m_trafficPattern;
210 bool m_trafficPatternHasBeenSet = false;
211
212 RecommendationJobResourceLimit m_resourceLimit;
213 bool m_resourceLimitHasBeenSet = false;
214
215 Aws::Vector<EndpointInputConfiguration> m_endpointConfigurations;
216 bool m_endpointConfigurationsHasBeenSet = false;
217
218 Aws::String m_volumeKmsKeyId;
219 bool m_volumeKmsKeyIdHasBeenSet = false;
220
221 RecommendationJobContainerConfig m_containerConfig;
222 bool m_containerConfigHasBeenSet = false;
223
224 Aws::Vector<EndpointInfo> m_endpoints;
225 bool m_endpointsHasBeenSet = false;
226
227 RecommendationJobVpcConfig m_vpcConfig;
228 bool m_vpcConfigHasBeenSet = false;
229 };
230
231} // namespace Model
232} // namespace SageMaker
233} // namespace Aws
RecommendationJobInputConfig & AddEndpointConfigurations(EndpointInputConfiguration &&value)
RecommendationJobInputConfig & WithTrafficPattern(TrafficPattern &&value)
RecommendationJobInputConfig & WithModelPackageVersionArn(const Aws::String &value)
void SetEndpointConfigurations(const Aws::Vector< EndpointInputConfiguration > &value)
const Aws::Vector< EndpointInfo > & GetEndpoints() const
RecommendationJobInputConfig & WithContainerConfig(const RecommendationJobContainerConfig &value)
RecommendationJobInputConfig & WithEndpointConfigurations(const Aws::Vector< EndpointInputConfiguration > &value)
RecommendationJobInputConfig & WithVpcConfig(RecommendationJobVpcConfig &&value)
RecommendationJobInputConfig & WithJobDurationInSeconds(int value)
RecommendationJobInputConfig & WithModelPackageVersionArn(Aws::String &&value)
RecommendationJobInputConfig & WithEndpoints(Aws::Vector< EndpointInfo > &&value)
RecommendationJobInputConfig & WithVpcConfig(const RecommendationJobVpcConfig &value)
void SetEndpoints(const Aws::Vector< EndpointInfo > &value)
void SetResourceLimit(const RecommendationJobResourceLimit &value)
RecommendationJobInputConfig & WithVolumeKmsKeyId(const char *value)
RecommendationJobInputConfig & WithModelName(const Aws::String &value)
void SetResourceLimit(RecommendationJobResourceLimit &&value)
RecommendationJobInputConfig & WithVolumeKmsKeyId(Aws::String &&value)
RecommendationJobInputConfig & AddEndpoints(EndpointInfo &&value)
AWS_SAGEMAKER_API RecommendationJobInputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationJobInputConfig & WithModelPackageVersionArn(const char *value)
RecommendationJobInputConfig & WithContainerConfig(RecommendationJobContainerConfig &&value)
const RecommendationJobVpcConfig & GetVpcConfig() const
RecommendationJobInputConfig & WithEndpoints(const Aws::Vector< EndpointInfo > &value)
void SetVpcConfig(const RecommendationJobVpcConfig &value)
const Aws::Vector< EndpointInputConfiguration > & GetEndpointConfigurations() const
const RecommendationJobContainerConfig & GetContainerConfig() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationJobInputConfig & WithEndpointConfigurations(Aws::Vector< EndpointInputConfiguration > &&value)
RecommendationJobInputConfig & WithTrafficPattern(const TrafficPattern &value)
const RecommendationJobResourceLimit & GetResourceLimit() const
void SetContainerConfig(RecommendationJobContainerConfig &&value)
RecommendationJobInputConfig & WithModelName(Aws::String &&value)
void SetEndpointConfigurations(Aws::Vector< EndpointInputConfiguration > &&value)
RecommendationJobInputConfig & WithResourceLimit(const RecommendationJobResourceLimit &value)
AWS_SAGEMAKER_API RecommendationJobInputConfig(Aws::Utils::Json::JsonView jsonValue)
RecommendationJobInputConfig & AddEndpoints(const EndpointInfo &value)
RecommendationJobInputConfig & WithResourceLimit(RecommendationJobResourceLimit &&value)
RecommendationJobInputConfig & AddEndpointConfigurations(const EndpointInputConfiguration &value)
RecommendationJobInputConfig & WithVolumeKmsKeyId(const Aws::String &value)
RecommendationJobInputConfig & WithModelName(const char *value)
void SetContainerConfig(const RecommendationJobContainerConfig &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue