7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qbusiness/QBusiness_EXPORTS.h>
11#include <aws/qbusiness/model/Subscription.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
39 template <
typename NextTokenT = Aws::String>
41 m_nextTokenHasBeenSet =
true;
42 m_nextToken = std::forward<NextTokenT>(value);
44 template <
typename NextTokenT = Aws::String>
57 template <
typename SubscriptionsT = Aws::Vector<Subscription>>
59 m_subscriptionsHasBeenSet =
true;
60 m_subscriptions = std::forward<SubscriptionsT>(value);
62 template <
typename SubscriptionsT = Aws::Vector<Subscription>>
67 template <
typename SubscriptionsT = Subscription>
69 m_subscriptionsHasBeenSet =
true;
70 m_subscriptions.emplace_back(std::forward<SubscriptionsT>(value));
78 template <
typename RequestIdT = Aws::String>
80 m_requestIdHasBeenSet =
true;
81 m_requestId = std::forward<RequestIdT>(value);
83 template <
typename RequestIdT = Aws::String>
98 bool m_nextTokenHasBeenSet =
false;
99 bool m_subscriptionsHasBeenSet =
false;
100 bool m_requestIdHasBeenSet =
false;
void SetSubscriptions(SubscriptionsT &&value)
AWS_QBUSINESS_API ListSubscriptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
ListSubscriptionsResult & WithRequestId(RequestIdT &&value)
ListSubscriptionsResult & WithNextToken(NextTokenT &&value)
ListSubscriptionsResult & WithSubscriptions(SubscriptionsT &&value)
AWS_QBUSINESS_API ListSubscriptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
ListSubscriptionsResult & AddSubscriptions(SubscriptionsT &&value)
const Aws::Vector< Subscription > & GetSubscriptions() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
AWS_QBUSINESS_API ListSubscriptionsResult()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue