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

  • DISABLED – * Amazon SES disables optimized shared delivery for your account.

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

  • DISABLED – * Amazon SES disables optimized shared delivery for your account.

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

  • DISABLED – * Amazon SES disables optimized shared delivery for your account.

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

  • DISABLED – * Amazon SES disables optimized shared delivery for your account.

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

  • DISABLED – * Amazon SES disables optimized shared delivery for your account.

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

  • DISABLED – * Amazon SES disables optimized shared delivery for your account.

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