/** * 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 Guardian.

See Also:

AWS * API Reference

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

Specifies the status of your VDM optimized shared delivery. Can be one of the * following:

  • ENABLED – Amazon SES enables optimized * shared delivery for the configuration set.

  • * DISABLED – Amazon SES disables optimized shared delivery for the * configuration set.

*/ inline const FeatureStatus& GetOptimizedSharedDelivery() const{ return m_optimizedSharedDelivery; } /** *

Specifies the status of your VDM optimized shared delivery. Can be one of the * following:

  • ENABLED – Amazon SES enables optimized * shared delivery for the configuration set.

  • * DISABLED – Amazon SES disables optimized shared delivery for the * configuration set.

*/ inline bool OptimizedSharedDeliveryHasBeenSet() const { return m_optimizedSharedDeliveryHasBeenSet; } /** *

Specifies the status of your VDM optimized shared delivery. Can be one of the * following:

  • ENABLED – Amazon SES enables optimized * shared delivery for the configuration set.

  • * DISABLED – Amazon SES disables optimized shared delivery for the * configuration set.

*/ inline void SetOptimizedSharedDelivery(const FeatureStatus& value) { m_optimizedSharedDeliveryHasBeenSet = true; m_optimizedSharedDelivery = value; } /** *

Specifies the status of your VDM optimized shared delivery. Can be one of the * following:

  • ENABLED – Amazon SES enables optimized * shared delivery for the configuration set.

  • * DISABLED – Amazon SES disables optimized shared delivery for the * configuration set.

*/ inline void SetOptimizedSharedDelivery(FeatureStatus&& value) { m_optimizedSharedDeliveryHasBeenSet = true; m_optimizedSharedDelivery = std::move(value); } /** *

Specifies the status of your VDM optimized shared delivery. Can be one of the * following:

  • ENABLED – Amazon SES enables optimized * shared delivery for the configuration set.

  • * DISABLED – Amazon SES disables optimized shared delivery for the * configuration set.

*/ inline GuardianOptions& WithOptimizedSharedDelivery(const FeatureStatus& value) { SetOptimizedSharedDelivery(value); return *this;} /** *

Specifies the status of your VDM optimized shared delivery. Can be one of the * following:

  • ENABLED – Amazon SES enables optimized * shared delivery for the configuration set.

  • * DISABLED – Amazon SES disables optimized shared delivery for the * configuration set.

*/ inline GuardianOptions& WithOptimizedSharedDelivery(FeatureStatus&& value) { SetOptimizedSharedDelivery(std::move(value)); return *this;} private: FeatureStatus m_optimizedSharedDelivery; bool m_optimizedSharedDeliveryHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws