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/SegmentType.h>
22namespace CustomerProfiles {
43 template <
typename SegmentDefinitionNameT = Aws::String>
45 m_segmentDefinitionNameHasBeenSet =
true;
46 m_segmentDefinitionName = std::forward<SegmentDefinitionNameT>(value);
48 template <
typename SegmentDefinitionNameT = Aws::String>
61 template <
typename DisplayNameT = Aws::String>
63 m_displayNameHasBeenSet =
true;
64 m_displayName = std::forward<DisplayNameT>(value);
66 template <
typename DisplayNameT = Aws::String>
79 template <
typename DescriptionT = Aws::String>
81 m_descriptionHasBeenSet =
true;
82 m_description = std::forward<DescriptionT>(value);
84 template <
typename DescriptionT = Aws::String>
97 template <
typename SegmentDefinitionArnT = Aws::String>
99 m_segmentDefinitionArnHasBeenSet =
true;
100 m_segmentDefinitionArn = std::forward<SegmentDefinitionArnT>(value);
102 template <
typename SegmentDefinitionArnT = Aws::String>
115 template <
typename CreatedAtT = Aws::Utils::DateTime>
117 m_createdAtHasBeenSet =
true;
118 m_createdAt = std::forward<CreatedAtT>(value);
120 template <
typename CreatedAtT = Aws::Utils::DateTime>
133 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
135 m_tagsHasBeenSet =
true;
136 m_tags = std::forward<TagsT>(value);
138 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
140 SetTags(std::forward<TagsT>(value));
143 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
145 m_tagsHasBeenSet =
true;
146 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
160 m_segmentTypeHasBeenSet =
true;
161 m_segmentType = value;
182 bool m_segmentDefinitionNameHasBeenSet =
false;
183 bool m_displayNameHasBeenSet =
false;
184 bool m_descriptionHasBeenSet =
false;
185 bool m_segmentDefinitionArnHasBeenSet =
false;
186 bool m_createdAtHasBeenSet =
false;
187 bool m_tagsHasBeenSet =
false;
188 bool m_segmentTypeHasBeenSet =
false;
SegmentDefinitionItem & WithTags(TagsT &&value)
SegmentDefinitionItem & WithDisplayName(DisplayNameT &&value)
void SetDescription(DescriptionT &&value)
SegmentDefinitionItem & WithSegmentDefinitionName(SegmentDefinitionNameT &&value)
AWS_CUSTOMERPROFILES_API SegmentDefinitionItem(Aws::Utils::Json::JsonView jsonValue)
SegmentDefinitionItem & WithCreatedAt(CreatedAtT &&value)
void SetSegmentDefinitionName(SegmentDefinitionNameT &&value)
AWS_CUSTOMERPROFILES_API SegmentDefinitionItem & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SegmentDefinitionArnHasBeenSet() const
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
SegmentDefinitionItem & WithSegmentDefinitionArn(SegmentDefinitionArnT &&value)
SegmentDefinitionItem & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetDescription() const
bool SegmentTypeHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetSegmentDefinitionName() const
void SetTags(TagsT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetDisplayName() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetCreatedAt(CreatedAtT &&value)
void SetSegmentDefinitionArn(SegmentDefinitionArnT &&value)
bool SegmentDefinitionNameHasBeenSet() const
void SetSegmentType(SegmentType value)
SegmentDefinitionItem & WithSegmentType(SegmentType value)
SegmentType GetSegmentType() const
SegmentDefinitionItem & WithDescription(DescriptionT &&value)
void SetDisplayName(DisplayNameT &&value)
bool DisplayNameHasBeenSet() const
bool CreatedAtHasBeenSet() const
const Aws::String & GetSegmentDefinitionArn() const
bool TagsHasBeenSet() const
AWS_CUSTOMERPROFILES_API SegmentDefinitionItem()=default
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