7#include <aws/appmonetization/AppMonetizationRequest.h>
8#include <aws/appmonetization/AppMonetization_EXPORTS.h>
9#include <aws/appmonetization/model/PlanDefinition.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 {
46 template <
typename AppIdT = Aws::String>
48 m_appIdHasBeenSet =
true;
49 m_appId = std::forward<AppIdT>(value);
51 template <
typename AppIdT = Aws::String>
53 SetAppId(std::forward<AppIdT>(value));
66 template <
typename DefinitionT = PlanDefinition>
68 m_definitionHasBeenSet =
true;
69 m_definition = std::forward<DefinitionT>(value);
71 template <
typename DefinitionT = PlanDefinition>
86 template <
typename ClientTokenT = Aws::String>
88 m_clientTokenHasBeenSet =
true;
89 m_clientToken = std::forward<ClientTokenT>(value);
91 template <
typename ClientTokenT = Aws::String>
105 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
107 m_tagsHasBeenSet =
true;
108 m_tags = std::forward<TagsT>(value);
110 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
112 SetTags(std::forward<TagsT>(value));
115 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
117 m_tagsHasBeenSet =
true;
118 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
130 bool m_appIdHasBeenSet =
false;
131 bool m_definitionHasBeenSet =
false;
132 bool m_clientTokenHasBeenSet =
true;
133 bool m_tagsHasBeenSet =
false;
bool ClientTokenHasBeenSet() const
CreatePlanRequest & WithDefinition(DefinitionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreatePlanRequest & WithTags(TagsT &&value)
CreatePlanRequest & WithClientToken(ClientTokenT &&value)
AWS_APPMONETIZATION_API CreatePlanRequest()=default
const PlanDefinition & GetDefinition() const
void SetDefinition(DefinitionT &&value)
void SetClientToken(ClientTokenT &&value)
bool TagsHasBeenSet() const
CreatePlanRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool AppIdHasBeenSet() const
const Aws::String & GetClientToken() const
AWS_APPMONETIZATION_API Aws::String SerializePayload() const override
bool DefinitionHasBeenSet() const
void SetTags(TagsT &&value)
void SetAppId(AppIdT &&value)
const Aws::String & GetAppId() const
CreatePlanRequest & WithAppId(AppIdT &&value)
virtual const char * GetServiceRequestName() const override
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