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/SegmentType.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace CustomerProfiles {
39 template <
typename SegmentDefinitionNameT = Aws::String>
41 m_segmentDefinitionNameHasBeenSet =
true;
42 m_segmentDefinitionName = std::forward<SegmentDefinitionNameT>(value);
44 template <
typename SegmentDefinitionNameT = Aws::String>
56 template <
typename DisplayNameT = Aws::String>
58 m_displayNameHasBeenSet =
true;
59 m_displayName = std::forward<DisplayNameT>(value);
61 template <
typename DisplayNameT = Aws::String>
73 template <
typename DescriptionT = Aws::String>
75 m_descriptionHasBeenSet =
true;
76 m_description = std::forward<DescriptionT>(value);
78 template <
typename DescriptionT = Aws::String>
90 template <
typename SegmentGroupsT = SegmentGroup>
92 m_segmentGroupsHasBeenSet =
true;
93 m_segmentGroups = std::forward<SegmentGroupsT>(value);
95 template <
typename SegmentGroupsT = SegmentGroup>
107 template <
typename SegmentDefinitionArnT = Aws::String>
109 m_segmentDefinitionArnHasBeenSet =
true;
110 m_segmentDefinitionArn = std::forward<SegmentDefinitionArnT>(value);
112 template <
typename SegmentDefinitionArnT = Aws::String>
124 template <
typename CreatedAtT = Aws::Utils::DateTime>
126 m_createdAtHasBeenSet =
true;
127 m_createdAt = std::forward<CreatedAtT>(value);
129 template <
typename CreatedAtT = Aws::Utils::DateTime>
141 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 m_tagsHasBeenSet =
true;
144 m_tags = std::forward<TagsT>(value);
146 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
148 SetTags(std::forward<TagsT>(value));
151 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
153 m_tagsHasBeenSet =
true;
154 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
164 template <
typename SegmentSqlQueryT = Aws::String>
166 m_segmentSqlQueryHasBeenSet =
true;
167 m_segmentSqlQuery = std::forward<SegmentSqlQueryT>(value);
169 template <
typename SegmentSqlQueryT = Aws::String>
184 m_segmentTypeHasBeenSet =
true;
185 m_segmentType = value;
196 template <
typename RequestIdT = Aws::String>
198 m_requestIdHasBeenSet =
true;
199 m_requestId = std::forward<RequestIdT>(value);
201 template <
typename RequestIdT = Aws::String>
230 bool m_segmentDefinitionNameHasBeenSet =
false;
231 bool m_displayNameHasBeenSet =
false;
232 bool m_descriptionHasBeenSet =
false;
233 bool m_segmentGroupsHasBeenSet =
false;
234 bool m_segmentDefinitionArnHasBeenSet =
false;
235 bool m_createdAtHasBeenSet =
false;
236 bool m_tagsHasBeenSet =
false;
237 bool m_segmentSqlQueryHasBeenSet =
false;
238 bool m_segmentTypeHasBeenSet =
false;
239 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
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
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