7#include <aws/appmonetization/AppMonetizationRequest.h>
8#include <aws/appmonetization/AppMonetization_EXPORTS.h>
9#include <aws/appmonetization/model/CostTrackingConfiguration.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 NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
81 template <
typename ClientTokenT = Aws::String>
83 m_clientTokenHasBeenSet =
true;
84 m_clientToken = std::forward<ClientTokenT>(value);
86 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));
127 template <
typename CostTrackingT = CostTrackingConfiguration>
129 m_costTrackingHasBeenSet =
true;
130 m_costTracking = std::forward<CostTrackingT>(value);
132 template <
typename CostTrackingT = CostTrackingConfiguration>
147 CostTrackingConfiguration m_costTracking;
148 bool m_nameHasBeenSet =
false;
149 bool m_descriptionHasBeenSet =
false;
150 bool m_clientTokenHasBeenSet =
true;
151 bool m_tagsHasBeenSet =
false;
152 bool m_costTrackingHasBeenSet =
false;
bool ClientTokenHasBeenSet() const
bool DescriptionHasBeenSet() const
bool CostTrackingHasBeenSet() const
AWS_APPMONETIZATION_API CreateAppRequest()=default
void SetTags(TagsT &&value)
CreateAppRequest & WithName(NameT &&value)
CreateAppRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetDescription() const
void SetDescription(DescriptionT &&value)
void SetClientToken(ClientTokenT &&value)
const CostTrackingConfiguration & GetCostTracking() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientToken() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool NameHasBeenSet() const
void SetCostTracking(CostTrackingT &&value)
const Aws::String & GetName() const
bool TagsHasBeenSet() const
CreateAppRequest & WithTags(TagsT &&value)
CreateAppRequest & WithCostTracking(CostTrackingT &&value)
CreateAppRequest & WithDescription(DescriptionT &&value)
AWS_APPMONETIZATION_API Aws::String SerializePayload() const override
CreateAppRequest & WithClientToken(ClientTokenT &&value)
void SetName(NameT &&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