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/core/utils/memory/stl/AWSMap.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace CustomerProfiles
42 template<
typename SegmentDefinitionNameT = Aws::String>
43 void SetSegmentDefinitionName(SegmentDefinitionNameT&& value) { m_segmentDefinitionNameHasBeenSet =
true; m_segmentDefinitionName = std::forward<SegmentDefinitionNameT>(value); }
44 template<
typename SegmentDefinitionNameT = Aws::String>
53 template<
typename DisplayNameT = Aws::String>
54 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
55 template<
typename DisplayNameT = Aws::String>
64 template<
typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
66 template<
typename DescriptionT = Aws::String>
75 template<
typename CreatedAtT = Aws::Utils::DateTime>
76 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
77 template<
typename CreatedAtT = Aws::Utils::DateTime>
86 template<
typename SegmentDefinitionArnT = Aws::String>
87 void SetSegmentDefinitionArn(SegmentDefinitionArnT&& value) { m_segmentDefinitionArnHasBeenSet =
true; m_segmentDefinitionArn = std::forward<SegmentDefinitionArnT>(value); }
88 template<
typename SegmentDefinitionArnT = Aws::String>
97 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
98 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
99 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
101 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
103 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
110 template<
typename RequestIdT = Aws::String>
111 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
112 template<
typename RequestIdT = Aws::String>
118 bool m_segmentDefinitionNameHasBeenSet =
false;
121 bool m_displayNameHasBeenSet =
false;
124 bool m_descriptionHasBeenSet =
false;
127 bool m_createdAtHasBeenSet =
false;
130 bool m_segmentDefinitionArnHasBeenSet =
false;
133 bool m_tagsHasBeenSet =
false;
136 bool m_requestIdHasBeenSet =
false;
AWS_CUSTOMERPROFILES_API CreateSegmentDefinitionResult()=default
CreateSegmentDefinitionResult & WithTags(TagsT &&value)
CreateSegmentDefinitionResult & WithSegmentDefinitionArn(SegmentDefinitionArnT &&value)
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetSegmentDefinitionArn() const
const Aws::String & GetDescription() const
CreateSegmentDefinitionResult & WithDisplayName(DisplayNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_CUSTOMERPROFILES_API CreateSegmentDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSegmentDefinitionResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
CreateSegmentDefinitionResult & WithDescription(DescriptionT &&value)
AWS_CUSTOMERPROFILES_API CreateSegmentDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSegmentDefinitionName(SegmentDefinitionNameT &&value)
const Aws::String & GetDisplayName() const
void SetDescription(DescriptionT &&value)
CreateSegmentDefinitionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateSegmentDefinitionResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetRequestId() const
void SetSegmentDefinitionArn(SegmentDefinitionArnT &&value)
CreateSegmentDefinitionResult & WithSegmentDefinitionName(SegmentDefinitionNameT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetSegmentDefinitionName() const
void SetTags(TagsT &&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
Aws::Utils::Json::JsonValue JsonValue