7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/model/AttributeDetails.h>
11#include <aws/customer-profiles/model/Conditions.h>
12#include <aws/customer-profiles/model/Filter.h>
13#include <aws/customer-profiles/model/Statistic.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
19namespace CustomerProfiles
35 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateCalculatedAttributeDefinition"; }
46 template<
typename DomainNameT = Aws::String>
47 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet =
true; m_domainName = std::forward<DomainNameT>(value); }
48 template<
typename DomainNameT = Aws::String>
58 template<
typename CalculatedAttributeNameT = Aws::String>
59 void SetCalculatedAttributeName(CalculatedAttributeNameT&& value) { m_calculatedAttributeNameHasBeenSet =
true; m_calculatedAttributeName = std::forward<CalculatedAttributeNameT>(value); }
60 template<
typename CalculatedAttributeNameT = Aws::String>
70 template<
typename DisplayNameT = Aws::String>
71 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
72 template<
typename DisplayNameT = Aws::String>
82 template<
typename DescriptionT = Aws::String>
83 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
84 template<
typename DescriptionT = Aws::String>
95 template<
typename AttributeDetailsT = AttributeDetails>
96 void SetAttributeDetails(AttributeDetailsT&& value) { m_attributeDetailsHasBeenSet =
true; m_attributeDetails = std::forward<AttributeDetailsT>(value); }
97 template<
typename AttributeDetailsT = AttributeDetails>
108 template<
typename ConditionsT = Conditions>
109 void SetConditions(ConditionsT&& value) { m_conditionsHasBeenSet =
true; m_conditions = std::forward<ConditionsT>(value); }
110 template<
typename ConditionsT = Conditions>
121 template<
typename FilterT = Filter>
122 void SetFilter(FilterT&& value) { m_filterHasBeenSet =
true; m_filter = std::forward<FilterT>(value); }
123 template<
typename FilterT = Filter>
144 inline void SetUseHistoricalData(
bool value) { m_useHistoricalDataHasBeenSet =
true; m_useHistoricalData = value; }
154 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
155 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
156 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
158 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
160 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
166 bool m_domainNameHasBeenSet =
false;
169 bool m_calculatedAttributeNameHasBeenSet =
false;
172 bool m_displayNameHasBeenSet =
false;
175 bool m_descriptionHasBeenSet =
false;
178 bool m_attributeDetailsHasBeenSet =
false;
181 bool m_conditionsHasBeenSet =
false;
184 bool m_filterHasBeenSet =
false;
187 bool m_statisticHasBeenSet =
false;
189 bool m_useHistoricalData{
false};
190 bool m_useHistoricalDataHasBeenSet =
false;
193 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