7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/CustomerProfilesRequest.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11#include <aws/customer-profiles/model/AttributeDetails.h>
12#include <aws/customer-profiles/model/Conditions.h>
13#include <aws/customer-profiles/model/Filter.h>
14#include <aws/customer-profiles/model/Statistic.h>
19namespace CustomerProfiles {
32 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateCalculatedAttributeDefinition"; }
42 template <
typename DomainNameT = Aws::String>
44 m_domainNameHasBeenSet =
true;
45 m_domainName = std::forward<DomainNameT>(value);
47 template <
typename DomainNameT = Aws::String>
60 template <
typename CalculatedAttributeNameT = Aws::String>
62 m_calculatedAttributeNameHasBeenSet =
true;
63 m_calculatedAttributeName = std::forward<CalculatedAttributeNameT>(value);
65 template <
typename CalculatedAttributeNameT = Aws::String>
78 template <
typename DisplayNameT = Aws::String>
80 m_displayNameHasBeenSet =
true;
81 m_displayName = std::forward<DisplayNameT>(value);
83 template <
typename DisplayNameT = Aws::String>
96 template <
typename DescriptionT = Aws::String>
98 m_descriptionHasBeenSet =
true;
99 m_description = std::forward<DescriptionT>(value);
101 template <
typename DescriptionT = Aws::String>
115 template <
typename AttributeDetailsT = AttributeDetails>
117 m_attributeDetailsHasBeenSet =
true;
118 m_attributeDetails = std::forward<AttributeDetailsT>(value);
120 template <
typename AttributeDetailsT = AttributeDetails>
134 template <
typename ConditionsT = Conditions>
136 m_conditionsHasBeenSet =
true;
137 m_conditions = std::forward<ConditionsT>(value);
139 template <
typename ConditionsT = Conditions>
153 template <
typename FilterT = Filter>
155 m_filterHasBeenSet =
true;
156 m_filter = std::forward<FilterT>(value);
158 template <
typename FilterT = Filter>
172 m_statisticHasBeenSet =
true;
189 m_useHistoricalDataHasBeenSet =
true;
190 m_useHistoricalData = value;
204 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
206 m_tagsHasBeenSet =
true;
207 m_tags = std::forward<TagsT>(value);
209 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
211 SetTags(std::forward<TagsT>(value));
214 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
216 m_tagsHasBeenSet =
true;
217 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
238 bool m_useHistoricalData{
false};
241 bool m_domainNameHasBeenSet =
false;
242 bool m_calculatedAttributeNameHasBeenSet =
false;
243 bool m_displayNameHasBeenSet =
false;
244 bool m_descriptionHasBeenSet =
false;
245 bool m_attributeDetailsHasBeenSet =
false;
246 bool m_conditionsHasBeenSet =
false;
247 bool m_filterHasBeenSet =
false;
248 bool m_statisticHasBeenSet =
false;
249 bool m_useHistoricalDataHasBeenSet =
false;
250 bool m_tagsHasBeenSet =
false;
bool GetUseHistoricalData() const
CreateCalculatedAttributeDefinitionRequest & WithTags(TagsT &&value)
const Filter & GetFilter() const
void SetCalculatedAttributeName(CalculatedAttributeNameT &&value)
Statistic GetStatistic() const
bool UseHistoricalDataHasBeenSet() const
bool AttributeDetailsHasBeenSet() const
CreateCalculatedAttributeDefinitionRequest & WithDomainName(DomainNameT &&value)
virtual const char * GetServiceRequestName() const override
CreateCalculatedAttributeDefinitionRequest & WithConditions(ConditionsT &&value)
const Aws::String & GetDescription() const
CreateCalculatedAttributeDefinitionRequest & WithDisplayName(DisplayNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Conditions & GetConditions() const
void SetDisplayName(DisplayNameT &&value)
CreateCalculatedAttributeDefinitionRequest & WithFilter(FilterT &&value)
void SetDescription(DescriptionT &&value)
CreateCalculatedAttributeDefinitionRequest & WithUseHistoricalData(bool value)
CreateCalculatedAttributeDefinitionRequest & WithStatistic(Statistic value)
const Aws::String & GetDomainName() const
void SetTags(TagsT &&value)
bool CalculatedAttributeNameHasBeenSet() const
bool StatisticHasBeenSet() const
const AttributeDetails & GetAttributeDetails() const
bool ConditionsHasBeenSet() const
bool DomainNameHasBeenSet() const
const Aws::String & GetCalculatedAttributeName() const
CreateCalculatedAttributeDefinitionRequest & WithAttributeDetails(AttributeDetailsT &&value)
bool FilterHasBeenSet() const
void SetUseHistoricalData(bool value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
CreateCalculatedAttributeDefinitionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetAttributeDetails(AttributeDetailsT &&value)
void SetStatistic(Statistic value)
bool DescriptionHasBeenSet() const
void SetConditions(ConditionsT &&value)
const Aws::String & GetDisplayName() const
void SetDomainName(DomainNameT &&value)
CreateCalculatedAttributeDefinitionRequest & WithCalculatedAttributeName(CalculatedAttributeNameT &&value)
void SetFilter(FilterT &&value)
CreateCalculatedAttributeDefinitionRequest & WithDescription(DescriptionT &&value)
bool DisplayNameHasBeenSet() const
AWS_CUSTOMERPROFILES_API CreateCalculatedAttributeDefinitionRequest()=default
bool TagsHasBeenSet() const
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