/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies configuration for how an endpoint performs asynchronous
* inference.See Also:
AWS
* API Reference
Configures the behavior of the client used by SageMaker to interact with the * model container during asynchronous inference.
*/ inline const AsyncInferenceClientConfig& GetClientConfig() const{ return m_clientConfig; } /** *Configures the behavior of the client used by SageMaker to interact with the * model container during asynchronous inference.
*/ inline bool ClientConfigHasBeenSet() const { return m_clientConfigHasBeenSet; } /** *Configures the behavior of the client used by SageMaker to interact with the * model container during asynchronous inference.
*/ inline void SetClientConfig(const AsyncInferenceClientConfig& value) { m_clientConfigHasBeenSet = true; m_clientConfig = value; } /** *Configures the behavior of the client used by SageMaker to interact with the * model container during asynchronous inference.
*/ inline void SetClientConfig(AsyncInferenceClientConfig&& value) { m_clientConfigHasBeenSet = true; m_clientConfig = std::move(value); } /** *Configures the behavior of the client used by SageMaker to interact with the * model container during asynchronous inference.
*/ inline AsyncInferenceConfig& WithClientConfig(const AsyncInferenceClientConfig& value) { SetClientConfig(value); return *this;} /** *Configures the behavior of the client used by SageMaker to interact with the * model container during asynchronous inference.
*/ inline AsyncInferenceConfig& WithClientConfig(AsyncInferenceClientConfig&& value) { SetClientConfig(std::move(value)); return *this;} /** *Specifies the configuration for asynchronous inference invocation * outputs.
*/ inline const AsyncInferenceOutputConfig& GetOutputConfig() const{ return m_outputConfig; } /** *Specifies the configuration for asynchronous inference invocation * outputs.
*/ inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; } /** *Specifies the configuration for asynchronous inference invocation * outputs.
*/ inline void SetOutputConfig(const AsyncInferenceOutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; } /** *Specifies the configuration for asynchronous inference invocation * outputs.
*/ inline void SetOutputConfig(AsyncInferenceOutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); } /** *Specifies the configuration for asynchronous inference invocation * outputs.
*/ inline AsyncInferenceConfig& WithOutputConfig(const AsyncInferenceOutputConfig& value) { SetOutputConfig(value); return *this;} /** *Specifies the configuration for asynchronous inference invocation * outputs.
*/ inline AsyncInferenceConfig& WithOutputConfig(AsyncInferenceOutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;} private: AsyncInferenceClientConfig m_clientConfig; bool m_clientConfigHasBeenSet = false; AsyncInferenceOutputConfig m_outputConfig; bool m_outputConfigHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws