AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
EndpointConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/SageMakerEndpoint.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Bedrock {
20namespace Model {
21
28 public:
29 AWS_BEDROCK_API EndpointConfig() = default;
32 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const SageMakerEndpoint& GetSageMaker() const { return m_sageMaker; }
39 inline bool SageMakerHasBeenSet() const { return m_sageMakerHasBeenSet; }
40 template <typename SageMakerT = SageMakerEndpoint>
41 void SetSageMaker(SageMakerT&& value) {
42 m_sageMakerHasBeenSet = true;
43 m_sageMaker = std::forward<SageMakerT>(value);
44 }
45 template <typename SageMakerT = SageMakerEndpoint>
47 SetSageMaker(std::forward<SageMakerT>(value));
48 return *this;
49 }
51 private:
52 SageMakerEndpoint m_sageMaker;
53 bool m_sageMakerHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace Bedrock
58} // namespace Aws
EndpointConfig & WithSageMaker(SageMakerT &&value)
AWS_BEDROCK_API EndpointConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const SageMakerEndpoint & GetSageMaker() const
void SetSageMaker(SageMakerT &&value)
AWS_BEDROCK_API EndpointConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API EndpointConfig()=default
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue