/** * 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 DashboardAttributes { public: AWS_SESV2_API DashboardAttributes(); AWS_SESV2_API DashboardAttributes(Aws::Utils::Json::JsonView jsonValue); AWS_SESV2_API DashboardAttributes& 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 your account.

  • DISABLED – * Amazon SES disables engagement metrics for your account.

*/ 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 your account.

  • DISABLED – * Amazon SES disables engagement metrics for your account.

*/ 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 your account.

  • DISABLED – * Amazon SES disables engagement metrics for your account.

*/ 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 your account.

  • DISABLED – * Amazon SES disables engagement metrics for your account.

*/ 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 your account.

  • DISABLED – * Amazon SES disables engagement metrics for your account.

*/ inline DashboardAttributes& 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 your account.

  • DISABLED – * Amazon SES disables engagement metrics for your account.

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