AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
EndpointInputConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/EnvironmentParameterRanges.h>
10#include <aws/sagemaker/model/ProductionVariantInstanceType.h>
11#include <aws/sagemaker/model/ProductionVariantServerlessConfig.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker {
23namespace Model {
24
31 public:
32 AWS_SAGEMAKER_API EndpointInputConfiguration() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline ProductionVariantInstanceType GetInstanceType() const { return m_instanceType; }
42 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
44 m_instanceTypeHasBeenSet = true;
45 m_instanceType = value;
46 }
48 SetInstanceType(value);
49 return *this;
50 }
52
54
55 inline const ProductionVariantServerlessConfig& GetServerlessConfig() const { return m_serverlessConfig; }
56 inline bool ServerlessConfigHasBeenSet() const { return m_serverlessConfigHasBeenSet; }
57 template <typename ServerlessConfigT = ProductionVariantServerlessConfig>
58 void SetServerlessConfig(ServerlessConfigT&& value) {
59 m_serverlessConfigHasBeenSet = true;
60 m_serverlessConfig = std::forward<ServerlessConfigT>(value);
61 }
62 template <typename ServerlessConfigT = ProductionVariantServerlessConfig>
64 SetServerlessConfig(std::forward<ServerlessConfigT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetInferenceSpecificationName() const { return m_inferenceSpecificationName; }
74 inline bool InferenceSpecificationNameHasBeenSet() const { return m_inferenceSpecificationNameHasBeenSet; }
75 template <typename InferenceSpecificationNameT = Aws::String>
76 void SetInferenceSpecificationName(InferenceSpecificationNameT&& value) {
77 m_inferenceSpecificationNameHasBeenSet = true;
78 m_inferenceSpecificationName = std::forward<InferenceSpecificationNameT>(value);
79 }
80 template <typename InferenceSpecificationNameT = Aws::String>
81 EndpointInputConfiguration& WithInferenceSpecificationName(InferenceSpecificationNameT&& value) {
82 SetInferenceSpecificationName(std::forward<InferenceSpecificationNameT>(value));
83 return *this;
84 }
86
88
91 inline const EnvironmentParameterRanges& GetEnvironmentParameterRanges() const { return m_environmentParameterRanges; }
92 inline bool EnvironmentParameterRangesHasBeenSet() const { return m_environmentParameterRangesHasBeenSet; }
93 template <typename EnvironmentParameterRangesT = EnvironmentParameterRanges>
94 void SetEnvironmentParameterRanges(EnvironmentParameterRangesT&& value) {
95 m_environmentParameterRangesHasBeenSet = true;
96 m_environmentParameterRanges = std::forward<EnvironmentParameterRangesT>(value);
97 }
98 template <typename EnvironmentParameterRangesT = EnvironmentParameterRanges>
99 EndpointInputConfiguration& WithEnvironmentParameterRanges(EnvironmentParameterRangesT&& value) {
100 SetEnvironmentParameterRanges(std::forward<EnvironmentParameterRangesT>(value));
101 return *this;
102 }
104 private:
106
107 ProductionVariantServerlessConfig m_serverlessConfig;
108
109 Aws::String m_inferenceSpecificationName;
110
111 EnvironmentParameterRanges m_environmentParameterRanges;
112 bool m_instanceTypeHasBeenSet = false;
113 bool m_serverlessConfigHasBeenSet = false;
114 bool m_inferenceSpecificationNameHasBeenSet = false;
115 bool m_environmentParameterRangesHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace SageMaker
120} // namespace Aws
void SetInstanceType(ProductionVariantInstanceType value)
AWS_SAGEMAKER_API EndpointInputConfiguration()=default
const EnvironmentParameterRanges & GetEnvironmentParameterRanges() const
AWS_SAGEMAKER_API EndpointInputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API EndpointInputConfiguration(Aws::Utils::Json::JsonView jsonValue)
EndpointInputConfiguration & WithServerlessConfig(ServerlessConfigT &&value)
EndpointInputConfiguration & WithEnvironmentParameterRanges(EnvironmentParameterRangesT &&value)
EndpointInputConfiguration & WithInstanceType(ProductionVariantInstanceType value)
EndpointInputConfiguration & WithInferenceSpecificationName(InferenceSpecificationNameT &&value)
const ProductionVariantServerlessConfig & GetServerlessConfig() const
void SetEnvironmentParameterRanges(EnvironmentParameterRangesT &&value)
void SetInferenceSpecificationName(InferenceSpecificationNameT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue