/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SESV2 { namespace Model { /** *

An object that contains details about the resource destination the import job * is going to target.

See Also:

AWS * API Reference

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

An object that contains the action of the import job towards suppression * list.

*/ inline const SuppressionListDestination& GetSuppressionListDestination() const{ return m_suppressionListDestination; } /** *

An object that contains the action of the import job towards suppression * list.

*/ inline bool SuppressionListDestinationHasBeenSet() const { return m_suppressionListDestinationHasBeenSet; } /** *

An object that contains the action of the import job towards suppression * list.

*/ inline void SetSuppressionListDestination(const SuppressionListDestination& value) { m_suppressionListDestinationHasBeenSet = true; m_suppressionListDestination = value; } /** *

An object that contains the action of the import job towards suppression * list.

*/ inline void SetSuppressionListDestination(SuppressionListDestination&& value) { m_suppressionListDestinationHasBeenSet = true; m_suppressionListDestination = std::move(value); } /** *

An object that contains the action of the import job towards suppression * list.

*/ inline ImportDestination& WithSuppressionListDestination(const SuppressionListDestination& value) { SetSuppressionListDestination(value); return *this;} /** *

An object that contains the action of the import job towards suppression * list.

*/ inline ImportDestination& WithSuppressionListDestination(SuppressionListDestination&& value) { SetSuppressionListDestination(std::move(value)); return *this;} /** *

An object that contains the action of the import job towards a contact * list.

*/ inline const ContactListDestination& GetContactListDestination() const{ return m_contactListDestination; } /** *

An object that contains the action of the import job towards a contact * list.

*/ inline bool ContactListDestinationHasBeenSet() const { return m_contactListDestinationHasBeenSet; } /** *

An object that contains the action of the import job towards a contact * list.

*/ inline void SetContactListDestination(const ContactListDestination& value) { m_contactListDestinationHasBeenSet = true; m_contactListDestination = value; } /** *

An object that contains the action of the import job towards a contact * list.

*/ inline void SetContactListDestination(ContactListDestination&& value) { m_contactListDestinationHasBeenSet = true; m_contactListDestination = std::move(value); } /** *

An object that contains the action of the import job towards a contact * list.

*/ inline ImportDestination& WithContactListDestination(const ContactListDestination& value) { SetContactListDestination(value); return *this;} /** *

An object that contains the action of the import job towards a contact * list.

*/ inline ImportDestination& WithContactListDestination(ContactListDestination&& value) { SetContactListDestination(std::move(value)); return *this;} private: SuppressionListDestination m_suppressionListDestination; bool m_suppressionListDestinationHasBeenSet = false; ContactListDestination m_contactListDestination; bool m_contactListDestinationHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws