AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AsyncInferenceConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/AsyncInferenceClientConfig.h>
9#include <aws/sagemaker/model/AsyncInferenceOutputConfig.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 SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API AsyncInferenceConfig() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const AsyncInferenceClientConfig& GetClientConfig() const { return m_clientConfig; }
48 inline bool ClientConfigHasBeenSet() const { return m_clientConfigHasBeenSet; }
49 template<typename ClientConfigT = AsyncInferenceClientConfig>
50 void SetClientConfig(ClientConfigT&& value) { m_clientConfigHasBeenSet = true; m_clientConfig = std::forward<ClientConfigT>(value); }
51 template<typename ClientConfigT = AsyncInferenceClientConfig>
52 AsyncInferenceConfig& WithClientConfig(ClientConfigT&& value) { SetClientConfig(std::forward<ClientConfigT>(value)); return *this;}
54
56
60 inline const AsyncInferenceOutputConfig& GetOutputConfig() const { return m_outputConfig; }
61 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
62 template<typename OutputConfigT = AsyncInferenceOutputConfig>
63 void SetOutputConfig(OutputConfigT&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::forward<OutputConfigT>(value); }
64 template<typename OutputConfigT = AsyncInferenceOutputConfig>
65 AsyncInferenceConfig& WithOutputConfig(OutputConfigT&& value) { SetOutputConfig(std::forward<OutputConfigT>(value)); return *this;}
67 private:
68
69 AsyncInferenceClientConfig m_clientConfig;
70 bool m_clientConfigHasBeenSet = false;
71
72 AsyncInferenceOutputConfig m_outputConfig;
73 bool m_outputConfigHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SageMaker
78} // namespace Aws
AWS_SAGEMAKER_API AsyncInferenceConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API AsyncInferenceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AsyncInferenceConfig & WithOutputConfig(OutputConfigT &&value)
AsyncInferenceConfig & WithClientConfig(ClientConfigT &&value)
const AsyncInferenceOutputConfig & GetOutputConfig() const
AWS_SAGEMAKER_API AsyncInferenceConfig()=default
const AsyncInferenceClientConfig & GetClientConfig() const
Aws::Utils::Json::JsonValue JsonValue