AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdditionalInferenceSpecificationDefinition.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/ModelPackageContainerDefinition.h>
11#include <aws/sagemaker/model/TransformInstanceType.h>
12#include <aws/sagemaker/model/ProductionVariantInstanceType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
29
38 {
39 public:
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
52 inline const Aws::String& GetName() const{ return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
57 inline AdditionalInferenceSpecificationDefinition& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline AdditionalInferenceSpecificationDefinition& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline AdditionalInferenceSpecificationDefinition& WithName(const char* value) { SetName(value); return *this;}
61
63
66 inline const Aws::String& GetDescription() const{ return m_description; }
67 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
68 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
69 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
70 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
72 inline AdditionalInferenceSpecificationDefinition& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
73 inline AdditionalInferenceSpecificationDefinition& WithDescription(const char* value) { SetDescription(value); return *this;}
75
77
81 inline const Aws::Vector<ModelPackageContainerDefinition>& GetContainers() const{ return m_containers; }
82 inline bool ContainersHasBeenSet() const { return m_containersHasBeenSet; }
83 inline void SetContainers(const Aws::Vector<ModelPackageContainerDefinition>& value) { m_containersHasBeenSet = true; m_containers = value; }
84 inline void SetContainers(Aws::Vector<ModelPackageContainerDefinition>&& value) { m_containersHasBeenSet = true; m_containers = std::move(value); }
87 inline AdditionalInferenceSpecificationDefinition& AddContainers(const ModelPackageContainerDefinition& value) { m_containersHasBeenSet = true; m_containers.push_back(value); return *this; }
88 inline AdditionalInferenceSpecificationDefinition& AddContainers(ModelPackageContainerDefinition&& value) { m_containersHasBeenSet = true; m_containers.push_back(std::move(value)); return *this; }
90
92
96 inline const Aws::Vector<TransformInstanceType>& GetSupportedTransformInstanceTypes() const{ return m_supportedTransformInstanceTypes; }
97 inline bool SupportedTransformInstanceTypesHasBeenSet() const { return m_supportedTransformInstanceTypesHasBeenSet; }
98 inline void SetSupportedTransformInstanceTypes(const Aws::Vector<TransformInstanceType>& value) { m_supportedTransformInstanceTypesHasBeenSet = true; m_supportedTransformInstanceTypes = value; }
99 inline void SetSupportedTransformInstanceTypes(Aws::Vector<TransformInstanceType>&& value) { m_supportedTransformInstanceTypesHasBeenSet = true; m_supportedTransformInstanceTypes = std::move(value); }
102 inline AdditionalInferenceSpecificationDefinition& AddSupportedTransformInstanceTypes(const TransformInstanceType& value) { m_supportedTransformInstanceTypesHasBeenSet = true; m_supportedTransformInstanceTypes.push_back(value); return *this; }
103 inline AdditionalInferenceSpecificationDefinition& AddSupportedTransformInstanceTypes(TransformInstanceType&& value) { m_supportedTransformInstanceTypesHasBeenSet = true; m_supportedTransformInstanceTypes.push_back(std::move(value)); return *this; }
105
107
111 inline const Aws::Vector<ProductionVariantInstanceType>& GetSupportedRealtimeInferenceInstanceTypes() const{ return m_supportedRealtimeInferenceInstanceTypes; }
112 inline bool SupportedRealtimeInferenceInstanceTypesHasBeenSet() const { return m_supportedRealtimeInferenceInstanceTypesHasBeenSet; }
113 inline void SetSupportedRealtimeInferenceInstanceTypes(const Aws::Vector<ProductionVariantInstanceType>& value) { m_supportedRealtimeInferenceInstanceTypesHasBeenSet = true; m_supportedRealtimeInferenceInstanceTypes = value; }
114 inline void SetSupportedRealtimeInferenceInstanceTypes(Aws::Vector<ProductionVariantInstanceType>&& value) { m_supportedRealtimeInferenceInstanceTypesHasBeenSet = true; m_supportedRealtimeInferenceInstanceTypes = std::move(value); }
117 inline AdditionalInferenceSpecificationDefinition& AddSupportedRealtimeInferenceInstanceTypes(const ProductionVariantInstanceType& value) { m_supportedRealtimeInferenceInstanceTypesHasBeenSet = true; m_supportedRealtimeInferenceInstanceTypes.push_back(value); return *this; }
118 inline AdditionalInferenceSpecificationDefinition& AddSupportedRealtimeInferenceInstanceTypes(ProductionVariantInstanceType&& value) { m_supportedRealtimeInferenceInstanceTypesHasBeenSet = true; m_supportedRealtimeInferenceInstanceTypes.push_back(std::move(value)); return *this; }
120
122
125 inline const Aws::Vector<Aws::String>& GetSupportedContentTypes() const{ return m_supportedContentTypes; }
126 inline bool SupportedContentTypesHasBeenSet() const { return m_supportedContentTypesHasBeenSet; }
127 inline void SetSupportedContentTypes(const Aws::Vector<Aws::String>& value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes = value; }
128 inline void SetSupportedContentTypes(Aws::Vector<Aws::String>&& value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes = std::move(value); }
131 inline AdditionalInferenceSpecificationDefinition& AddSupportedContentTypes(const Aws::String& value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes.push_back(value); return *this; }
132 inline AdditionalInferenceSpecificationDefinition& AddSupportedContentTypes(Aws::String&& value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes.push_back(std::move(value)); return *this; }
133 inline AdditionalInferenceSpecificationDefinition& AddSupportedContentTypes(const char* value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes.push_back(value); return *this; }
135
137
140 inline const Aws::Vector<Aws::String>& GetSupportedResponseMIMETypes() const{ return m_supportedResponseMIMETypes; }
141 inline bool SupportedResponseMIMETypesHasBeenSet() const { return m_supportedResponseMIMETypesHasBeenSet; }
142 inline void SetSupportedResponseMIMETypes(const Aws::Vector<Aws::String>& value) { m_supportedResponseMIMETypesHasBeenSet = true; m_supportedResponseMIMETypes = value; }
143 inline void SetSupportedResponseMIMETypes(Aws::Vector<Aws::String>&& value) { m_supportedResponseMIMETypesHasBeenSet = true; m_supportedResponseMIMETypes = std::move(value); }
146 inline AdditionalInferenceSpecificationDefinition& AddSupportedResponseMIMETypes(const Aws::String& value) { m_supportedResponseMIMETypesHasBeenSet = true; m_supportedResponseMIMETypes.push_back(value); return *this; }
147 inline AdditionalInferenceSpecificationDefinition& AddSupportedResponseMIMETypes(Aws::String&& value) { m_supportedResponseMIMETypesHasBeenSet = true; m_supportedResponseMIMETypes.push_back(std::move(value)); return *this; }
148 inline AdditionalInferenceSpecificationDefinition& AddSupportedResponseMIMETypes(const char* value) { m_supportedResponseMIMETypesHasBeenSet = true; m_supportedResponseMIMETypes.push_back(value); return *this; }
150 private:
151
152 Aws::String m_name;
153 bool m_nameHasBeenSet = false;
154
155 Aws::String m_description;
156 bool m_descriptionHasBeenSet = false;
157
159 bool m_containersHasBeenSet = false;
160
161 Aws::Vector<TransformInstanceType> m_supportedTransformInstanceTypes;
162 bool m_supportedTransformInstanceTypesHasBeenSet = false;
163
164 Aws::Vector<ProductionVariantInstanceType> m_supportedRealtimeInferenceInstanceTypes;
165 bool m_supportedRealtimeInferenceInstanceTypesHasBeenSet = false;
166
167 Aws::Vector<Aws::String> m_supportedContentTypes;
168 bool m_supportedContentTypesHasBeenSet = false;
169
170 Aws::Vector<Aws::String> m_supportedResponseMIMETypes;
171 bool m_supportedResponseMIMETypesHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace SageMaker
176} // namespace Aws
AdditionalInferenceSpecificationDefinition & AddContainers(ModelPackageContainerDefinition &&value)
AdditionalInferenceSpecificationDefinition & AddSupportedResponseMIMETypes(const Aws::String &value)
AdditionalInferenceSpecificationDefinition & WithSupportedContentTypes(const Aws::Vector< Aws::String > &value)
void SetSupportedRealtimeInferenceInstanceTypes(const Aws::Vector< ProductionVariantInstanceType > &value)
AdditionalInferenceSpecificationDefinition & WithName(Aws::String &&value)
AdditionalInferenceSpecificationDefinition & WithSupportedResponseMIMETypes(Aws::Vector< Aws::String > &&value)
AdditionalInferenceSpecificationDefinition & AddSupportedTransformInstanceTypes(TransformInstanceType &&value)
AdditionalInferenceSpecificationDefinition & AddSupportedContentTypes(Aws::String &&value)
AdditionalInferenceSpecificationDefinition & WithDescription(const Aws::String &value)
AWS_SAGEMAKER_API AdditionalInferenceSpecificationDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AdditionalInferenceSpecificationDefinition & WithSupportedRealtimeInferenceInstanceTypes(const Aws::Vector< ProductionVariantInstanceType > &value)
AdditionalInferenceSpecificationDefinition & AddSupportedTransformInstanceTypes(const TransformInstanceType &value)
AdditionalInferenceSpecificationDefinition & WithName(const char *value)
void SetContainers(const Aws::Vector< ModelPackageContainerDefinition > &value)
const Aws::Vector< ModelPackageContainerDefinition > & GetContainers() const
AdditionalInferenceSpecificationDefinition & AddSupportedResponseMIMETypes(const char *value)
AdditionalInferenceSpecificationDefinition & AddSupportedResponseMIMETypes(Aws::String &&value)
AdditionalInferenceSpecificationDefinition & WithName(const Aws::String &value)
void SetSupportedRealtimeInferenceInstanceTypes(Aws::Vector< ProductionVariantInstanceType > &&value)
AdditionalInferenceSpecificationDefinition & WithSupportedTransformInstanceTypes(Aws::Vector< TransformInstanceType > &&value)
AdditionalInferenceSpecificationDefinition & WithContainers(const Aws::Vector< ModelPackageContainerDefinition > &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AdditionalInferenceSpecificationDefinition & WithDescription(const char *value)
AdditionalInferenceSpecificationDefinition & AddSupportedRealtimeInferenceInstanceTypes(const ProductionVariantInstanceType &value)
AdditionalInferenceSpecificationDefinition & AddContainers(const ModelPackageContainerDefinition &value)
AdditionalInferenceSpecificationDefinition & WithSupportedResponseMIMETypes(const Aws::Vector< Aws::String > &value)
AdditionalInferenceSpecificationDefinition & AddSupportedContentTypes(const char *value)
const Aws::Vector< ProductionVariantInstanceType > & GetSupportedRealtimeInferenceInstanceTypes() const
AdditionalInferenceSpecificationDefinition & WithSupportedTransformInstanceTypes(const Aws::Vector< TransformInstanceType > &value)
AdditionalInferenceSpecificationDefinition & WithContainers(Aws::Vector< ModelPackageContainerDefinition > &&value)
AWS_SAGEMAKER_API AdditionalInferenceSpecificationDefinition(Aws::Utils::Json::JsonView jsonValue)
AdditionalInferenceSpecificationDefinition & AddSupportedContentTypes(const Aws::String &value)
AdditionalInferenceSpecificationDefinition & WithSupportedRealtimeInferenceInstanceTypes(Aws::Vector< ProductionVariantInstanceType > &&value)
AdditionalInferenceSpecificationDefinition & WithSupportedContentTypes(Aws::Vector< Aws::String > &&value)
void SetContainers(Aws::Vector< ModelPackageContainerDefinition > &&value)
void SetSupportedTransformInstanceTypes(const Aws::Vector< TransformInstanceType > &value)
AdditionalInferenceSpecificationDefinition & AddSupportedRealtimeInferenceInstanceTypes(ProductionVariantInstanceType &&value)
AdditionalInferenceSpecificationDefinition & WithDescription(Aws::String &&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