AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecommendationJobContainerConfig.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/RecommendationJobPayloadConfig.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/RecommendationJobSupportedEndpointType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
41 {
42 public:
46 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
55 inline const Aws::String& GetDomain() const{ return m_domain; }
56 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
57 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
58 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
59 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
60 inline RecommendationJobContainerConfig& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
61 inline RecommendationJobContainerConfig& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
62 inline RecommendationJobContainerConfig& WithDomain(const char* value) { SetDomain(value); return *this;}
64
66
71 inline const Aws::String& GetTask() const{ return m_task; }
72 inline bool TaskHasBeenSet() const { return m_taskHasBeenSet; }
73 inline void SetTask(const Aws::String& value) { m_taskHasBeenSet = true; m_task = value; }
74 inline void SetTask(Aws::String&& value) { m_taskHasBeenSet = true; m_task = std::move(value); }
75 inline void SetTask(const char* value) { m_taskHasBeenSet = true; m_task.assign(value); }
76 inline RecommendationJobContainerConfig& WithTask(const Aws::String& value) { SetTask(value); return *this;}
77 inline RecommendationJobContainerConfig& WithTask(Aws::String&& value) { SetTask(std::move(value)); return *this;}
78 inline RecommendationJobContainerConfig& WithTask(const char* value) { SetTask(value); return *this;}
80
82
86 inline const Aws::String& GetFramework() const{ return m_framework; }
87 inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; }
88 inline void SetFramework(const Aws::String& value) { m_frameworkHasBeenSet = true; m_framework = value; }
89 inline void SetFramework(Aws::String&& value) { m_frameworkHasBeenSet = true; m_framework = std::move(value); }
90 inline void SetFramework(const char* value) { m_frameworkHasBeenSet = true; m_framework.assign(value); }
91 inline RecommendationJobContainerConfig& WithFramework(const Aws::String& value) { SetFramework(value); return *this;}
92 inline RecommendationJobContainerConfig& WithFramework(Aws::String&& value) { SetFramework(std::move(value)); return *this;}
93 inline RecommendationJobContainerConfig& WithFramework(const char* value) { SetFramework(value); return *this;}
95
97
100 inline const Aws::String& GetFrameworkVersion() const{ return m_frameworkVersion; }
101 inline bool FrameworkVersionHasBeenSet() const { return m_frameworkVersionHasBeenSet; }
102 inline void SetFrameworkVersion(const Aws::String& value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion = value; }
103 inline void SetFrameworkVersion(Aws::String&& value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion = std::move(value); }
104 inline void SetFrameworkVersion(const char* value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion.assign(value); }
107 inline RecommendationJobContainerConfig& WithFrameworkVersion(const char* value) { SetFrameworkVersion(value); return *this;}
109
111
115 inline const RecommendationJobPayloadConfig& GetPayloadConfig() const{ return m_payloadConfig; }
116 inline bool PayloadConfigHasBeenSet() const { return m_payloadConfigHasBeenSet; }
117 inline void SetPayloadConfig(const RecommendationJobPayloadConfig& value) { m_payloadConfigHasBeenSet = true; m_payloadConfig = value; }
118 inline void SetPayloadConfig(RecommendationJobPayloadConfig&& value) { m_payloadConfigHasBeenSet = true; m_payloadConfig = std::move(value); }
122
124
132 inline const Aws::String& GetNearestModelName() const{ return m_nearestModelName; }
133 inline bool NearestModelNameHasBeenSet() const { return m_nearestModelNameHasBeenSet; }
134 inline void SetNearestModelName(const Aws::String& value) { m_nearestModelNameHasBeenSet = true; m_nearestModelName = value; }
135 inline void SetNearestModelName(Aws::String&& value) { m_nearestModelNameHasBeenSet = true; m_nearestModelName = std::move(value); }
136 inline void SetNearestModelName(const char* value) { m_nearestModelNameHasBeenSet = true; m_nearestModelName.assign(value); }
139 inline RecommendationJobContainerConfig& WithNearestModelName(const char* value) { SetNearestModelName(value); return *this;}
141
143
147 inline const Aws::Vector<Aws::String>& GetSupportedInstanceTypes() const{ return m_supportedInstanceTypes; }
148 inline bool SupportedInstanceTypesHasBeenSet() const { return m_supportedInstanceTypesHasBeenSet; }
149 inline void SetSupportedInstanceTypes(const Aws::Vector<Aws::String>& value) { m_supportedInstanceTypesHasBeenSet = true; m_supportedInstanceTypes = value; }
150 inline void SetSupportedInstanceTypes(Aws::Vector<Aws::String>&& value) { m_supportedInstanceTypesHasBeenSet = true; m_supportedInstanceTypes = std::move(value); }
153 inline RecommendationJobContainerConfig& AddSupportedInstanceTypes(const Aws::String& value) { m_supportedInstanceTypesHasBeenSet = true; m_supportedInstanceTypes.push_back(value); return *this; }
154 inline RecommendationJobContainerConfig& AddSupportedInstanceTypes(Aws::String&& value) { m_supportedInstanceTypesHasBeenSet = true; m_supportedInstanceTypes.push_back(std::move(value)); return *this; }
155 inline RecommendationJobContainerConfig& AddSupportedInstanceTypes(const char* value) { m_supportedInstanceTypesHasBeenSet = true; m_supportedInstanceTypes.push_back(value); return *this; }
157
159
165 inline const RecommendationJobSupportedEndpointType& GetSupportedEndpointType() const{ return m_supportedEndpointType; }
166 inline bool SupportedEndpointTypeHasBeenSet() const { return m_supportedEndpointTypeHasBeenSet; }
167 inline void SetSupportedEndpointType(const RecommendationJobSupportedEndpointType& value) { m_supportedEndpointTypeHasBeenSet = true; m_supportedEndpointType = value; }
168 inline void SetSupportedEndpointType(RecommendationJobSupportedEndpointType&& value) { m_supportedEndpointTypeHasBeenSet = true; m_supportedEndpointType = std::move(value); }
172
174
180 inline const Aws::String& GetDataInputConfig() const{ return m_dataInputConfig; }
181 inline bool DataInputConfigHasBeenSet() const { return m_dataInputConfigHasBeenSet; }
182 inline void SetDataInputConfig(const Aws::String& value) { m_dataInputConfigHasBeenSet = true; m_dataInputConfig = value; }
183 inline void SetDataInputConfig(Aws::String&& value) { m_dataInputConfigHasBeenSet = true; m_dataInputConfig = std::move(value); }
184 inline void SetDataInputConfig(const char* value) { m_dataInputConfigHasBeenSet = true; m_dataInputConfig.assign(value); }
186 inline RecommendationJobContainerConfig& WithDataInputConfig(Aws::String&& value) { SetDataInputConfig(std::move(value)); return *this;}
187 inline RecommendationJobContainerConfig& WithDataInputConfig(const char* value) { SetDataInputConfig(value); return *this;}
189
191
194 inline const Aws::Vector<Aws::String>& GetSupportedResponseMIMETypes() const{ return m_supportedResponseMIMETypes; }
195 inline bool SupportedResponseMIMETypesHasBeenSet() const { return m_supportedResponseMIMETypesHasBeenSet; }
196 inline void SetSupportedResponseMIMETypes(const Aws::Vector<Aws::String>& value) { m_supportedResponseMIMETypesHasBeenSet = true; m_supportedResponseMIMETypes = value; }
197 inline void SetSupportedResponseMIMETypes(Aws::Vector<Aws::String>&& value) { m_supportedResponseMIMETypesHasBeenSet = true; m_supportedResponseMIMETypes = std::move(value); }
200 inline RecommendationJobContainerConfig& AddSupportedResponseMIMETypes(const Aws::String& value) { m_supportedResponseMIMETypesHasBeenSet = true; m_supportedResponseMIMETypes.push_back(value); return *this; }
201 inline RecommendationJobContainerConfig& AddSupportedResponseMIMETypes(Aws::String&& value) { m_supportedResponseMIMETypesHasBeenSet = true; m_supportedResponseMIMETypes.push_back(std::move(value)); return *this; }
202 inline RecommendationJobContainerConfig& AddSupportedResponseMIMETypes(const char* value) { m_supportedResponseMIMETypesHasBeenSet = true; m_supportedResponseMIMETypes.push_back(value); return *this; }
204 private:
205
206 Aws::String m_domain;
207 bool m_domainHasBeenSet = false;
208
209 Aws::String m_task;
210 bool m_taskHasBeenSet = false;
211
212 Aws::String m_framework;
213 bool m_frameworkHasBeenSet = false;
214
215 Aws::String m_frameworkVersion;
216 bool m_frameworkVersionHasBeenSet = false;
217
218 RecommendationJobPayloadConfig m_payloadConfig;
219 bool m_payloadConfigHasBeenSet = false;
220
221 Aws::String m_nearestModelName;
222 bool m_nearestModelNameHasBeenSet = false;
223
224 Aws::Vector<Aws::String> m_supportedInstanceTypes;
225 bool m_supportedInstanceTypesHasBeenSet = false;
226
227 RecommendationJobSupportedEndpointType m_supportedEndpointType;
228 bool m_supportedEndpointTypeHasBeenSet = false;
229
230 Aws::String m_dataInputConfig;
231 bool m_dataInputConfigHasBeenSet = false;
232
233 Aws::Vector<Aws::String> m_supportedResponseMIMETypes;
234 bool m_supportedResponseMIMETypesHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace SageMaker
239} // namespace Aws
RecommendationJobContainerConfig & WithDataInputConfig(const char *value)
RecommendationJobContainerConfig & AddSupportedResponseMIMETypes(Aws::String &&value)
RecommendationJobContainerConfig & WithFrameworkVersion(Aws::String &&value)
RecommendationJobContainerConfig & WithDataInputConfig(Aws::String &&value)
RecommendationJobContainerConfig & WithFramework(Aws::String &&value)
void SetSupportedEndpointType(const RecommendationJobSupportedEndpointType &value)
RecommendationJobContainerConfig & WithDomain(Aws::String &&value)
RecommendationJobContainerConfig & WithFrameworkVersion(const Aws::String &value)
RecommendationJobContainerConfig & WithTask(Aws::String &&value)
void SetSupportedResponseMIMETypes(const Aws::Vector< Aws::String > &value)
RecommendationJobContainerConfig & WithSupportedInstanceTypes(Aws::Vector< Aws::String > &&value)
void SetSupportedEndpointType(RecommendationJobSupportedEndpointType &&value)
RecommendationJobContainerConfig & WithNearestModelName(const char *value)
RecommendationJobContainerConfig & WithFramework(const char *value)
RecommendationJobContainerConfig & AddSupportedInstanceTypes(const char *value)
RecommendationJobContainerConfig & WithTask(const Aws::String &value)
RecommendationJobContainerConfig & WithDomain(const Aws::String &value)
const RecommendationJobPayloadConfig & GetPayloadConfig() const
RecommendationJobContainerConfig & WithNearestModelName(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSupportedResponseMIMETypes() const
RecommendationJobContainerConfig & WithSupportedResponseMIMETypes(const Aws::Vector< Aws::String > &value)
RecommendationJobContainerConfig & WithDomain(const char *value)
RecommendationJobContainerConfig & WithSupportedEndpointType(const RecommendationJobSupportedEndpointType &value)
void SetSupportedInstanceTypes(const Aws::Vector< Aws::String > &value)
RecommendationJobContainerConfig & WithPayloadConfig(const RecommendationJobPayloadConfig &value)
RecommendationJobContainerConfig & WithFrameworkVersion(const char *value)
void SetPayloadConfig(const RecommendationJobPayloadConfig &value)
AWS_SAGEMAKER_API RecommendationJobContainerConfig(Aws::Utils::Json::JsonView jsonValue)
const RecommendationJobSupportedEndpointType & GetSupportedEndpointType() const
RecommendationJobContainerConfig & AddSupportedResponseMIMETypes(const Aws::String &value)
RecommendationJobContainerConfig & WithSupportedInstanceTypes(const Aws::Vector< Aws::String > &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationJobContainerConfig & WithDataInputConfig(const Aws::String &value)
RecommendationJobContainerConfig & WithFramework(const Aws::String &value)
RecommendationJobContainerConfig & WithTask(const char *value)
RecommendationJobContainerConfig & AddSupportedInstanceTypes(const Aws::String &value)
RecommendationJobContainerConfig & WithPayloadConfig(RecommendationJobPayloadConfig &&value)
AWS_SAGEMAKER_API RecommendationJobContainerConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationJobContainerConfig & AddSupportedInstanceTypes(Aws::String &&value)
RecommendationJobContainerConfig & WithSupportedEndpointType(RecommendationJobSupportedEndpointType &&value)
RecommendationJobContainerConfig & WithSupportedResponseMIMETypes(Aws::Vector< Aws::String > &&value)
RecommendationJobContainerConfig & WithNearestModelName(Aws::String &&value)
RecommendationJobContainerConfig & AddSupportedResponseMIMETypes(const char *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