7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/Pinpoint_EXPORTS.h>
10#include <aws/pinpoint/model/SegmentDimensions.h>
11#include <aws/pinpoint/model/SegmentGroupList.h>
45 template <
typename DimensionsT = SegmentDimensions>
47 m_dimensionsHasBeenSet =
true;
48 m_dimensions = std::forward<DimensionsT>(value);
50 template <
typename DimensionsT = SegmentDimensions>
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
83 template <
typename SegmentGroupsT = SegmentGroupList>
85 m_segmentGroupsHasBeenSet =
true;
86 m_segmentGroups = std::forward<SegmentGroupsT>(value);
88 template <
typename SegmentGroupsT = SegmentGroupList>
111 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
113 m_tagsHasBeenSet =
true;
114 m_tags = std::forward<TagsT>(value);
116 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
118 SetTags(std::forward<TagsT>(value));
121 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
123 m_tagsHasBeenSet =
true;
124 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
136 bool m_dimensionsHasBeenSet =
false;
137 bool m_nameHasBeenSet =
false;
138 bool m_segmentGroupsHasBeenSet =
false;
139 bool m_tagsHasBeenSet =
false;
WriteSegmentRequest & WithName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TagsHasBeenSet() const
void SetDimensions(DimensionsT &&value)
void SetTags(TagsT &&value)
bool DimensionsHasBeenSet() const
AWS_PINPOINT_API WriteSegmentRequest(Aws::Utils::Json::JsonView jsonValue)
const SegmentDimensions & GetDimensions() const
const Aws::String & GetName() const
bool SegmentGroupsHasBeenSet() const
WriteSegmentRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_PINPOINT_API WriteSegmentRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
AWS_PINPOINT_API WriteSegmentRequest()=default
const SegmentGroupList & GetSegmentGroups() const
WriteSegmentRequest & WithSegmentGroups(SegmentGroupsT &&value)
bool NameHasBeenSet() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
WriteSegmentRequest & WithTags(TagsT &&value)
void SetSegmentGroups(SegmentGroupsT &&value)
WriteSegmentRequest & WithDimensions(DimensionsT &&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