AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientConfig(const AsyncInferenceClientConfig& value) { m_clientConfigHasBeenSet = true; m_clientConfig = value; }
50 inline void SetClientConfig(AsyncInferenceClientConfig&& value) { m_clientConfigHasBeenSet = true; m_clientConfig = std::move(value); }
52 inline AsyncInferenceConfig& WithClientConfig(AsyncInferenceClientConfig&& value) { SetClientConfig(std::move(value)); return *this;}
54
56
60 inline const AsyncInferenceOutputConfig& GetOutputConfig() const{ return m_outputConfig; }
61 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
62 inline void SetOutputConfig(const AsyncInferenceOutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; }
63 inline void SetOutputConfig(AsyncInferenceOutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); }
65 inline AsyncInferenceConfig& WithOutputConfig(AsyncInferenceOutputConfig&& value) { SetOutputConfig(std::move(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
void SetClientConfig(AsyncInferenceClientConfig &&value)
AWS_SAGEMAKER_API AsyncInferenceConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AsyncInferenceConfig & WithClientConfig(const AsyncInferenceClientConfig &value)
void SetOutputConfig(const AsyncInferenceOutputConfig &value)
AWS_SAGEMAKER_API AsyncInferenceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOutputConfig(AsyncInferenceOutputConfig &&value)
const AsyncInferenceOutputConfig & GetOutputConfig() const
AsyncInferenceConfig & WithOutputConfig(AsyncInferenceOutputConfig &&value)
AsyncInferenceConfig & WithOutputConfig(const AsyncInferenceOutputConfig &value)
const AsyncInferenceClientConfig & GetClientConfig() const
void SetClientConfig(const AsyncInferenceClientConfig &value)
AsyncInferenceConfig & WithClientConfig(AsyncInferenceClientConfig &&value)
Aws::Utils::Json::JsonValue JsonValue