/** * 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 Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace SES { namespace Model { /** *

Represents the notification attributes for a list of * identities.

See Also:

AWS * API Reference

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

A map of Identity to IdentityNotificationAttributes.

*/ inline const Aws::Map& GetNotificationAttributes() const{ return m_notificationAttributes; } /** *

A map of Identity to IdentityNotificationAttributes.

*/ inline void SetNotificationAttributes(const Aws::Map& value) { m_notificationAttributes = value; } /** *

A map of Identity to IdentityNotificationAttributes.

*/ inline void SetNotificationAttributes(Aws::Map&& value) { m_notificationAttributes = std::move(value); } /** *

A map of Identity to IdentityNotificationAttributes.

*/ inline GetIdentityNotificationAttributesResult& WithNotificationAttributes(const Aws::Map& value) { SetNotificationAttributes(value); return *this;} /** *

A map of Identity to IdentityNotificationAttributes.

*/ inline GetIdentityNotificationAttributesResult& WithNotificationAttributes(Aws::Map&& value) { SetNotificationAttributes(std::move(value)); return *this;} /** *

A map of Identity to IdentityNotificationAttributes.

*/ inline GetIdentityNotificationAttributesResult& AddNotificationAttributes(const Aws::String& key, const IdentityNotificationAttributes& value) { m_notificationAttributes.emplace(key, value); return *this; } /** *

A map of Identity to IdentityNotificationAttributes.

*/ inline GetIdentityNotificationAttributesResult& AddNotificationAttributes(Aws::String&& key, const IdentityNotificationAttributes& value) { m_notificationAttributes.emplace(std::move(key), value); return *this; } /** *

A map of Identity to IdentityNotificationAttributes.

*/ inline GetIdentityNotificationAttributesResult& AddNotificationAttributes(const Aws::String& key, IdentityNotificationAttributes&& value) { m_notificationAttributes.emplace(key, std::move(value)); return *this; } /** *

A map of Identity to IdentityNotificationAttributes.

*/ inline GetIdentityNotificationAttributesResult& AddNotificationAttributes(Aws::String&& key, IdentityNotificationAttributes&& value) { m_notificationAttributes.emplace(std::move(key), std::move(value)); return *this; } /** *

A map of Identity to IdentityNotificationAttributes.

*/ inline GetIdentityNotificationAttributesResult& AddNotificationAttributes(const char* key, IdentityNotificationAttributes&& value) { m_notificationAttributes.emplace(key, std::move(value)); return *this; } /** *

A map of Identity to IdentityNotificationAttributes.

*/ inline GetIdentityNotificationAttributesResult& AddNotificationAttributes(const char* key, const IdentityNotificationAttributes& value) { m_notificationAttributes.emplace(key, value); return *this; } inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline GetIdentityNotificationAttributesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetIdentityNotificationAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Map m_notificationAttributes; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace SES } // namespace Aws