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/UUID.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
21namespace AppMonetization {
49 template <
typename AppIdT = Aws::String>
51 m_appIdHasBeenSet =
true;
52 m_appId = std::forward<AppIdT>(value);
54 template <
typename AppIdT = Aws::String>
56 SetAppId(std::forward<AppIdT>(value));
69 template <
typename ClientTokenT = Aws::String>
71 m_clientTokenHasBeenSet =
true;
72 m_clientToken = std::forward<ClientTokenT>(value);
74 template <
typename ClientTokenT = Aws::String>
88 template <
typename UserIdT = Aws::String>
90 m_userIdHasBeenSet =
true;
91 m_userId = std::forward<UserIdT>(value);
93 template <
typename UserIdT = Aws::String>
106 template <
typename ServiceT = Aws::String>
108 m_serviceHasBeenSet =
true;
109 m_service = std::forward<ServiceT>(value);
111 template <
typename ServiceT = Aws::String>
124 template <
typename OperationT = Aws::String>
126 m_operationHasBeenSet =
true;
127 m_operation = std::forward<OperationT>(value);
129 template <
typename OperationT = Aws::String>
143 template <
typename QuantityT = Aws::String>
145 m_quantityHasBeenSet =
true;
146 m_quantity = std::forward<QuantityT>(value);
148 template <
typename QuantityT = Aws::String>
162 template <
typename TimestampT = Aws::Utils::DateTime>
164 m_timestampHasBeenSet =
true;
165 m_timestamp = std::forward<TimestampT>(value);
167 template <
typename TimestampT = Aws::Utils::DateTime>
180 template <
typename AwsRegionT = Aws::String>
182 m_awsRegionHasBeenSet =
true;
183 m_awsRegion = std::forward<AwsRegionT>(value);
185 template <
typename AwsRegionT = Aws::String>
199 template <
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
201 m_propertiesHasBeenSet =
true;
202 m_properties = std::forward<PropertiesT>(value);
204 template <
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
209 template <
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = Aws::String>
211 m_propertiesHasBeenSet =
true;
212 m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
225 m_scopeHasBeenSet =
true;
253 bool m_appIdHasBeenSet =
false;
254 bool m_clientTokenHasBeenSet =
true;
255 bool m_userIdHasBeenSet =
false;
256 bool m_serviceHasBeenSet =
false;
257 bool m_operationHasBeenSet =
false;
258 bool m_quantityHasBeenSet =
false;
259 bool m_timestampHasBeenSet =
false;
260 bool m_awsRegionHasBeenSet =
false;
261 bool m_propertiesHasBeenSet =
false;
262 bool m_scopeHasBeenSet =
false;
bool AwsRegionHasBeenSet() const
void SetOperation(OperationT &&value)
AWS_APPMONETIZATION_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
RequestScope GetScope() const
PutAwsServiceEventRequest & WithOperation(OperationT &&value)
bool QuantityHasBeenSet() const
PutAwsServiceEventRequest & WithScope(RequestScope value)
const Aws::Utils::DateTime & GetTimestamp() const
bool ClientTokenHasBeenSet() const
bool PropertiesHasBeenSet() const
AWS_APPMONETIZATION_API Aws::String SerializePayload() const override
bool UserIdHasBeenSet() const
bool ServiceHasBeenSet() const
void SetQuantity(QuantityT &&value)
const Aws::String & GetOperation() const
const Aws::String & GetAppId() const
PutAwsServiceEventRequest & WithQuantity(QuantityT &&value)
void SetAppId(AppIdT &&value)
const Aws::String & GetService() const
const Aws::String & GetClientToken() const
bool OperationHasBeenSet() const
void SetUserId(UserIdT &&value)
PutAwsServiceEventRequest & WithTimestamp(TimestampT &&value)
bool ScopeHasBeenSet() const
PutAwsServiceEventRequest & WithAppId(AppIdT &&value)
const Aws::String & GetAwsRegion() const
bool AppIdHasBeenSet() const
const Aws::String & GetQuantity() const
PutAwsServiceEventRequest & WithAwsRegion(AwsRegionT &&value)
PutAwsServiceEventRequest & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
AWS_APPMONETIZATION_API PutAwsServiceEventRequest()=default
void SetScope(RequestScope value)
PutAwsServiceEventRequest & WithService(ServiceT &&value)
const Aws::String & GetUserId() const
void SetService(ServiceT &&value)
PutAwsServiceEventRequest & WithClientToken(ClientTokenT &&value)
void SetAwsRegion(AwsRegionT &&value)
void SetTimestamp(TimestampT &&value)
bool TimestampHasBeenSet() const
PutAwsServiceEventRequest & WithProperties(PropertiesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
void SetProperties(PropertiesT &&value)
PutAwsServiceEventRequest & WithUserId(UserIdT &&value)
virtual const char * GetServiceRequestName() const override
void SetClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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