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

A request to retrieve a list of the blacklists that your dedicated IP * addresses appear on.

See Also:

AWS * API Reference

*/ class GetBlacklistReportsRequest : public SESV2Request { public: AWS_SESV2_API GetBlacklistReportsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBlacklistReports"; } AWS_SESV2_API Aws::String SerializePayload() const override; AWS_SESV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

A list of IP addresses that you want to retrieve blacklist information about. * You can only specify the dedicated IP addresses that you use to send email using * Amazon SES or Amazon Pinpoint.

*/ inline const Aws::Vector& GetBlacklistItemNames() const{ return m_blacklistItemNames; } /** *

A list of IP addresses that you want to retrieve blacklist information about. * You can only specify the dedicated IP addresses that you use to send email using * Amazon SES or Amazon Pinpoint.

*/ inline bool BlacklistItemNamesHasBeenSet() const { return m_blacklistItemNamesHasBeenSet; } /** *

A list of IP addresses that you want to retrieve blacklist information about. * You can only specify the dedicated IP addresses that you use to send email using * Amazon SES or Amazon Pinpoint.

*/ inline void SetBlacklistItemNames(const Aws::Vector& value) { m_blacklistItemNamesHasBeenSet = true; m_blacklistItemNames = value; } /** *

A list of IP addresses that you want to retrieve blacklist information about. * You can only specify the dedicated IP addresses that you use to send email using * Amazon SES or Amazon Pinpoint.

*/ inline void SetBlacklistItemNames(Aws::Vector&& value) { m_blacklistItemNamesHasBeenSet = true; m_blacklistItemNames = std::move(value); } /** *

A list of IP addresses that you want to retrieve blacklist information about. * You can only specify the dedicated IP addresses that you use to send email using * Amazon SES or Amazon Pinpoint.

*/ inline GetBlacklistReportsRequest& WithBlacklistItemNames(const Aws::Vector& value) { SetBlacklistItemNames(value); return *this;} /** *

A list of IP addresses that you want to retrieve blacklist information about. * You can only specify the dedicated IP addresses that you use to send email using * Amazon SES or Amazon Pinpoint.

*/ inline GetBlacklistReportsRequest& WithBlacklistItemNames(Aws::Vector&& value) { SetBlacklistItemNames(std::move(value)); return *this;} /** *

A list of IP addresses that you want to retrieve blacklist information about. * You can only specify the dedicated IP addresses that you use to send email using * Amazon SES or Amazon Pinpoint.

*/ inline GetBlacklistReportsRequest& AddBlacklistItemNames(const Aws::String& value) { m_blacklistItemNamesHasBeenSet = true; m_blacklistItemNames.push_back(value); return *this; } /** *

A list of IP addresses that you want to retrieve blacklist information about. * You can only specify the dedicated IP addresses that you use to send email using * Amazon SES or Amazon Pinpoint.

*/ inline GetBlacklistReportsRequest& AddBlacklistItemNames(Aws::String&& value) { m_blacklistItemNamesHasBeenSet = true; m_blacklistItemNames.push_back(std::move(value)); return *this; } /** *

A list of IP addresses that you want to retrieve blacklist information about. * You can only specify the dedicated IP addresses that you use to send email using * Amazon SES or Amazon Pinpoint.

*/ inline GetBlacklistReportsRequest& AddBlacklistItemNames(const char* value) { m_blacklistItemNamesHasBeenSet = true; m_blacklistItemNames.push_back(value); return *this; } private: Aws::Vector m_blacklistItemNames; bool m_blacklistItemNamesHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws