AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EndpointOutputConfiguration.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/ProductionVariantInstanceType.h>
10#include <aws/sagemaker/model/ProductionVariantServerlessConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API EndpointOutputConfiguration();
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
48 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
49 inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
50 inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
51 inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
52 inline EndpointOutputConfiguration& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
53 inline EndpointOutputConfiguration& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
54 inline EndpointOutputConfiguration& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
56
58
62 inline const Aws::String& GetVariantName() const{ return m_variantName; }
63 inline bool VariantNameHasBeenSet() const { return m_variantNameHasBeenSet; }
64 inline void SetVariantName(const Aws::String& value) { m_variantNameHasBeenSet = true; m_variantName = value; }
65 inline void SetVariantName(Aws::String&& value) { m_variantNameHasBeenSet = true; m_variantName = std::move(value); }
66 inline void SetVariantName(const char* value) { m_variantNameHasBeenSet = true; m_variantName.assign(value); }
67 inline EndpointOutputConfiguration& WithVariantName(const Aws::String& value) { SetVariantName(value); return *this;}
68 inline EndpointOutputConfiguration& WithVariantName(Aws::String&& value) { SetVariantName(std::move(value)); return *this;}
69 inline EndpointOutputConfiguration& WithVariantName(const char* value) { SetVariantName(value); return *this;}
71
73
76 inline const ProductionVariantInstanceType& GetInstanceType() const{ return m_instanceType; }
77 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
78 inline void SetInstanceType(const ProductionVariantInstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
79 inline void SetInstanceType(ProductionVariantInstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
83
85
88 inline int GetInitialInstanceCount() const{ return m_initialInstanceCount; }
89 inline bool InitialInstanceCountHasBeenSet() const { return m_initialInstanceCountHasBeenSet; }
90 inline void SetInitialInstanceCount(int value) { m_initialInstanceCountHasBeenSet = true; m_initialInstanceCount = value; }
93
95
96 inline const ProductionVariantServerlessConfig& GetServerlessConfig() const{ return m_serverlessConfig; }
97 inline bool ServerlessConfigHasBeenSet() const { return m_serverlessConfigHasBeenSet; }
98 inline void SetServerlessConfig(const ProductionVariantServerlessConfig& value) { m_serverlessConfigHasBeenSet = true; m_serverlessConfig = value; }
99 inline void SetServerlessConfig(ProductionVariantServerlessConfig&& value) { m_serverlessConfigHasBeenSet = true; m_serverlessConfig = std::move(value); }
103 private:
104
105 Aws::String m_endpointName;
106 bool m_endpointNameHasBeenSet = false;
107
108 Aws::String m_variantName;
109 bool m_variantNameHasBeenSet = false;
110
111 ProductionVariantInstanceType m_instanceType;
112 bool m_instanceTypeHasBeenSet = false;
113
114 int m_initialInstanceCount;
115 bool m_initialInstanceCountHasBeenSet = false;
116
117 ProductionVariantServerlessConfig m_serverlessConfig;
118 bool m_serverlessConfigHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace SageMaker
123} // namespace Aws
AWS_SAGEMAKER_API EndpointOutputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const ProductionVariantInstanceType & GetInstanceType() const
EndpointOutputConfiguration & WithVariantName(const Aws::String &value)
EndpointOutputConfiguration & WithEndpointName(const char *value)
EndpointOutputConfiguration & WithVariantName(const char *value)
EndpointOutputConfiguration & WithEndpointName(const Aws::String &value)
AWS_SAGEMAKER_API EndpointOutputConfiguration(Aws::Utils::Json::JsonView jsonValue)
EndpointOutputConfiguration & WithServerlessConfig(const ProductionVariantServerlessConfig &value)
EndpointOutputConfiguration & WithInstanceType(ProductionVariantInstanceType &&value)
EndpointOutputConfiguration & WithServerlessConfig(ProductionVariantServerlessConfig &&value)
void SetInstanceType(ProductionVariantInstanceType &&value)
void SetInstanceType(const ProductionVariantInstanceType &value)
EndpointOutputConfiguration & WithInstanceType(const ProductionVariantInstanceType &value)
EndpointOutputConfiguration & WithVariantName(Aws::String &&value)
const ProductionVariantServerlessConfig & GetServerlessConfig() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServerlessConfig(ProductionVariantServerlessConfig &&value)
EndpointOutputConfiguration & WithInitialInstanceCount(int value)
EndpointOutputConfiguration & WithEndpointName(Aws::String &&value)
void SetServerlessConfig(const ProductionVariantServerlessConfig &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue