7#include <aws/sns/SNS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sns/model/ResponseMetadata.h>
11#include <aws/sns/model/Subscription.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
48 template<
typename SubscriptionsT = Aws::Vector<Subscription>>
49 void SetSubscriptions(SubscriptionsT&& value) { m_subscriptionsHasBeenSet =
true; m_subscriptions = std::forward<SubscriptionsT>(value); }
50 template<
typename SubscriptionsT = Aws::Vector<Subscription>>
52 template<
typename SubscriptionsT = Subscription>
62 template<
typename NextTokenT = Aws::String>
63 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
64 template<
typename NextTokenT = Aws::String>
71 template<
typename ResponseMetadataT = ResponseMetadata>
72 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
73 template<
typename ResponseMetadataT = ResponseMetadata>
79 bool m_subscriptionsHasBeenSet =
false;
82 bool m_nextTokenHasBeenSet =
false;
85 bool m_responseMetadataHasBeenSet =
false;
ListSubscriptionsResult & AddSubscriptions(SubscriptionsT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_SNS_API ListSubscriptionsResult()=default
AWS_SNS_API ListSubscriptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetNextToken() const
void SetSubscriptions(SubscriptionsT &&value)
ListSubscriptionsResult & WithSubscriptions(SubscriptionsT &&value)
ListSubscriptionsResult & WithNextToken(NextTokenT &&value)
void SetNextToken(NextTokenT &&value)
ListSubscriptionsResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_SNS_API ListSubscriptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< Subscription > & GetSubscriptions() const
const ResponseMetadata & GetResponseMetadata() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument