7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/SegmentDimensions.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pinpoint/model/SegmentGroupList.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
51 template<
typename DimensionsT = SegmentDimensions>
52 void SetDimensions(DimensionsT&& value) { m_dimensionsHasBeenSet =
true; m_dimensions = std::forward<DimensionsT>(value); }
53 template<
typename DimensionsT = SegmentDimensions>
63 template<
typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
65 template<
typename NameT = Aws::String>
77 template<
typename SegmentGroupsT = SegmentGroupList>
78 void SetSegmentGroups(SegmentGroupsT&& value) { m_segmentGroupsHasBeenSet =
true; m_segmentGroups = std::forward<SegmentGroupsT>(value); }
79 template<
typename SegmentGroupsT = SegmentGroupList>
99 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
100 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
101 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
103 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
105 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
111 bool m_dimensionsHasBeenSet =
false;
114 bool m_nameHasBeenSet =
false;
117 bool m_segmentGroupsHasBeenSet =
false;
120 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