/** * 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 { /** *

Response for GetPlatformApplicationAttributes action.

See * Also:

AWS * API Reference

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

Attributes include the following:

  • * AppleCertificateExpiryDate – The expiry date of the SSL certificate * used to configure certificate-based authentication.

  • * ApplePlatformTeamID – The Apple developer account ID used to * configure token-based authentication.

  • * ApplePlatformBundleID – The app identifier used to configure * token-based authentication.

  • EventEndpointCreated * – Topic ARN to which EndpointCreated event notifications should be sent.

    *
  • EventEndpointDeleted – Topic ARN to which * EndpointDeleted event notifications should be sent.

  • * EventEndpointUpdated – Topic ARN to which EndpointUpdate event * notifications should be sent.

  • * EventDeliveryFailure – Topic ARN to which DeliveryFailure event * notifications should be sent upon Direct Publish delivery failure (permanent) to * one of the application's endpoints.

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

Attributes include the following:

  • * AppleCertificateExpiryDate – The expiry date of the SSL certificate * used to configure certificate-based authentication.

  • * ApplePlatformTeamID – The Apple developer account ID used to * configure token-based authentication.

  • * ApplePlatformBundleID – The app identifier used to configure * token-based authentication.

  • EventEndpointCreated * – Topic ARN to which EndpointCreated event notifications should be sent.

    *
  • EventEndpointDeleted – Topic ARN to which * EndpointDeleted event notifications should be sent.

  • * EventEndpointUpdated – Topic ARN to which EndpointUpdate event * notifications should be sent.

  • * EventDeliveryFailure – Topic ARN to which DeliveryFailure event * notifications should be sent upon Direct Publish delivery failure (permanent) to * one of the application's endpoints.

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

Attributes include the following:

  • * AppleCertificateExpiryDate – The expiry date of the SSL certificate * used to configure certificate-based authentication.

  • * ApplePlatformTeamID – The Apple developer account ID used to * configure token-based authentication.

  • * ApplePlatformBundleID – The app identifier used to configure * token-based authentication.

  • EventEndpointCreated * – Topic ARN to which EndpointCreated event notifications should be sent.

    *
  • EventEndpointDeleted – Topic ARN to which * EndpointDeleted event notifications should be sent.

  • * EventEndpointUpdated – Topic ARN to which EndpointUpdate event * notifications should be sent.

  • * EventDeliveryFailure – Topic ARN to which DeliveryFailure event * notifications should be sent upon Direct Publish delivery failure (permanent) to * one of the application's endpoints.

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

Attributes include the following:

  • * AppleCertificateExpiryDate – The expiry date of the SSL certificate * used to configure certificate-based authentication.

  • * ApplePlatformTeamID – The Apple developer account ID used to * configure token-based authentication.

  • * ApplePlatformBundleID – The app identifier used to configure * token-based authentication.

  • EventEndpointCreated * – Topic ARN to which EndpointCreated event notifications should be sent.

    *
  • EventEndpointDeleted – Topic ARN to which * EndpointDeleted event notifications should be sent.

  • * EventEndpointUpdated – Topic ARN to which EndpointUpdate event * notifications should be sent.

  • * EventDeliveryFailure – Topic ARN to which DeliveryFailure event * notifications should be sent upon Direct Publish delivery failure (permanent) to * one of the application's endpoints.

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

Attributes include the following:

  • * AppleCertificateExpiryDate – The expiry date of the SSL certificate * used to configure certificate-based authentication.

  • * ApplePlatformTeamID – The Apple developer account ID used to * configure token-based authentication.

  • * ApplePlatformBundleID – The app identifier used to configure * token-based authentication.

  • EventEndpointCreated * – Topic ARN to which EndpointCreated event notifications should be sent.

    *
  • EventEndpointDeleted – Topic ARN to which * EndpointDeleted event notifications should be sent.

  • * EventEndpointUpdated – Topic ARN to which EndpointUpdate event * notifications should be sent.

  • * EventDeliveryFailure – Topic ARN to which DeliveryFailure event * notifications should be sent upon Direct Publish delivery failure (permanent) to * one of the application's endpoints.

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

Attributes include the following:

  • * AppleCertificateExpiryDate – The expiry date of the SSL certificate * used to configure certificate-based authentication.

  • * ApplePlatformTeamID – The Apple developer account ID used to * configure token-based authentication.

  • * ApplePlatformBundleID – The app identifier used to configure * token-based authentication.

  • EventEndpointCreated * – Topic ARN to which EndpointCreated event notifications should be sent.

    *
  • EventEndpointDeleted – Topic ARN to which * EndpointDeleted event notifications should be sent.

  • * EventEndpointUpdated – Topic ARN to which EndpointUpdate event * notifications should be sent.

  • * EventDeliveryFailure – Topic ARN to which DeliveryFailure event * notifications should be sent upon Direct Publish delivery failure (permanent) to * one of the application's endpoints.

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

Attributes include the following:

  • * AppleCertificateExpiryDate – The expiry date of the SSL certificate * used to configure certificate-based authentication.

  • * ApplePlatformTeamID – The Apple developer account ID used to * configure token-based authentication.

  • * ApplePlatformBundleID – The app identifier used to configure * token-based authentication.

  • EventEndpointCreated * – Topic ARN to which EndpointCreated event notifications should be sent.

    *
  • EventEndpointDeleted – Topic ARN to which * EndpointDeleted event notifications should be sent.

  • * EventEndpointUpdated – Topic ARN to which EndpointUpdate event * notifications should be sent.

  • * EventDeliveryFailure – Topic ARN to which DeliveryFailure event * notifications should be sent upon Direct Publish delivery failure (permanent) to * one of the application's endpoints.

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

Attributes include the following:

  • * AppleCertificateExpiryDate – The expiry date of the SSL certificate * used to configure certificate-based authentication.

  • * ApplePlatformTeamID – The Apple developer account ID used to * configure token-based authentication.

  • * ApplePlatformBundleID – The app identifier used to configure * token-based authentication.

  • EventEndpointCreated * – Topic ARN to which EndpointCreated event notifications should be sent.

    *
  • EventEndpointDeleted – Topic ARN to which * EndpointDeleted event notifications should be sent.

  • * EventEndpointUpdated – Topic ARN to which EndpointUpdate event * notifications should be sent.

  • * EventDeliveryFailure – Topic ARN to which DeliveryFailure event * notifications should be sent upon Direct Publish delivery failure (permanent) to * one of the application's endpoints.

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

Attributes include the following:

  • * AppleCertificateExpiryDate – The expiry date of the SSL certificate * used to configure certificate-based authentication.

  • * ApplePlatformTeamID – The Apple developer account ID used to * configure token-based authentication.

  • * ApplePlatformBundleID – The app identifier used to configure * token-based authentication.

  • EventEndpointCreated * – Topic ARN to which EndpointCreated event notifications should be sent.

    *
  • EventEndpointDeleted – Topic ARN to which * EndpointDeleted event notifications should be sent.

  • * EventEndpointUpdated – Topic ARN to which EndpointUpdate event * notifications should be sent.

  • * EventDeliveryFailure – Topic ARN to which DeliveryFailure event * notifications should be sent upon Direct Publish delivery failure (permanent) to * one of the application's endpoints.

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

Attributes include the following:

  • * AppleCertificateExpiryDate – The expiry date of the SSL certificate * used to configure certificate-based authentication.

  • * ApplePlatformTeamID – The Apple developer account ID used to * configure token-based authentication.

  • * ApplePlatformBundleID – The app identifier used to configure * token-based authentication.

  • EventEndpointCreated * – Topic ARN to which EndpointCreated event notifications should be sent.

    *
  • EventEndpointDeleted – Topic ARN to which * EndpointDeleted event notifications should be sent.

  • * EventEndpointUpdated – Topic ARN to which EndpointUpdate event * notifications should be sent.

  • * EventDeliveryFailure – Topic ARN to which DeliveryFailure event * notifications should be sent upon Direct Publish delivery failure (permanent) to * one of the application's endpoints.

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

Attributes include the following:

  • * AppleCertificateExpiryDate – The expiry date of the SSL certificate * used to configure certificate-based authentication.

  • * ApplePlatformTeamID – The Apple developer account ID used to * configure token-based authentication.

  • * ApplePlatformBundleID – The app identifier used to configure * token-based authentication.

  • EventEndpointCreated * – Topic ARN to which EndpointCreated event notifications should be sent.

    *
  • EventEndpointDeleted – Topic ARN to which * EndpointDeleted event notifications should be sent.

  • * EventEndpointUpdated – Topic ARN to which EndpointUpdate event * notifications should be sent.

  • * EventDeliveryFailure – Topic ARN to which DeliveryFailure event * notifications should be sent upon Direct Publish delivery failure (permanent) to * one of the application's endpoints.

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

Attributes include the following:

  • * AppleCertificateExpiryDate – The expiry date of the SSL certificate * used to configure certificate-based authentication.

  • * ApplePlatformTeamID – The Apple developer account ID used to * configure token-based authentication.

  • * ApplePlatformBundleID – The app identifier used to configure * token-based authentication.

  • EventEndpointCreated * – Topic ARN to which EndpointCreated event notifications should be sent.

    *
  • EventEndpointDeleted – Topic ARN to which * EndpointDeleted event notifications should be sent.

  • * EventEndpointUpdated – Topic ARN to which EndpointUpdate event * notifications should be sent.

  • * EventDeliveryFailure – Topic ARN to which DeliveryFailure event * notifications should be sent upon Direct Publish delivery failure (permanent) to * one of the application's endpoints.

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