7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/appmonetization/model/PendingChange.h>
9#include <aws/appmonetization/model/Subscription.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace AppMonetization {
43 template <
typename SubscriptionT = Subscription>
45 m_subscriptionHasBeenSet =
true;
46 m_subscription = std::forward<SubscriptionT>(value);
48 template <
typename SubscriptionT = Subscription>
61 template <
typename PendingChangeT = PendingChange>
63 m_pendingChangeHasBeenSet =
true;
64 m_pendingChange = std::forward<PendingChangeT>(value);
66 template <
typename PendingChangeT = PendingChange>
80 template <
typename CurrentPeriodEndsAtT = Aws::Utils::DateTime>
82 m_currentPeriodEndsAtHasBeenSet =
true;
83 m_currentPeriodEndsAt = std::forward<CurrentPeriodEndsAtT>(value);
85 template <
typename CurrentPeriodEndsAtT = Aws::Utils::DateTime>
95 template <
typename RequestIdT = Aws::String>
97 m_requestIdHasBeenSet =
true;
98 m_requestId = std::forward<RequestIdT>(value);
100 template <
typename RequestIdT = Aws::String>
117 bool m_subscriptionHasBeenSet =
false;
118 bool m_pendingChangeHasBeenSet =
false;
119 bool m_currentPeriodEndsAtHasBeenSet =
false;
120 bool m_requestIdHasBeenSet =
false;
void SetPendingChange(PendingChangeT &&value)
AWS_APPMONETIZATION_API GetSubscriptionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const PendingChange & GetPendingChange() const
const Aws::Utils::DateTime & GetCurrentPeriodEndsAt() const
AWS_APPMONETIZATION_API GetSubscriptionResult()=default
AWS_APPMONETIZATION_API GetSubscriptionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
GetSubscriptionResult & WithPendingChange(PendingChangeT &&value)
const Subscription & GetSubscription() const
GetSubscriptionResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
GetSubscriptionResult & WithCurrentPeriodEndsAt(CurrentPeriodEndsAtT &&value)
void SetCurrentPeriodEndsAt(CurrentPeriodEndsAtT &&value)
GetSubscriptionResult & WithSubscription(SubscriptionT &&value)
void SetSubscription(SubscriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue