AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateCalculatedAttributeDefinitionRequest.h
1
6#pragma once
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>
14#include <utility>
15
16namespace Aws
17{
18namespace CustomerProfiles
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateCalculatedAttributeDefinition"; }
35
36 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetDomainName() const{ return m_domainName; }
44 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
45 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
46 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
47 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
49 inline CreateCalculatedAttributeDefinitionRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
50 inline CreateCalculatedAttributeDefinitionRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
52
54
57 inline const Aws::String& GetCalculatedAttributeName() const{ return m_calculatedAttributeName; }
58 inline bool CalculatedAttributeNameHasBeenSet() const { return m_calculatedAttributeNameHasBeenSet; }
59 inline void SetCalculatedAttributeName(const Aws::String& value) { m_calculatedAttributeNameHasBeenSet = true; m_calculatedAttributeName = value; }
60 inline void SetCalculatedAttributeName(Aws::String&& value) { m_calculatedAttributeNameHasBeenSet = true; m_calculatedAttributeName = std::move(value); }
61 inline void SetCalculatedAttributeName(const char* value) { m_calculatedAttributeNameHasBeenSet = true; m_calculatedAttributeName.assign(value); }
66
68
71 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
72 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
73 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
74 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
75 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
77 inline CreateCalculatedAttributeDefinitionRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
78 inline CreateCalculatedAttributeDefinitionRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
80
82
85 inline const Aws::String& GetDescription() const{ return m_description; }
86 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
87 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
88 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
89 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
91 inline CreateCalculatedAttributeDefinitionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
92 inline CreateCalculatedAttributeDefinitionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
94
96
100 inline const AttributeDetails& GetAttributeDetails() const{ return m_attributeDetails; }
101 inline bool AttributeDetailsHasBeenSet() const { return m_attributeDetailsHasBeenSet; }
102 inline void SetAttributeDetails(const AttributeDetails& value) { m_attributeDetailsHasBeenSet = true; m_attributeDetails = value; }
103 inline void SetAttributeDetails(AttributeDetails&& value) { m_attributeDetailsHasBeenSet = true; m_attributeDetails = std::move(value); }
107
109
113 inline const Conditions& GetConditions() const{ return m_conditions; }
114 inline bool ConditionsHasBeenSet() const { return m_conditionsHasBeenSet; }
115 inline void SetConditions(const Conditions& value) { m_conditionsHasBeenSet = true; m_conditions = value; }
116 inline void SetConditions(Conditions&& value) { m_conditionsHasBeenSet = true; m_conditions = std::move(value); }
118 inline CreateCalculatedAttributeDefinitionRequest& WithConditions(Conditions&& value) { SetConditions(std::move(value)); return *this;}
120
122
125 inline const Statistic& GetStatistic() const{ return m_statistic; }
126 inline bool StatisticHasBeenSet() const { return m_statisticHasBeenSet; }
127 inline void SetStatistic(const Statistic& value) { m_statisticHasBeenSet = true; m_statistic = value; }
128 inline void SetStatistic(Statistic&& value) { m_statisticHasBeenSet = true; m_statistic = std::move(value); }
130 inline CreateCalculatedAttributeDefinitionRequest& WithStatistic(Statistic&& value) { SetStatistic(std::move(value)); return *this;}
132
134
137 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
138 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
139 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
140 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
143 inline CreateCalculatedAttributeDefinitionRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
144 inline CreateCalculatedAttributeDefinitionRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
145 inline CreateCalculatedAttributeDefinitionRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
146 inline CreateCalculatedAttributeDefinitionRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
147 inline CreateCalculatedAttributeDefinitionRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
148 inline CreateCalculatedAttributeDefinitionRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
149 inline CreateCalculatedAttributeDefinitionRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
151 private:
152
153 Aws::String m_domainName;
154 bool m_domainNameHasBeenSet = false;
155
156 Aws::String m_calculatedAttributeName;
157 bool m_calculatedAttributeNameHasBeenSet = false;
158
159 Aws::String m_displayName;
160 bool m_displayNameHasBeenSet = false;
161
162 Aws::String m_description;
163 bool m_descriptionHasBeenSet = false;
164
165 AttributeDetails m_attributeDetails;
166 bool m_attributeDetailsHasBeenSet = false;
167
168 Conditions m_conditions;
169 bool m_conditionsHasBeenSet = false;
170
171 Statistic m_statistic;
172 bool m_statisticHasBeenSet = false;
173
175 bool m_tagsHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace CustomerProfiles
180} // namespace Aws
CreateCalculatedAttributeDefinitionRequest & WithDomainName(const Aws::String &value)
CreateCalculatedAttributeDefinitionRequest & AddTags(Aws::String &&key, const char *value)
CreateCalculatedAttributeDefinitionRequest & AddTags(const char *key, const char *value)
CreateCalculatedAttributeDefinitionRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateCalculatedAttributeDefinitionRequest & WithConditions(const Conditions &value)
CreateCalculatedAttributeDefinitionRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateCalculatedAttributeDefinitionRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateCalculatedAttributeDefinitionRequest & WithDisplayName(const Aws::String &value)
CreateCalculatedAttributeDefinitionRequest & WithDisplayName(Aws::String &&value)
CreateCalculatedAttributeDefinitionRequest & WithDescription(Aws::String &&value)
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)
CreateCalculatedAttributeDefinitionRequest & WithCalculatedAttributeName(const Aws::String &value)
CreateCalculatedAttributeDefinitionRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateCalculatedAttributeDefinitionRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateCalculatedAttributeDefinitionRequest & WithCalculatedAttributeName(const char *value)
CreateCalculatedAttributeDefinitionRequest & WithDomainName(Aws::String &&value)
CreateCalculatedAttributeDefinitionRequest & WithAttributeDetails(AttributeDetails &&value)
CreateCalculatedAttributeDefinitionRequest & AddTags(const char *key, Aws::String &&value)
CreateCalculatedAttributeDefinitionRequest & WithDescription(const Aws::String &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