AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EndpointInputConfiguration.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ProductionVariantInstanceType.h>
9#include <aws/sagemaker/model/ProductionVariantServerlessConfig.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/sagemaker/model/EnvironmentParameterRanges.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
35 {
36 public:
37 AWS_SAGEMAKER_API EndpointInputConfiguration();
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const ProductionVariantInstanceType& GetInstanceType() const{ return m_instanceType; }
48 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
49 inline void SetInstanceType(const ProductionVariantInstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
50 inline void SetInstanceType(ProductionVariantInstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
54
56
57 inline const ProductionVariantServerlessConfig& GetServerlessConfig() const{ return m_serverlessConfig; }
58 inline bool ServerlessConfigHasBeenSet() const { return m_serverlessConfigHasBeenSet; }
59 inline void SetServerlessConfig(const ProductionVariantServerlessConfig& value) { m_serverlessConfigHasBeenSet = true; m_serverlessConfig = value; }
60 inline void SetServerlessConfig(ProductionVariantServerlessConfig&& value) { m_serverlessConfigHasBeenSet = true; m_serverlessConfig = std::move(value); }
64
66
69 inline const Aws::String& GetInferenceSpecificationName() const{ return m_inferenceSpecificationName; }
70 inline bool InferenceSpecificationNameHasBeenSet() const { return m_inferenceSpecificationNameHasBeenSet; }
71 inline void SetInferenceSpecificationName(const Aws::String& value) { m_inferenceSpecificationNameHasBeenSet = true; m_inferenceSpecificationName = value; }
72 inline void SetInferenceSpecificationName(Aws::String&& value) { m_inferenceSpecificationNameHasBeenSet = true; m_inferenceSpecificationName = std::move(value); }
73 inline void SetInferenceSpecificationName(const char* value) { m_inferenceSpecificationNameHasBeenSet = true; m_inferenceSpecificationName.assign(value); }
78
80
83 inline const EnvironmentParameterRanges& GetEnvironmentParameterRanges() const{ return m_environmentParameterRanges; }
84 inline bool EnvironmentParameterRangesHasBeenSet() const { return m_environmentParameterRangesHasBeenSet; }
85 inline void SetEnvironmentParameterRanges(const EnvironmentParameterRanges& value) { m_environmentParameterRangesHasBeenSet = true; m_environmentParameterRanges = value; }
86 inline void SetEnvironmentParameterRanges(EnvironmentParameterRanges&& value) { m_environmentParameterRangesHasBeenSet = true; m_environmentParameterRanges = std::move(value); }
90 private:
91
92 ProductionVariantInstanceType m_instanceType;
93 bool m_instanceTypeHasBeenSet = false;
94
95 ProductionVariantServerlessConfig m_serverlessConfig;
96 bool m_serverlessConfigHasBeenSet = false;
97
98 Aws::String m_inferenceSpecificationName;
99 bool m_inferenceSpecificationNameHasBeenSet = false;
100
101 EnvironmentParameterRanges m_environmentParameterRanges;
102 bool m_environmentParameterRangesHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace SageMaker
107} // namespace Aws
EndpointInputConfiguration & WithInferenceSpecificationName(const Aws::String &value)
const EnvironmentParameterRanges & GetEnvironmentParameterRanges() const
AWS_SAGEMAKER_API EndpointInputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EndpointInputConfiguration & WithServerlessConfig(ProductionVariantServerlessConfig &&value)
AWS_SAGEMAKER_API EndpointInputConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceType(const ProductionVariantInstanceType &value)
void SetEnvironmentParameterRanges(EnvironmentParameterRanges &&value)
void SetEnvironmentParameterRanges(const EnvironmentParameterRanges &value)
void SetInstanceType(ProductionVariantInstanceType &&value)
void SetServerlessConfig(ProductionVariantServerlessConfig &&value)
EndpointInputConfiguration & WithInstanceType(ProductionVariantInstanceType &&value)
EndpointInputConfiguration & WithInferenceSpecificationName(Aws::String &&value)
EndpointInputConfiguration & WithInstanceType(const ProductionVariantInstanceType &value)
EndpointInputConfiguration & WithInferenceSpecificationName(const char *value)
EndpointInputConfiguration & WithEnvironmentParameterRanges(const EnvironmentParameterRanges &value)
const ProductionVariantServerlessConfig & GetServerlessConfig() const
const ProductionVariantInstanceType & GetInstanceType() const
EndpointInputConfiguration & WithEnvironmentParameterRanges(EnvironmentParameterRanges &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServerlessConfig(const ProductionVariantServerlessConfig &value)
EndpointInputConfiguration & WithServerlessConfig(const ProductionVariantServerlessConfig &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue