/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A response confirming that the event stream is complete.See
* Also:
AWS
* API Reference
An error code.
*/ inline const Aws::String& GetErrorCode() const{ return m_errorCode; } /** *An error code.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *An error code.
*/ inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *An error code.
*/ inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *An error code.
*/ inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } /** *An error code.
*/ inline InvokeWithResponseStreamCompleteEvent& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} /** *An error code.
*/ inline InvokeWithResponseStreamCompleteEvent& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} /** *An error code.
*/ inline InvokeWithResponseStreamCompleteEvent& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} /** *The details of any returned error.
*/ inline const Aws::String& GetErrorDetails() const{ return m_errorDetails; } /** *The details of any returned error.
*/ inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; } /** *The details of any returned error.
*/ inline void SetErrorDetails(const Aws::String& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = value; } /** *The details of any returned error.
*/ inline void SetErrorDetails(Aws::String&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::move(value); } /** *The details of any returned error.
*/ inline void SetErrorDetails(const char* value) { m_errorDetailsHasBeenSet = true; m_errorDetails.assign(value); } /** *The details of any returned error.
*/ inline InvokeWithResponseStreamCompleteEvent& WithErrorDetails(const Aws::String& value) { SetErrorDetails(value); return *this;} /** *The details of any returned error.
*/ inline InvokeWithResponseStreamCompleteEvent& WithErrorDetails(Aws::String&& value) { SetErrorDetails(std::move(value)); return *this;} /** *The details of any returned error.
*/ inline InvokeWithResponseStreamCompleteEvent& WithErrorDetails(const char* value) { SetErrorDetails(value); return *this;} /** *The last 4 KB of the execution log, which is base64-encoded.
*/ inline const Aws::String& GetLogResult() const{ return m_logResult; } /** *The last 4 KB of the execution log, which is base64-encoded.
*/ inline bool LogResultHasBeenSet() const { return m_logResultHasBeenSet; } /** *The last 4 KB of the execution log, which is base64-encoded.
*/ inline void SetLogResult(const Aws::String& value) { m_logResultHasBeenSet = true; m_logResult = value; } /** *The last 4 KB of the execution log, which is base64-encoded.
*/ inline void SetLogResult(Aws::String&& value) { m_logResultHasBeenSet = true; m_logResult = std::move(value); } /** *The last 4 KB of the execution log, which is base64-encoded.
*/ inline void SetLogResult(const char* value) { m_logResultHasBeenSet = true; m_logResult.assign(value); } /** *The last 4 KB of the execution log, which is base64-encoded.
*/ inline InvokeWithResponseStreamCompleteEvent& WithLogResult(const Aws::String& value) { SetLogResult(value); return *this;} /** *The last 4 KB of the execution log, which is base64-encoded.
*/ inline InvokeWithResponseStreamCompleteEvent& WithLogResult(Aws::String&& value) { SetLogResult(std::move(value)); return *this;} /** *The last 4 KB of the execution log, which is base64-encoded.
*/ inline InvokeWithResponseStreamCompleteEvent& WithLogResult(const char* value) { SetLogResult(value); return *this;} private: Aws::String m_errorCode; bool m_errorCodeHasBeenSet = false; Aws::String m_errorDetails; bool m_errorDetailsHasBeenSet = false; Aws::String m_logResult; bool m_logResultHasBeenSet = false; }; } // namespace Model } // namespace Lambda } // namespace Aws