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>
23namespace CustomerProfiles
48 template<
typename SegmentDefinitionNameT = Aws::String>
49 void SetSegmentDefinitionName(SegmentDefinitionNameT&& value) { m_segmentDefinitionNameHasBeenSet =
true; m_segmentDefinitionName = std::forward<SegmentDefinitionNameT>(value); }
50 template<
typename SegmentDefinitionNameT = Aws::String>
60 template<
typename DisplayNameT = Aws::String>
61 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
62 template<
typename DisplayNameT = Aws::String>
72 template<
typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
74 template<
typename DescriptionT = Aws::String>
84 template<
typename SegmentDefinitionArnT = Aws::String>
85 void SetSegmentDefinitionArn(SegmentDefinitionArnT&& value) { m_segmentDefinitionArnHasBeenSet =
true; m_segmentDefinitionArn = std::forward<SegmentDefinitionArnT>(value); }
86 template<
typename SegmentDefinitionArnT = Aws::String>
96 template<
typename CreatedAtT = Aws::Utils::DateTime>
97 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
98 template<
typename CreatedAtT = Aws::Utils::DateTime>
108 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
109 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
110 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
112 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
114 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
120 bool m_segmentDefinitionNameHasBeenSet =
false;
123 bool m_displayNameHasBeenSet =
false;
126 bool m_descriptionHasBeenSet =
false;
129 bool m_segmentDefinitionArnHasBeenSet =
false;
132 bool m_createdAtHasBeenSet =
false;
135 bool m_tagsHasBeenSet =
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 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
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