/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CustomerProfiles { namespace Model { /** *

Workflow specific execution metrics for APPFLOW_INTEGRATION * workflow.

See Also:

AWS * API Reference

*/ class AppflowIntegrationWorkflowMetrics { public: AWS_CUSTOMERPROFILES_API AppflowIntegrationWorkflowMetrics(); AWS_CUSTOMERPROFILES_API AppflowIntegrationWorkflowMetrics(Aws::Utils::Json::JsonView jsonValue); AWS_CUSTOMERPROFILES_API AppflowIntegrationWorkflowMetrics& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Number of records processed in APPFLOW_INTEGRATION workflow.

*/ inline long long GetRecordsProcessed() const{ return m_recordsProcessed; } /** *

Number of records processed in APPFLOW_INTEGRATION workflow.

*/ inline bool RecordsProcessedHasBeenSet() const { return m_recordsProcessedHasBeenSet; } /** *

Number of records processed in APPFLOW_INTEGRATION workflow.

*/ inline void SetRecordsProcessed(long long value) { m_recordsProcessedHasBeenSet = true; m_recordsProcessed = value; } /** *

Number of records processed in APPFLOW_INTEGRATION workflow.

*/ inline AppflowIntegrationWorkflowMetrics& WithRecordsProcessed(long long value) { SetRecordsProcessed(value); return *this;} /** *

Total steps completed in APPFLOW_INTEGRATION workflow.

*/ inline long long GetStepsCompleted() const{ return m_stepsCompleted; } /** *

Total steps completed in APPFLOW_INTEGRATION workflow.

*/ inline bool StepsCompletedHasBeenSet() const { return m_stepsCompletedHasBeenSet; } /** *

Total steps completed in APPFLOW_INTEGRATION workflow.

*/ inline void SetStepsCompleted(long long value) { m_stepsCompletedHasBeenSet = true; m_stepsCompleted = value; } /** *

Total steps completed in APPFLOW_INTEGRATION workflow.

*/ inline AppflowIntegrationWorkflowMetrics& WithStepsCompleted(long long value) { SetStepsCompleted(value); return *this;} /** *

Total steps in APPFLOW_INTEGRATION workflow.

*/ inline long long GetTotalSteps() const{ return m_totalSteps; } /** *

Total steps in APPFLOW_INTEGRATION workflow.

*/ inline bool TotalStepsHasBeenSet() const { return m_totalStepsHasBeenSet; } /** *

Total steps in APPFLOW_INTEGRATION workflow.

*/ inline void SetTotalSteps(long long value) { m_totalStepsHasBeenSet = true; m_totalSteps = value; } /** *

Total steps in APPFLOW_INTEGRATION workflow.

*/ inline AppflowIntegrationWorkflowMetrics& WithTotalSteps(long long value) { SetTotalSteps(value); return *this;} private: long long m_recordsProcessed; bool m_recordsProcessedHasBeenSet = false; long long m_stepsCompleted; bool m_stepsCompletedHasBeenSet = false; long long m_totalSteps; bool m_totalStepsHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws