Download include/aws/sns/model/ListSubscriptionsByTopicResult.h from Shenghong/dai_env: direct link, hf CLI and curl.
- Browser
- Download file 3.82 kB
-
https://huggingface.co/Shenghong/dai_env/resolve/main/include/aws/sns/model/ListSubscriptionsByTopicResult.h
- Command line
-
hf download hf://Shenghong/dai_env/include/aws/sns/model/ListSubscriptionsByTopicResult.h
-
curl -L -o ListSubscriptionsByTopicResult.h https://huggingface.co/Shenghong/dai_env/resolve/main/include/aws/sns/model/ListSubscriptionsByTopicResult.h
3.82 kB
| /** | |
| * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
| * SPDX-License-Identifier: Apache-2.0. | |
| */ | |
| namespace Aws | |
| { | |
| template<typename RESULT_TYPE> | |
| class AmazonWebServiceResult; | |
| namespace Utils | |
| { | |
| namespace Xml | |
| { | |
| class XmlDocument; | |
| } // namespace Xml | |
| } // namespace Utils | |
| namespace SNS | |
| { | |
| namespace Model | |
| { | |
| /** | |
| * <p>Response for ListSubscriptionsByTopic action.</p><p><h3>See Also:</h3> <a | |
| * href="http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsByTopicResponse">AWS | |
| * API Reference</a></p> | |
| */ | |
| class ListSubscriptionsByTopicResult | |
| { | |
| public: | |
| AWS_SNS_API ListSubscriptionsByTopicResult(); | |
| AWS_SNS_API ListSubscriptionsByTopicResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); | |
| AWS_SNS_API ListSubscriptionsByTopicResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); | |
| ///@{ | |
| /** | |
| * <p>A list of subscriptions.</p> | |
| */ | |
| inline const Aws::Vector<Subscription>& GetSubscriptions() const{ return m_subscriptions; } | |
| inline void SetSubscriptions(const Aws::Vector<Subscription>& value) { m_subscriptions = value; } | |
| inline void SetSubscriptions(Aws::Vector<Subscription>&& value) { m_subscriptions = std::move(value); } | |
| inline ListSubscriptionsByTopicResult& WithSubscriptions(const Aws::Vector<Subscription>& value) { SetSubscriptions(value); return *this;} | |
| inline ListSubscriptionsByTopicResult& WithSubscriptions(Aws::Vector<Subscription>&& value) { SetSubscriptions(std::move(value)); return *this;} | |
| inline ListSubscriptionsByTopicResult& AddSubscriptions(const Subscription& value) { m_subscriptions.push_back(value); return *this; } | |
| inline ListSubscriptionsByTopicResult& AddSubscriptions(Subscription&& value) { m_subscriptions.push_back(std::move(value)); return *this; } | |
| ///@} | |
| ///@{ | |
| /** | |
| * <p>Token to pass along to the next <code>ListSubscriptionsByTopic</code> | |
| * request. This element is returned if there are more subscriptions to | |
| * retrieve.</p> | |
| */ | |
| inline const Aws::String& GetNextToken() const{ return m_nextToken; } | |
| inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } | |
| inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } | |
| inline void SetNextToken(const char* value) { m_nextToken.assign(value); } | |
| inline ListSubscriptionsByTopicResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} | |
| inline ListSubscriptionsByTopicResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} | |
| inline ListSubscriptionsByTopicResult& WithNextToken(const char* value) { SetNextToken(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 ListSubscriptionsByTopicResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} | |
| inline ListSubscriptionsByTopicResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} | |
| ///@} | |
| private: | |
| Aws::Vector<Subscription> m_subscriptions; | |
| Aws::String m_nextToken; | |
| ResponseMetadata m_responseMetadata; | |
| }; | |
| } // namespace Model | |
| } // namespace SNS | |
| } // namespace Aws | |