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

Generic object containing workflow execution metrics.

See * Also:

AWS * API Reference

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

Workflow execution metrics for APPFLOW_INTEGRATION workflow.

*/ inline const AppflowIntegrationWorkflowMetrics& GetAppflowIntegration() const{ return m_appflowIntegration; } /** *

Workflow execution metrics for APPFLOW_INTEGRATION workflow.

*/ inline bool AppflowIntegrationHasBeenSet() const { return m_appflowIntegrationHasBeenSet; } /** *

Workflow execution metrics for APPFLOW_INTEGRATION workflow.

*/ inline void SetAppflowIntegration(const AppflowIntegrationWorkflowMetrics& value) { m_appflowIntegrationHasBeenSet = true; m_appflowIntegration = value; } /** *

Workflow execution metrics for APPFLOW_INTEGRATION workflow.

*/ inline void SetAppflowIntegration(AppflowIntegrationWorkflowMetrics&& value) { m_appflowIntegrationHasBeenSet = true; m_appflowIntegration = std::move(value); } /** *

Workflow execution metrics for APPFLOW_INTEGRATION workflow.

*/ inline WorkflowMetrics& WithAppflowIntegration(const AppflowIntegrationWorkflowMetrics& value) { SetAppflowIntegration(value); return *this;} /** *

Workflow execution metrics for APPFLOW_INTEGRATION workflow.

*/ inline WorkflowMetrics& WithAppflowIntegration(AppflowIntegrationWorkflowMetrics&& value) { SetAppflowIntegration(std::move(value)); return *this;} private: AppflowIntegrationWorkflowMetrics m_appflowIntegration; bool m_appflowIntegrationHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws