AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
SageMakerEndpoint.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/VpcConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Bedrock
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCK_API SageMakerEndpoint() = default;
39 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline int GetInitialInstanceCount() const { return m_initialInstanceCount; }
48 inline bool InitialInstanceCountHasBeenSet() const { return m_initialInstanceCountHasBeenSet; }
49 inline void SetInitialInstanceCount(int value) { m_initialInstanceCountHasBeenSet = true; m_initialInstanceCount = value; }
50 inline SageMakerEndpoint& WithInitialInstanceCount(int value) { SetInitialInstanceCount(value); return *this;}
52
54
57 inline const Aws::String& GetInstanceType() const { return m_instanceType; }
58 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
59 template<typename InstanceTypeT = Aws::String>
60 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::forward<InstanceTypeT>(value); }
61 template<typename InstanceTypeT = Aws::String>
62 SageMakerEndpoint& WithInstanceType(InstanceTypeT&& value) { SetInstanceType(std::forward<InstanceTypeT>(value)); return *this;}
64
66
71 inline const Aws::String& GetExecutionRole() const { return m_executionRole; }
72 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
73 template<typename ExecutionRoleT = Aws::String>
74 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::forward<ExecutionRoleT>(value); }
75 template<typename ExecutionRoleT = Aws::String>
76 SageMakerEndpoint& WithExecutionRole(ExecutionRoleT&& value) { SetExecutionRole(std::forward<ExecutionRoleT>(value)); return *this;}
78
80
85 inline const Aws::String& GetKmsEncryptionKey() const { return m_kmsEncryptionKey; }
86 inline bool KmsEncryptionKeyHasBeenSet() const { return m_kmsEncryptionKeyHasBeenSet; }
87 template<typename KmsEncryptionKeyT = Aws::String>
88 void SetKmsEncryptionKey(KmsEncryptionKeyT&& value) { m_kmsEncryptionKeyHasBeenSet = true; m_kmsEncryptionKey = std::forward<KmsEncryptionKeyT>(value); }
89 template<typename KmsEncryptionKeyT = Aws::String>
90 SageMakerEndpoint& WithKmsEncryptionKey(KmsEncryptionKeyT&& value) { SetKmsEncryptionKey(std::forward<KmsEncryptionKeyT>(value)); return *this;}
92
94
97 inline const VpcConfig& GetVpc() const { return m_vpc; }
98 inline bool VpcHasBeenSet() const { return m_vpcHasBeenSet; }
99 template<typename VpcT = VpcConfig>
100 void SetVpc(VpcT&& value) { m_vpcHasBeenSet = true; m_vpc = std::forward<VpcT>(value); }
101 template<typename VpcT = VpcConfig>
102 SageMakerEndpoint& WithVpc(VpcT&& value) { SetVpc(std::forward<VpcT>(value)); return *this;}
104 private:
105
106 int m_initialInstanceCount{0};
107 bool m_initialInstanceCountHasBeenSet = false;
108
109 Aws::String m_instanceType;
110 bool m_instanceTypeHasBeenSet = false;
111
112 Aws::String m_executionRole;
113 bool m_executionRoleHasBeenSet = false;
114
115 Aws::String m_kmsEncryptionKey;
116 bool m_kmsEncryptionKeyHasBeenSet = false;
117
118 VpcConfig m_vpc;
119 bool m_vpcHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace Bedrock
124} // namespace Aws
SageMakerEndpoint & WithVpc(VpcT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetExecutionRole() const
AWS_BEDROCK_API SageMakerEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
SageMakerEndpoint & WithExecutionRole(ExecutionRoleT &&value)
void SetKmsEncryptionKey(KmsEncryptionKeyT &&value)
void SetInstanceType(InstanceTypeT &&value)
SageMakerEndpoint & WithKmsEncryptionKey(KmsEncryptionKeyT &&value)
const Aws::String & GetKmsEncryptionKey() const
SageMakerEndpoint & WithInstanceType(InstanceTypeT &&value)
void SetExecutionRole(ExecutionRoleT &&value)
AWS_BEDROCK_API SageMakerEndpoint()=default
SageMakerEndpoint & WithInitialInstanceCount(int value)
AWS_BEDROCK_API SageMakerEndpoint(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInstanceType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue