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/Statistic.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
18namespace CustomerProfiles
34 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateCalculatedAttributeDefinition"; }
47 inline void SetDomainName(
const char* value) { m_domainNameHasBeenSet =
true; m_domainName.assign(value); }
61 inline void SetCalculatedAttributeName(
const char* value) { m_calculatedAttributeNameHasBeenSet =
true; m_calculatedAttributeName.assign(value); }
75 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
89 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
154 bool m_domainNameHasBeenSet =
false;
157 bool m_calculatedAttributeNameHasBeenSet =
false;
160 bool m_displayNameHasBeenSet =
false;
163 bool m_descriptionHasBeenSet =
false;
166 bool m_attributeDetailsHasBeenSet =
false;
169 bool m_conditionsHasBeenSet =
false;
172 bool m_statisticHasBeenSet =
false;
175 bool m_tagsHasBeenSet =
false;
CreateCalculatedAttributeDefinitionRequest & WithDomainName(const Aws::String &value)
CreateCalculatedAttributeDefinitionRequest & AddTags(Aws::String &&key, const char *value)
void SetDisplayName(const Aws::String &value)
CreateCalculatedAttributeDefinitionRequest & WithConditions(Conditions &&value)
CreateCalculatedAttributeDefinitionRequest & AddTags(const char *key, const char *value)
bool AttributeDetailsHasBeenSet() const
CreateCalculatedAttributeDefinitionRequest & AddTags(Aws::String &&key, Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateCalculatedAttributeDefinitionRequest & WithConditions(const Conditions &value)
CreateCalculatedAttributeDefinitionRequest & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetDescription() const
void SetDomainName(const Aws::String &value)
void SetStatistic(Statistic &&value)
void SetDescription(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateCalculatedAttributeDefinitionRequest & WithDisplayName(const char *value)
const Conditions & GetConditions() const
void SetAttributeDetails(const AttributeDetails &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Statistic & GetStatistic() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDescription(Aws::String &&value)
CreateCalculatedAttributeDefinitionRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetDomainName() const
void SetDisplayName(Aws::String &&value)
void SetCalculatedAttributeName(Aws::String &&value)
void SetCalculatedAttributeName(const Aws::String &value)
AWS_CUSTOMERPROFILES_API CreateCalculatedAttributeDefinitionRequest()
void SetCalculatedAttributeName(const char *value)
bool CalculatedAttributeNameHasBeenSet() const
CreateCalculatedAttributeDefinitionRequest & WithDisplayName(const Aws::String &value)
void SetAttributeDetails(AttributeDetails &&value)
CreateCalculatedAttributeDefinitionRequest & WithDisplayName(Aws::String &&value)
bool StatisticHasBeenSet() const
const AttributeDetails & GetAttributeDetails() const
CreateCalculatedAttributeDefinitionRequest & WithDescription(const char *value)
CreateCalculatedAttributeDefinitionRequest & WithStatistic(Statistic &&value)
bool ConditionsHasBeenSet() const
CreateCalculatedAttributeDefinitionRequest & WithDescription(Aws::String &&value)
void SetDomainName(Aws::String &&value)
bool DomainNameHasBeenSet() const
const Aws::String & GetCalculatedAttributeName() const
CreateCalculatedAttributeDefinitionRequest & WithAttributeDetails(const AttributeDetails &value)
CreateCalculatedAttributeDefinitionRequest & WithCalculatedAttributeName(Aws::String &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
CreateCalculatedAttributeDefinitionRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateCalculatedAttributeDefinitionRequest & WithStatistic(const Statistic &value)
void SetDisplayName(const char *value)
bool DescriptionHasBeenSet() const
void SetStatistic(const Statistic &value)
void SetConditions(Conditions &&value)
CreateCalculatedAttributeDefinitionRequest & WithCalculatedAttributeName(const Aws::String &value)
CreateCalculatedAttributeDefinitionRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::String & GetDisplayName() const
CreateCalculatedAttributeDefinitionRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateCalculatedAttributeDefinitionRequest & WithCalculatedAttributeName(const char *value)
CreateCalculatedAttributeDefinitionRequest & WithDomainName(Aws::String &&value)
CreateCalculatedAttributeDefinitionRequest & WithAttributeDetails(AttributeDetails &&value)
void SetDescription(const Aws::String &value)
CreateCalculatedAttributeDefinitionRequest & WithDomainName(const char *value)
CreateCalculatedAttributeDefinitionRequest & AddTags(const char *key, Aws::String &&value)
void SetConditions(const Conditions &value)
bool DisplayNameHasBeenSet() const
CreateCalculatedAttributeDefinitionRequest & WithDescription(const Aws::String &value)
bool TagsHasBeenSet() const
void SetDomainName(const char *value)
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