7#include <aws/appmonetization/AppMonetizationRequest.h>
8#include <aws/appmonetization/AppMonetization_EXPORTS.h>
9#include <aws/appmonetization/model/RequestScope.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
19namespace AppMonetization {
47 template <
typename AppIdT = Aws::String>
49 m_appIdHasBeenSet =
true;
50 m_appId = std::forward<AppIdT>(value);
52 template <
typename AppIdT = Aws::String>
54 SetAppId(std::forward<AppIdT>(value));
66 template <
typename UserIdT = Aws::String>
68 m_userIdHasBeenSet =
true;
69 m_userId = std::forward<UserIdT>(value);
71 template <
typename UserIdT = Aws::String>
85 template <
typename EffectiveAfterT = Aws::Utils::DateTime>
87 m_effectiveAfterHasBeenSet =
true;
88 m_effectiveAfter = std::forward<EffectiveAfterT>(value);
90 template <
typename EffectiveAfterT = Aws::Utils::DateTime>
103 template <
typename EffectiveBeforeT = Aws::Utils::DateTime>
105 m_effectiveBeforeHasBeenSet =
true;
106 m_effectiveBefore = std::forward<EffectiveBeforeT>(value);
108 template <
typename EffectiveBeforeT = Aws::Utils::DateTime>
122 m_maxResultsHasBeenSet =
true;
123 m_maxResults = value;
139 template <
typename NextTokenT = Aws::String>
141 m_nextTokenHasBeenSet =
true;
142 m_nextToken = std::forward<NextTokenT>(value);
144 template <
typename NextTokenT = Aws::String>
158 m_scopeHasBeenSet =
true;
180 bool m_appIdHasBeenSet =
false;
181 bool m_userIdHasBeenSet =
false;
182 bool m_effectiveAfterHasBeenSet =
false;
183 bool m_effectiveBeforeHasBeenSet =
false;
184 bool m_maxResultsHasBeenSet =
false;
185 bool m_nextTokenHasBeenSet =
false;
186 bool m_scopeHasBeenSet =
false;
void SetMaxResults(int value)
const Aws::String & GetNextToken() const
bool UserIdHasBeenSet() const
GetSubscriptionHistoryRequest & WithMaxResults(int value)
bool MaxResultsHasBeenSet() const
void SetNextToken(NextTokenT &&value)
const Aws::String & GetUserId() const
virtual const char * GetServiceRequestName() const override
GetSubscriptionHistoryRequest & WithEffectiveBefore(EffectiveBeforeT &&value)
const Aws::Utils::DateTime & GetEffectiveAfter() const
GetSubscriptionHistoryRequest & WithNextToken(NextTokenT &&value)
bool EffectiveBeforeHasBeenSet() const
GetSubscriptionHistoryRequest & WithScope(RequestScope value)
bool AppIdHasBeenSet() const
int GetMaxResults() const
GetSubscriptionHistoryRequest & WithUserId(UserIdT &&value)
GetSubscriptionHistoryRequest & WithAppId(AppIdT &&value)
AWS_APPMONETIZATION_API GetSubscriptionHistoryRequest()=default
RequestScope GetScope() const
void SetAppId(AppIdT &&value)
void SetEffectiveBefore(EffectiveBeforeT &&value)
void SetUserId(UserIdT &&value)
AWS_APPMONETIZATION_API Aws::String SerializePayload() const override
GetSubscriptionHistoryRequest & WithEffectiveAfter(EffectiveAfterT &&value)
void SetEffectiveAfter(EffectiveAfterT &&value)
bool ScopeHasBeenSet() const
const Aws::String & GetAppId() const
void SetScope(RequestScope value)
bool NextTokenHasBeenSet() const
const Aws::Utils::DateTime & GetEffectiveBefore() const
AWS_APPMONETIZATION_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool EffectiveAfterHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String