/** * 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 { /** *

Enable or disable collection of reputation metrics for emails that you send * using this configuration set in the current Amazon Web Services Region. *

See Also:

AWS * API Reference

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

If true, tracking of reputation metrics is enabled for the * configuration set. If false, tracking of reputation metrics is * disabled for the configuration set.

*/ inline bool GetReputationMetricsEnabled() const{ return m_reputationMetricsEnabled; } /** *

If true, tracking of reputation metrics is enabled for the * configuration set. If false, tracking of reputation metrics is * disabled for the configuration set.

*/ inline bool ReputationMetricsEnabledHasBeenSet() const { return m_reputationMetricsEnabledHasBeenSet; } /** *

If true, tracking of reputation metrics is enabled for the * configuration set. If false, tracking of reputation metrics is * disabled for the configuration set.

*/ inline void SetReputationMetricsEnabled(bool value) { m_reputationMetricsEnabledHasBeenSet = true; m_reputationMetricsEnabled = value; } /** *

If true, tracking of reputation metrics is enabled for the * configuration set. If false, tracking of reputation metrics is * disabled for the configuration set.

*/ inline ReputationOptions& WithReputationMetricsEnabled(bool value) { SetReputationMetricsEnabled(value); return *this;} /** *

The date and time (in Unix time) when the reputation metrics were last given * a fresh start. When your account is given a fresh start, your reputation metrics * are calculated starting from the date of the fresh start.

*/ inline const Aws::Utils::DateTime& GetLastFreshStart() const{ return m_lastFreshStart; } /** *

The date and time (in Unix time) when the reputation metrics were last given * a fresh start. When your account is given a fresh start, your reputation metrics * are calculated starting from the date of the fresh start.

*/ inline bool LastFreshStartHasBeenSet() const { return m_lastFreshStartHasBeenSet; } /** *

The date and time (in Unix time) when the reputation metrics were last given * a fresh start. When your account is given a fresh start, your reputation metrics * are calculated starting from the date of the fresh start.

*/ inline void SetLastFreshStart(const Aws::Utils::DateTime& value) { m_lastFreshStartHasBeenSet = true; m_lastFreshStart = value; } /** *

The date and time (in Unix time) when the reputation metrics were last given * a fresh start. When your account is given a fresh start, your reputation metrics * are calculated starting from the date of the fresh start.

*/ inline void SetLastFreshStart(Aws::Utils::DateTime&& value) { m_lastFreshStartHasBeenSet = true; m_lastFreshStart = std::move(value); } /** *

The date and time (in Unix time) when the reputation metrics were last given * a fresh start. When your account is given a fresh start, your reputation metrics * are calculated starting from the date of the fresh start.

*/ inline ReputationOptions& WithLastFreshStart(const Aws::Utils::DateTime& value) { SetLastFreshStart(value); return *this;} /** *

The date and time (in Unix time) when the reputation metrics were last given * a fresh start. When your account is given a fresh start, your reputation metrics * are calculated starting from the date of the fresh start.

*/ inline ReputationOptions& WithLastFreshStart(Aws::Utils::DateTime&& value) { SetLastFreshStart(std::move(value)); return *this;} private: bool m_reputationMetricsEnabled; bool m_reputationMetricsEnabledHasBeenSet = false; Aws::Utils::DateTime m_lastFreshStart; bool m_lastFreshStartHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws