7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11#include <aws/customer-profiles/model/SegmentGroup.h>
12#include <aws/customer-profiles/model/SegmentType.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace CustomerProfiles {
38 template <
typename SegmentDefinitionNameT = Aws::String>
40 m_segmentDefinitionNameHasBeenSet =
true;
41 m_segmentDefinitionName = std::forward<SegmentDefinitionNameT>(value);
43 template <
typename SegmentDefinitionNameT = Aws::String>
55 template <
typename DisplayNameT = Aws::String>
57 m_displayNameHasBeenSet =
true;
58 m_displayName = std::forward<DisplayNameT>(value);
60 template <
typename DisplayNameT = Aws::String>
72 template <
typename DescriptionT = Aws::String>
74 m_descriptionHasBeenSet =
true;
75 m_description = std::forward<DescriptionT>(value);
77 template <
typename DescriptionT = Aws::String>
89 template <
typename SegmentGroupsT = SegmentGroup>
91 m_segmentGroupsHasBeenSet =
true;
92 m_segmentGroups = std::forward<SegmentGroupsT>(value);
94 template <
typename SegmentGroupsT = SegmentGroup>
106 template <
typename SegmentDefinitionArnT = Aws::String>
108 m_segmentDefinitionArnHasBeenSet =
true;
109 m_segmentDefinitionArn = std::forward<SegmentDefinitionArnT>(value);
111 template <
typename SegmentDefinitionArnT = Aws::String>
123 template <
typename CreatedAtT = Aws::Utils::DateTime>
125 m_createdAtHasBeenSet =
true;
126 m_createdAt = std::forward<CreatedAtT>(value);
128 template <
typename CreatedAtT = Aws::Utils::DateTime>
140 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
142 m_tagsHasBeenSet =
true;
143 m_tags = std::forward<TagsT>(value);
145 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
147 SetTags(std::forward<TagsT>(value));
150 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
152 m_tagsHasBeenSet =
true;
153 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
163 template <
typename SegmentSqlQueryT = Aws::String>
165 m_segmentSqlQueryHasBeenSet =
true;
166 m_segmentSqlQuery = std::forward<SegmentSqlQueryT>(value);
168 template <
typename SegmentSqlQueryT = Aws::String>
183 m_segmentTypeHasBeenSet =
true;
184 m_segmentType = value;
195 template <
typename RequestIdT = Aws::String>
197 m_requestIdHasBeenSet =
true;
198 m_requestId = std::forward<RequestIdT>(value);
200 template <
typename RequestIdT = Aws::String>
226 bool m_segmentDefinitionNameHasBeenSet =
false;
227 bool m_displayNameHasBeenSet =
false;
228 bool m_descriptionHasBeenSet =
false;
229 bool m_segmentGroupsHasBeenSet =
false;
230 bool m_segmentDefinitionArnHasBeenSet =
false;
231 bool m_createdAtHasBeenSet =
false;
232 bool m_tagsHasBeenSet =
false;
233 bool m_segmentSqlQueryHasBeenSet =
false;
234 bool m_segmentTypeHasBeenSet =
false;
235 bool m_requestIdHasBeenSet =
false;
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)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetSegmentDefinitionResult & WithSegmentType(SegmentType value)
void SetSegmentDefinitionArn(SegmentDefinitionArnT &&value)
const Aws::String & GetRequestId() 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
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