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>
65 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
111 inline WriteSegmentRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
116 bool m_dimensionsHasBeenSet =
false;
119 bool m_nameHasBeenSet =
false;
122 bool m_segmentGroupsHasBeenSet =
false;
125 bool m_tagsHasBeenSet =
false;
void SetSegmentGroups(SegmentGroupList &&value)
WriteSegmentRequest & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TagsHasBeenSet() const
WriteSegmentRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetSegmentGroups(const SegmentGroupList &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
void SetDimensions(const SegmentDimensions &value)
void SetName(const Aws::String &value)
WriteSegmentRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDimensions(SegmentDimensions &&value)
AWS_PINPOINT_API WriteSegmentRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API WriteSegmentRequest()
WriteSegmentRequest & AddTags(const char *key, const char *value)
WriteSegmentRequest & WithName(Aws::String &&value)
WriteSegmentRequest & AddTags(Aws::String &&key, const Aws::String &value)
WriteSegmentRequest & WithSegmentGroups(SegmentGroupList &&value)
WriteSegmentRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
WriteSegmentRequest & WithSegmentGroups(const SegmentGroupList &value)
WriteSegmentRequest & AddTags(const Aws::String &key, Aws::String &&value)
const SegmentGroupList & GetSegmentGroups() const
WriteSegmentRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetName(const char *value)
bool NameHasBeenSet() const
WriteSegmentRequest & AddTags(const char *key, Aws::String &&value)
void SetName(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
WriteSegmentRequest & WithName(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
WriteSegmentRequest & WithName(const char *value)
WriteSegmentRequest & WithDimensions(const SegmentDimensions &value)
WriteSegmentRequest & WithDimensions(SegmentDimensions &&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