7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
12#include <aws/customer-profiles/model/SegmentGroup.h>
13#include <aws/customer-profiles/model/SegmentSort.h>
14#include <aws/customer-profiles/model/SegmentType.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace CustomerProfiles {
40 template <
typename SegmentDefinitionNameT = Aws::String>
42 m_segmentDefinitionNameHasBeenSet =
true;
43 m_segmentDefinitionName = std::forward<SegmentDefinitionNameT>(value);
45 template <
typename SegmentDefinitionNameT = Aws::String>
57 template <
typename DisplayNameT = Aws::String>
59 m_displayNameHasBeenSet =
true;
60 m_displayName = std::forward<DisplayNameT>(value);
62 template <
typename DisplayNameT = Aws::String>
74 template <
typename DescriptionT = Aws::String>
76 m_descriptionHasBeenSet =
true;
77 m_description = std::forward<DescriptionT>(value);
79 template <
typename DescriptionT = Aws::String>
91 template <
typename SegmentGroupsT = SegmentGroup>
93 m_segmentGroupsHasBeenSet =
true;
94 m_segmentGroups = std::forward<SegmentGroupsT>(value);
96 template <
typename SegmentGroupsT = SegmentGroup>
108 template <
typename SegmentSortT = SegmentSort>
110 m_segmentSortHasBeenSet =
true;
111 m_segmentSort = std::forward<SegmentSortT>(value);
113 template <
typename SegmentSortT = SegmentSort>
125 template <
typename SegmentDefinitionArnT = Aws::String>
127 m_segmentDefinitionArnHasBeenSet =
true;
128 m_segmentDefinitionArn = std::forward<SegmentDefinitionArnT>(value);
130 template <
typename SegmentDefinitionArnT = Aws::String>
142 template <
typename CreatedAtT = Aws::Utils::DateTime>
144 m_createdAtHasBeenSet =
true;
145 m_createdAt = std::forward<CreatedAtT>(value);
147 template <
typename CreatedAtT = Aws::Utils::DateTime>
159 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
161 m_tagsHasBeenSet =
true;
162 m_tags = std::forward<TagsT>(value);
164 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
166 SetTags(std::forward<TagsT>(value));
169 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
171 m_tagsHasBeenSet =
true;
172 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
182 template <
typename SegmentSqlQueryT = Aws::String>
184 m_segmentSqlQueryHasBeenSet =
true;
185 m_segmentSqlQuery = std::forward<SegmentSqlQueryT>(value);
187 template <
typename SegmentSqlQueryT = Aws::String>
202 m_segmentTypeHasBeenSet =
true;
203 m_segmentType = value;
214 template <
typename RequestIdT = Aws::String>
216 m_requestIdHasBeenSet =
true;
217 m_requestId = std::forward<RequestIdT>(value);
219 template <
typename RequestIdT = Aws::String>
250 bool m_segmentDefinitionNameHasBeenSet =
false;
251 bool m_displayNameHasBeenSet =
false;
252 bool m_descriptionHasBeenSet =
false;
253 bool m_segmentGroupsHasBeenSet =
false;
254 bool m_segmentSortHasBeenSet =
false;
255 bool m_segmentDefinitionArnHasBeenSet =
false;
256 bool m_createdAtHasBeenSet =
false;
257 bool m_tagsHasBeenSet =
false;
258 bool m_segmentSqlQueryHasBeenSet =
false;
259 bool m_segmentTypeHasBeenSet =
false;
260 bool m_requestIdHasBeenSet =
false;
GetSegmentDefinitionResult & WithSegmentSort(SegmentSortT &&value)
GetSegmentDefinitionResult & WithSegmentDefinitionName(SegmentDefinitionNameT &&value)
SegmentType GetSegmentType() const
GetSegmentDefinitionResult & WithCreatedAt(CreatedAtT &&value)
GetSegmentDefinitionResult & WithTags(TagsT &&value)
AWS_CUSTOMERPROFILES_API GetSegmentDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedAt(CreatedAtT &&value)
AWS_CUSTOMERPROFILES_API GetSegmentDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSegmentType(SegmentType value)
void SetSegmentSort(SegmentSortT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetSegmentDefinitionResult & WithSegmentType(SegmentType value)
void SetSegmentDefinitionArn(SegmentDefinitionArnT &&value)
const Aws::String & GetRequestId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetSegmentDefinitionResult & WithSegmentGroups(SegmentGroupsT &&value)
const Aws::String & GetDisplayName() const
const Aws::String & GetSegmentDefinitionName() const
AWS_CUSTOMERPROFILES_API GetSegmentDefinitionResult()=default
void SetSegmentDefinitionName(SegmentDefinitionNameT &&value)
GetSegmentDefinitionResult & WithSegmentSqlQuery(SegmentSqlQueryT &&value)
void SetRequestId(RequestIdT &&value)
GetSegmentDefinitionResult & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
void SetDisplayName(DisplayNameT &&value)
GetSegmentDefinitionResult & WithSegmentDefinitionArn(SegmentDefinitionArnT &&value)
void SetSegmentGroups(SegmentGroupsT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetSegmentSqlQuery() const
GetSegmentDefinitionResult & WithDisplayName(DisplayNameT &&value)
GetSegmentDefinitionResult & WithRequestId(RequestIdT &&value)
const SegmentGroup & GetSegmentGroups() const
const SegmentSort & GetSegmentSort() const
GetSegmentDefinitionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetSegmentSqlQuery(SegmentSqlQueryT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetSegmentDefinitionArn() 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
Aws::Utils::Json::JsonValue JsonValue