7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/SegmentDimensions.h>
10#include <aws/pinpoint/model/SegmentImportResource.h>
11#include <aws/pinpoint/model/SegmentGroupList.h>
12#include <aws/pinpoint/model/SegmentType.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
53 template<
typename ApplicationIdT = Aws::String>
54 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet =
true; m_applicationId = std::forward<ApplicationIdT>(value); }
55 template<
typename ApplicationIdT = Aws::String>
65 template<
typename ArnT = Aws::String>
66 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
67 template<
typename ArnT = Aws::String>
77 template<
typename CreationDateT = Aws::String>
78 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
79 template<
typename CreationDateT = Aws::String>
89 template<
typename DimensionsT = SegmentDimensions>
90 void SetDimensions(DimensionsT&& value) { m_dimensionsHasBeenSet =
true; m_dimensions = std::forward<DimensionsT>(value); }
91 template<
typename DimensionsT = SegmentDimensions>
101 template<
typename IdT = Aws::String>
102 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
103 template<
typename IdT = Aws::String>
113 template<
typename ImportDefinitionT = SegmentImportResource>
114 void SetImportDefinition(ImportDefinitionT&& value) { m_importDefinitionHasBeenSet =
true; m_importDefinition = std::forward<ImportDefinitionT>(value); }
115 template<
typename ImportDefinitionT = SegmentImportResource>
125 template<
typename LastModifiedDateT = Aws::String>
126 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
127 template<
typename LastModifiedDateT = Aws::String>
137 template<
typename NameT = Aws::String>
138 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
139 template<
typename NameT = Aws::String>
151 template<
typename SegmentGroupsT = SegmentGroupList>
152 void SetSegmentGroups(SegmentGroupsT&& value) { m_segmentGroupsHasBeenSet =
true; m_segmentGroups = std::forward<SegmentGroupsT>(value); }
153 template<
typename SegmentGroupsT = SegmentGroupList>
181 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
182 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
183 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
185 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
187 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
197 inline void SetVersion(
int value) { m_versionHasBeenSet =
true; m_version = value; }
203 bool m_applicationIdHasBeenSet =
false;
206 bool m_arnHasBeenSet =
false;
209 bool m_creationDateHasBeenSet =
false;
212 bool m_dimensionsHasBeenSet =
false;
215 bool m_idHasBeenSet =
false;
218 bool m_importDefinitionHasBeenSet =
false;
221 bool m_lastModifiedDateHasBeenSet =
false;
224 bool m_nameHasBeenSet =
false;
227 bool m_segmentGroupsHasBeenSet =
false;
230 bool m_segmentTypeHasBeenSet =
false;
233 bool m_tagsHasBeenSet =
false;
236 bool m_versionHasBeenSet =
false;
bool ArnHasBeenSet() const
SegmentResponse & WithDimensions(DimensionsT &&value)
bool LastModifiedDateHasBeenSet() const
AWS_PINPOINT_API SegmentResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetApplicationId() const
SegmentResponse & WithImportDefinition(ImportDefinitionT &&value)
SegmentResponse & WithTags(TagsT &&value)
SegmentResponse & WithVersion(int value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetApplicationId(ApplicationIdT &&value)
bool ApplicationIdHasBeenSet() const
const SegmentGroupList & GetSegmentGroups() const
SegmentResponse & WithName(NameT &&value)
void SetSegmentType(SegmentType value)
bool NameHasBeenSet() const
SegmentResponse & WithCreationDate(CreationDateT &&value)
void SetCreationDate(CreationDateT &&value)
void SetVersion(int value)
SegmentResponse & AddTags(TagsKeyT &&key, TagsValueT &&value)
SegmentResponse & WithLastModifiedDate(LastModifiedDateT &&value)
SegmentResponse & WithApplicationId(ApplicationIdT &&value)
void SetTags(TagsT &&value)
SegmentResponse & WithSegmentType(SegmentType value)
bool TagsHasBeenSet() const
bool ImportDefinitionHasBeenSet() const
SegmentResponse & WithArn(ArnT &&value)
const Aws::String & GetCreationDate() const
bool SegmentTypeHasBeenSet() const
AWS_PINPOINT_API SegmentResponse(Aws::Utils::Json::JsonView jsonValue)
const SegmentImportResource & GetImportDefinition() const
void SetArn(ArnT &&value)
const Aws::String & GetId() const
void SetDimensions(DimensionsT &&value)
void SetName(NameT &&value)
AWS_PINPOINT_API SegmentResponse()=default
bool CreationDateHasBeenSet() const
const Aws::String & GetArn() const
const Aws::String & GetLastModifiedDate() const
SegmentResponse & WithSegmentGroups(SegmentGroupsT &&value)
bool IdHasBeenSet() const
void SetImportDefinition(ImportDefinitionT &&value)
bool DimensionsHasBeenSet() const
void SetLastModifiedDate(LastModifiedDateT &&value)
SegmentResponse & WithId(IdT &&value)
bool VersionHasBeenSet() const
const Aws::String & GetName() const
SegmentType GetSegmentType() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSegmentGroups(SegmentGroupsT &&value)
bool SegmentGroupsHasBeenSet() const
const SegmentDimensions & GetDimensions() const
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