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

The response from the GetSMSAttributes request.

See * Also:

AWS * API Reference

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

The SMS attribute names and their values.

*/ inline const Aws::Map& GetAttributes() const{ return m_attributes; } /** *

The SMS attribute names and their values.

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

The SMS attribute names and their values.

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

The SMS attribute names and their values.

*/ inline GetSMSAttributesResult& WithAttributes(const Aws::Map& value) { SetAttributes(value); return *this;} /** *

The SMS attribute names and their values.

*/ inline GetSMSAttributesResult& WithAttributes(Aws::Map&& value) { SetAttributes(std::move(value)); return *this;} /** *

The SMS attribute names and their values.

*/ inline GetSMSAttributesResult& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributes.emplace(key, value); return *this; } /** *

The SMS attribute names and their values.

*/ inline GetSMSAttributesResult& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributes.emplace(std::move(key), value); return *this; } /** *

The SMS attribute names and their values.

*/ inline GetSMSAttributesResult& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; } /** *

The SMS attribute names and their values.

*/ inline GetSMSAttributesResult& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; } /** *

The SMS attribute names and their values.

*/ inline GetSMSAttributesResult& AddAttributes(const char* key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; } /** *

The SMS attribute names and their values.

*/ inline GetSMSAttributesResult& AddAttributes(Aws::String&& key, const char* value) { m_attributes.emplace(std::move(key), value); return *this; } /** *

The SMS attribute names and their values.

*/ inline GetSMSAttributesResult& AddAttributes(const char* key, const char* value) { m_attributes.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 GetSMSAttributesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetSMSAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Map m_attributes; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace SNS } // namespace Aws