7#include <aws/appmonetization/AppMonetizationRequest.h>
8#include <aws/appmonetization/AppMonetization_EXPORTS.h>
9#include <aws/appmonetization/model/OneTimePriceDefinition.h>
10#include <aws/core/utils/UUID.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17namespace AppMonetization {
43 template <
typename AppIdT = Aws::String>
45 m_appIdHasBeenSet =
true;
46 m_appId = std::forward<AppIdT>(value);
48 template <
typename AppIdT = Aws::String>
50 SetAppId(std::forward<AppIdT>(value));
62 template <
typename DefinitionT = OneTimePriceDefinition>
64 m_definitionHasBeenSet =
true;
65 m_definition = std::forward<DefinitionT>(value);
67 template <
typename DefinitionT = OneTimePriceDefinition>
82 template <
typename ClientTokenT = Aws::String>
84 m_clientTokenHasBeenSet =
true;
85 m_clientToken = std::forward<ClientTokenT>(value);
87 template <
typename ClientTokenT = Aws::String>
101 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
103 m_tagsHasBeenSet =
true;
104 m_tags = std::forward<TagsT>(value);
106 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
108 SetTags(std::forward<TagsT>(value));
111 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
113 m_tagsHasBeenSet =
true;
114 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
126 bool m_appIdHasBeenSet =
false;
127 bool m_definitionHasBeenSet =
false;
128 bool m_clientTokenHasBeenSet =
true;
129 bool m_tagsHasBeenSet =
false;
CreateOneTimePriceRequest & WithAppId(AppIdT &&value)
CreateOneTimePriceRequest & WithTags(TagsT &&value)
void SetDefinition(DefinitionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ClientTokenHasBeenSet() const
void SetTags(TagsT &&value)
AWS_APPMONETIZATION_API Aws::String SerializePayload() const override
void SetClientToken(ClientTokenT &&value)
CreateOneTimePriceRequest & WithDefinition(DefinitionT &&value)
const Aws::String & GetAppId() const
virtual const char * GetServiceRequestName() const override
void SetAppId(AppIdT &&value)
CreateOneTimePriceRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
bool DefinitionHasBeenSet() const
bool AppIdHasBeenSet() const
const OneTimePriceDefinition & GetDefinition() const
AWS_APPMONETIZATION_API CreateOneTimePriceRequest()=default
CreateOneTimePriceRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool TagsHasBeenSet() const
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