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>
95 template <
typename EffectiveAtT = Aws::Utils::DateTime>
97 m_effectiveAtHasBeenSet =
true;
98 m_effectiveAt = std::forward<EffectiveAtT>(value);
100 template <
typename EffectiveAtT = Aws::Utils::DateTime>
114 m_scopeHasBeenSet =
true;
130 bool m_appIdHasBeenSet =
false;
131 bool m_userIdHasBeenSet =
false;
132 bool m_effectiveAtHasBeenSet =
false;
133 bool m_scopeHasBeenSet =
false;
void SetAppId(AppIdT &&value)
RequestScope GetScope() const
bool ScopeHasBeenSet() const
const Aws::Utils::DateTime & GetEffectiveAt() const
bool AppIdHasBeenSet() const
bool UserIdHasBeenSet() const
AWS_APPMONETIZATION_API Aws::String SerializePayload() const override
CancelSubscriptionRequest & WithEffectiveAt(EffectiveAtT &&value)
void SetEffectiveAt(EffectiveAtT &&value)
CancelSubscriptionRequest & WithAppId(AppIdT &&value)
const Aws::String & GetAppId() const
void SetUserId(UserIdT &&value)
CancelSubscriptionRequest & WithScope(RequestScope value)
CancelSubscriptionRequest & WithUserId(UserIdT &&value)
bool EffectiveAtHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetScope(RequestScope value)
AWS_APPMONETIZATION_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APPMONETIZATION_API CancelSubscriptionRequest()=default
const Aws::String & GetUserId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String