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

An object that contains information about blacklist events.

See * Also:

AWS * API Reference

*/ class GetBlacklistReportsResult { public: AWS_SESV2_API GetBlacklistReportsResult(); AWS_SESV2_API GetBlacklistReportsResult(const Aws::AmazonWebServiceResult& result); AWS_SESV2_API GetBlacklistReportsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An object that contains information about a blacklist that one of your * dedicated IP addresses appears on.

*/ inline const Aws::Map>& GetBlacklistReport() const{ return m_blacklistReport; } /** *

An object that contains information about a blacklist that one of your * dedicated IP addresses appears on.

*/ inline void SetBlacklistReport(const Aws::Map>& value) { m_blacklistReport = value; } /** *

An object that contains information about a blacklist that one of your * dedicated IP addresses appears on.

*/ inline void SetBlacklistReport(Aws::Map>&& value) { m_blacklistReport = std::move(value); } /** *

An object that contains information about a blacklist that one of your * dedicated IP addresses appears on.

*/ inline GetBlacklistReportsResult& WithBlacklistReport(const Aws::Map>& value) { SetBlacklistReport(value); return *this;} /** *

An object that contains information about a blacklist that one of your * dedicated IP addresses appears on.

*/ inline GetBlacklistReportsResult& WithBlacklistReport(Aws::Map>&& value) { SetBlacklistReport(std::move(value)); return *this;} /** *

An object that contains information about a blacklist that one of your * dedicated IP addresses appears on.

*/ inline GetBlacklistReportsResult& AddBlacklistReport(const Aws::String& key, const Aws::Vector& value) { m_blacklistReport.emplace(key, value); return *this; } /** *

An object that contains information about a blacklist that one of your * dedicated IP addresses appears on.

*/ inline GetBlacklistReportsResult& AddBlacklistReport(Aws::String&& key, const Aws::Vector& value) { m_blacklistReport.emplace(std::move(key), value); return *this; } /** *

An object that contains information about a blacklist that one of your * dedicated IP addresses appears on.

*/ inline GetBlacklistReportsResult& AddBlacklistReport(const Aws::String& key, Aws::Vector&& value) { m_blacklistReport.emplace(key, std::move(value)); return *this; } /** *

An object that contains information about a blacklist that one of your * dedicated IP addresses appears on.

*/ inline GetBlacklistReportsResult& AddBlacklistReport(Aws::String&& key, Aws::Vector&& value) { m_blacklistReport.emplace(std::move(key), std::move(value)); return *this; } /** *

An object that contains information about a blacklist that one of your * dedicated IP addresses appears on.

*/ inline GetBlacklistReportsResult& AddBlacklistReport(const char* key, Aws::Vector&& value) { m_blacklistReport.emplace(key, std::move(value)); return *this; } /** *

An object that contains information about a blacklist that one of your * dedicated IP addresses appears on.

*/ inline GetBlacklistReportsResult& AddBlacklistReport(const char* key, const Aws::Vector& value) { m_blacklistReport.emplace(key, value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetBlacklistReportsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetBlacklistReportsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetBlacklistReportsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Map> m_blacklistReport; Aws::String m_requestId; }; } // namespace Model } // namespace SESV2 } // namespace Aws