AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCalculatedAttributeDefinitionResult.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/customer-profiles/model/Statistic.h>
11#include <aws/customer-profiles/model/Conditions.h>
12#include <aws/customer-profiles/model/AttributeDetails.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace CustomerProfiles
29{
30namespace Model
31{
33 {
34 public:
35 AWS_CUSTOMERPROFILES_API GetCalculatedAttributeDefinitionResult();
38
39
41
44 inline const Aws::String& GetCalculatedAttributeName() const{ return m_calculatedAttributeName; }
45 inline void SetCalculatedAttributeName(const Aws::String& value) { m_calculatedAttributeName = value; }
46 inline void SetCalculatedAttributeName(Aws::String&& value) { m_calculatedAttributeName = std::move(value); }
47 inline void SetCalculatedAttributeName(const char* value) { m_calculatedAttributeName.assign(value); }
52
54
57 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
58 inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
59 inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
60 inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
62 inline GetCalculatedAttributeDefinitionResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
63 inline GetCalculatedAttributeDefinitionResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline void SetDescription(const Aws::String& value) { m_description = value; }
72 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
73 inline void SetDescription(const char* value) { m_description.assign(value); }
75 inline GetCalculatedAttributeDefinitionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline GetCalculatedAttributeDefinitionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
84 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
85 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
89
91
95 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
96 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
97 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
101
103
106 inline const Statistic& GetStatistic() const{ return m_statistic; }
107 inline void SetStatistic(const Statistic& value) { m_statistic = value; }
108 inline void SetStatistic(Statistic&& value) { m_statistic = std::move(value); }
109 inline GetCalculatedAttributeDefinitionResult& WithStatistic(const Statistic& value) { SetStatistic(value); return *this;}
110 inline GetCalculatedAttributeDefinitionResult& WithStatistic(Statistic&& value) { SetStatistic(std::move(value)); return *this;}
112
114
118 inline const Conditions& GetConditions() const{ return m_conditions; }
119 inline void SetConditions(const Conditions& value) { m_conditions = value; }
120 inline void SetConditions(Conditions&& value) { m_conditions = std::move(value); }
122 inline GetCalculatedAttributeDefinitionResult& WithConditions(Conditions&& value) { SetConditions(std::move(value)); return *this;}
124
126
130 inline const AttributeDetails& GetAttributeDetails() const{ return m_attributeDetails; }
131 inline void SetAttributeDetails(const AttributeDetails& value) { m_attributeDetails = value; }
132 inline void SetAttributeDetails(AttributeDetails&& value) { m_attributeDetails = std::move(value); }
136
138
141 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
142 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
143 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
146 inline GetCalculatedAttributeDefinitionResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
147 inline GetCalculatedAttributeDefinitionResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
148 inline GetCalculatedAttributeDefinitionResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
149 inline GetCalculatedAttributeDefinitionResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
150 inline GetCalculatedAttributeDefinitionResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
151 inline GetCalculatedAttributeDefinitionResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
152 inline GetCalculatedAttributeDefinitionResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
154
156
157 inline const Aws::String& GetRequestId() const{ return m_requestId; }
158 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
159 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
160 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
162 inline GetCalculatedAttributeDefinitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
163 inline GetCalculatedAttributeDefinitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
165 private:
166
167 Aws::String m_calculatedAttributeName;
168
169 Aws::String m_displayName;
170
171 Aws::String m_description;
172
173 Aws::Utils::DateTime m_createdAt;
174
175 Aws::Utils::DateTime m_lastUpdatedAt;
176
177 Statistic m_statistic;
178
179 Conditions m_conditions;
180
181 AttributeDetails m_attributeDetails;
182
184
185 Aws::String m_requestId;
186 };
187
188} // namespace Model
189} // namespace CustomerProfiles
190} // namespace Aws
GetCalculatedAttributeDefinitionResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetCalculatedAttributeDefinitionResult & AddTags(const char *key, const char *value)
GetCalculatedAttributeDefinitionResult & AddTags(const char *key, Aws::String &&value)
GetCalculatedAttributeDefinitionResult & WithStatistic(const Statistic &value)
GetCalculatedAttributeDefinitionResult & AddTags(const Aws::String &key, const Aws::String &value)
GetCalculatedAttributeDefinitionResult & AddTags(Aws::String &&key, const Aws::String &value)
GetCalculatedAttributeDefinitionResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
GetCalculatedAttributeDefinitionResult & WithRequestId(const Aws::String &value)
GetCalculatedAttributeDefinitionResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetCalculatedAttributeDefinitionResult & WithConditions(Conditions &&value)
GetCalculatedAttributeDefinitionResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
GetCalculatedAttributeDefinitionResult & WithCalculatedAttributeName(Aws::String &&value)
GetCalculatedAttributeDefinitionResult & WithAttributeDetails(AttributeDetails &&value)
GetCalculatedAttributeDefinitionResult & WithDisplayName(const char *value)
GetCalculatedAttributeDefinitionResult & AddTags(const Aws::String &key, Aws::String &&value)
GetCalculatedAttributeDefinitionResult & WithDescription(Aws::String &&value)
GetCalculatedAttributeDefinitionResult & WithAttributeDetails(const AttributeDetails &value)
GetCalculatedAttributeDefinitionResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetCalculatedAttributeDefinitionResult & AddTags(Aws::String &&key, Aws::String &&value)
GetCalculatedAttributeDefinitionResult & WithDisplayName(Aws::String &&value)
GetCalculatedAttributeDefinitionResult & AddTags(Aws::String &&key, const char *value)
GetCalculatedAttributeDefinitionResult & WithCalculatedAttributeName(const char *value)
GetCalculatedAttributeDefinitionResult & WithConditions(const Conditions &value)
GetCalculatedAttributeDefinitionResult & WithRequestId(Aws::String &&value)
AWS_CUSTOMERPROFILES_API GetCalculatedAttributeDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCalculatedAttributeDefinitionResult & WithDescription(const char *value)
GetCalculatedAttributeDefinitionResult & WithDisplayName(const Aws::String &value)
GetCalculatedAttributeDefinitionResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetCalculatedAttributeDefinitionResult & WithCalculatedAttributeName(const Aws::String &value)
GetCalculatedAttributeDefinitionResult & WithDescription(const Aws::String &value)
AWS_CUSTOMERPROFILES_API GetCalculatedAttributeDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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
Aws::Utils::Json::JsonValue JsonValue