/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the end result of the flow run. See Also:
AWS
* API Reference
Provides any error message information related to the flow run.
*/ inline const ErrorInfo& GetErrorInfo() const{ return m_errorInfo; } /** *Provides any error message information related to the flow run.
*/ inline bool ErrorInfoHasBeenSet() const { return m_errorInfoHasBeenSet; } /** *Provides any error message information related to the flow run.
*/ inline void SetErrorInfo(const ErrorInfo& value) { m_errorInfoHasBeenSet = true; m_errorInfo = value; } /** *Provides any error message information related to the flow run.
*/ inline void SetErrorInfo(ErrorInfo&& value) { m_errorInfoHasBeenSet = true; m_errorInfo = std::move(value); } /** *Provides any error message information related to the flow run.
*/ inline ExecutionResult& WithErrorInfo(const ErrorInfo& value) { SetErrorInfo(value); return *this;} /** *Provides any error message information related to the flow run.
*/ inline ExecutionResult& WithErrorInfo(ErrorInfo&& value) { SetErrorInfo(std::move(value)); return *this;} /** *The total number of bytes processed by the flow run.
*/ inline long long GetBytesProcessed() const{ return m_bytesProcessed; } /** *The total number of bytes processed by the flow run.
*/ inline bool BytesProcessedHasBeenSet() const { return m_bytesProcessedHasBeenSet; } /** *The total number of bytes processed by the flow run.
*/ inline void SetBytesProcessed(long long value) { m_bytesProcessedHasBeenSet = true; m_bytesProcessed = value; } /** *The total number of bytes processed by the flow run.
*/ inline ExecutionResult& WithBytesProcessed(long long value) { SetBytesProcessed(value); return *this;} /** *The total number of bytes written as a result of the flow run.
*/ inline long long GetBytesWritten() const{ return m_bytesWritten; } /** *The total number of bytes written as a result of the flow run.
*/ inline bool BytesWrittenHasBeenSet() const { return m_bytesWrittenHasBeenSet; } /** *The total number of bytes written as a result of the flow run.
*/ inline void SetBytesWritten(long long value) { m_bytesWrittenHasBeenSet = true; m_bytesWritten = value; } /** *The total number of bytes written as a result of the flow run.
*/ inline ExecutionResult& WithBytesWritten(long long value) { SetBytesWritten(value); return *this;} /** *The number of records processed in the flow run.
*/ inline long long GetRecordsProcessed() const{ return m_recordsProcessed; } /** *The number of records processed in the flow run.
*/ inline bool RecordsProcessedHasBeenSet() const { return m_recordsProcessedHasBeenSet; } /** *The number of records processed in the flow run.
*/ inline void SetRecordsProcessed(long long value) { m_recordsProcessedHasBeenSet = true; m_recordsProcessed = value; } /** *The number of records processed in the flow run.
*/ inline ExecutionResult& WithRecordsProcessed(long long value) { SetRecordsProcessed(value); return *this;} private: ErrorInfo m_errorInfo; bool m_errorInfoHasBeenSet = false; long long m_bytesProcessed; bool m_bytesProcessedHasBeenSet = false; long long m_bytesWritten; bool m_bytesWrittenHasBeenSet = false; long long m_recordsProcessed; bool m_recordsProcessedHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws