7#include <aws/sagemaker-runtime/SageMakerRuntime_EXPORTS.h>
8#include <aws/sagemaker-runtime/model/PayloadPart.h>
9#include <aws/sagemaker-runtime/model/ModelStreamError.h>
10#include <aws/sagemaker-runtime/model/InternalStreamFailure.h>
23namespace SageMakerRuntime
81 inline void SetInternalStreamFailure(
const InternalStreamFailure& value) { m_internalStreamFailureHasBeenSet =
true; m_internalStreamFailure = value; }
82 inline void SetInternalStreamFailure(InternalStreamFailure&& value) { m_internalStreamFailureHasBeenSet =
true; m_internalStreamFailure = std::move(value); }
89 bool m_payloadPartHasBeenSet =
false;
92 bool m_modelStreamErrorHasBeenSet =
false;
94 InternalStreamFailure m_internalStreamFailure;
95 bool m_internalStreamFailureHasBeenSet =
false;
ResponseStream & WithModelStreamError(ModelStreamError &&value)
ResponseStream & WithPayloadPart(const PayloadPart &value)
void SetPayloadPart(PayloadPart &&value)
ResponseStream & WithInternalStreamFailure(InternalStreamFailure &&value)
void SetInternalStreamFailure(const InternalStreamFailure &value)
AWS_SAGEMAKERRUNTIME_API ResponseStream(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKERRUNTIME_API ResponseStream()
ResponseStream & WithModelStreamError(const ModelStreamError &value)
bool PayloadPartHasBeenSet() const
ResponseStream & WithPayloadPart(PayloadPart &&value)
ResponseStream & WithInternalStreamFailure(const InternalStreamFailure &value)
const InternalStreamFailure & GetInternalStreamFailure() const
AWS_SAGEMAKERRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKERRUNTIME_API ResponseStream & operator=(Aws::Utils::Json::JsonView jsonValue)
const ModelStreamError & GetModelStreamError() const
const PayloadPart & GetPayloadPart() const
bool ModelStreamErrorHasBeenSet() const
void SetInternalStreamFailure(InternalStreamFailure &&value)
void SetModelStreamError(ModelStreamError &&value)
bool InternalStreamFailureHasBeenSet() const
void SetModelStreamError(const ModelStreamError &value)
void SetPayloadPart(const PayloadPart &value)
Aws::Utils::Json::JsonValue JsonValue