/** * 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 SESV2 { namespace Model { /** *

An object containing additional settings for your VDM configuration as * applicable to the Dashboard.

See Also:

AWS * API Reference

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

Specifies the status of your VDM engagement metrics collection. Can be one of * the following:

  • ENABLED – Amazon SES enables * engagement metrics for the configuration set.

  • * DISABLED – Amazon SES disables engagement metrics for the * configuration set.

*/ inline const FeatureStatus& GetEngagementMetrics() const{ return m_engagementMetrics; } /** *

Specifies the status of your VDM engagement metrics collection. Can be one of * the following:

  • ENABLED – Amazon SES enables * engagement metrics for the configuration set.

  • * DISABLED – Amazon SES disables engagement metrics for the * configuration set.

*/ inline bool EngagementMetricsHasBeenSet() const { return m_engagementMetricsHasBeenSet; } /** *

Specifies the status of your VDM engagement metrics collection. Can be one of * the following:

  • ENABLED – Amazon SES enables * engagement metrics for the configuration set.

  • * DISABLED – Amazon SES disables engagement metrics for the * configuration set.

*/ inline void SetEngagementMetrics(const FeatureStatus& value) { m_engagementMetricsHasBeenSet = true; m_engagementMetrics = value; } /** *

Specifies the status of your VDM engagement metrics collection. Can be one of * the following:

  • ENABLED – Amazon SES enables * engagement metrics for the configuration set.

  • * DISABLED – Amazon SES disables engagement metrics for the * configuration set.

*/ inline void SetEngagementMetrics(FeatureStatus&& value) { m_engagementMetricsHasBeenSet = true; m_engagementMetrics = std::move(value); } /** *

Specifies the status of your VDM engagement metrics collection. Can be one of * the following:

  • ENABLED – Amazon SES enables * engagement metrics for the configuration set.

  • * DISABLED – Amazon SES disables engagement metrics for the * configuration set.

*/ inline DashboardOptions& WithEngagementMetrics(const FeatureStatus& value) { SetEngagementMetrics(value); return *this;} /** *

Specifies the status of your VDM engagement metrics collection. Can be one of * the following:

  • ENABLED – Amazon SES enables * engagement metrics for the configuration set.

  • * DISABLED – Amazon SES disables engagement metrics for the * configuration set.

*/ inline DashboardOptions& WithEngagementMetrics(FeatureStatus&& value) { SetEngagementMetrics(std::move(value)); return *this;} private: FeatureStatus m_engagementMetrics; bool m_engagementMetricsHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws