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/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
16namespace AppMonetization {
42 template <
typename AppIdT = Aws::String>
44 m_appIdHasBeenSet =
true;
45 m_appId = std::forward<AppIdT>(value);
47 template <
typename AppIdT = Aws::String>
49 SetAppId(std::forward<AppIdT>(value));
61 template <
typename UserIdT = Aws::String>
63 m_userIdHasBeenSet =
true;
64 m_userId = std::forward<UserIdT>(value);
66 template <
typename UserIdT = Aws::String>
81 template <
typename EventTypeT = Aws::String>
83 m_eventTypeHasBeenSet =
true;
84 m_eventType = std::forward<EventTypeT>(value);
86 template <
typename EventTypeT = Aws::String>
101 m_scopeHasBeenSet =
true;
122 template <
typename QuantityT = Aws::String>
124 m_quantityHasBeenSet =
true;
125 m_quantity = std::forward<QuantityT>(value);
127 template <
typename QuantityT = Aws::String>
144 template <
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
146 m_propertiesHasBeenSet =
true;
147 m_properties = std::forward<PropertiesT>(value);
149 template <
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
154 template <
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = Aws::String>
156 m_propertiesHasBeenSet =
true;
157 m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
173 bool m_appIdHasBeenSet =
false;
174 bool m_userIdHasBeenSet =
false;
175 bool m_eventTypeHasBeenSet =
false;
176 bool m_scopeHasBeenSet =
false;
177 bool m_quantityHasBeenSet =
false;
178 bool m_propertiesHasBeenSet =
false;
const Aws::String & GetQuantity() const
const Aws::String & GetAppId() const
void SetQuantity(QuantityT &&value)
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
bool AppIdHasBeenSet() const
void SetProperties(PropertiesT &&value)
bool PropertiesHasBeenSet() const
virtual const char * GetServiceRequestName() const override
GetEntitlementDecisionRequest & WithEventType(EventTypeT &&value)
AWS_APPMONETIZATION_API GetEntitlementDecisionRequest()=default
bool UserIdHasBeenSet() const
GetEntitlementDecisionRequest & WithQuantity(QuantityT &&value)
bool QuantityHasBeenSet() const
const Aws::String & GetEventType() const
GetEntitlementDecisionRequest & WithScope(RequestScope value)
bool EventTypeHasBeenSet() const
void SetUserId(UserIdT &&value)
GetEntitlementDecisionRequest & WithAppId(AppIdT &&value)
GetEntitlementDecisionRequest & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
bool ScopeHasBeenSet() const
void SetEventType(EventTypeT &&value)
AWS_APPMONETIZATION_API Aws::String SerializePayload() const override
RequestScope GetScope() const
GetEntitlementDecisionRequest & WithUserId(UserIdT &&value)
void SetScope(RequestScope value)
void SetAppId(AppIdT &&value)
const Aws::String & GetUserId() const
GetEntitlementDecisionRequest & WithProperties(PropertiesT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String