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>
12#include <aws/pinpoint/model/SegmentImportResource.h>
13#include <aws/pinpoint/model/SegmentType.h>
47 template <
typename ApplicationIdT = Aws::String>
49 m_applicationIdHasBeenSet =
true;
50 m_applicationId = std::forward<ApplicationIdT>(value);
52 template <
typename ApplicationIdT = Aws::String>
65 template <
typename ArnT = Aws::String>
67 m_arnHasBeenSet =
true;
68 m_arn = std::forward<ArnT>(value);
70 template <
typename ArnT = Aws::String>
72 SetArn(std::forward<ArnT>(value));
83 template <
typename CreationDateT = Aws::String>
85 m_creationDateHasBeenSet =
true;
86 m_creationDate = std::forward<CreationDateT>(value);
88 template <
typename CreationDateT = Aws::String>
101 template <
typename DimensionsT = SegmentDimensions>
103 m_dimensionsHasBeenSet =
true;
104 m_dimensions = std::forward<DimensionsT>(value);
106 template <
typename DimensionsT = SegmentDimensions>
119 template <
typename IdT = Aws::String>
121 m_idHasBeenSet =
true;
122 m_id = std::forward<IdT>(value);
124 template <
typename IdT = Aws::String>
126 SetId(std::forward<IdT>(value));
137 template <
typename ImportDefinitionT = SegmentImportResource>
139 m_importDefinitionHasBeenSet =
true;
140 m_importDefinition = std::forward<ImportDefinitionT>(value);
142 template <
typename ImportDefinitionT = SegmentImportResource>
155 template <
typename LastModifiedDateT = Aws::String>
157 m_lastModifiedDateHasBeenSet =
true;
158 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
160 template <
typename LastModifiedDateT = Aws::String>
173 template <
typename NameT = Aws::String>
175 m_nameHasBeenSet =
true;
176 m_name = std::forward<NameT>(value);
178 template <
typename NameT = Aws::String>
180 SetName(std::forward<NameT>(value));
193 template <
typename SegmentGroupsT = SegmentGroupList>
195 m_segmentGroupsHasBeenSet =
true;
196 m_segmentGroups = std::forward<SegmentGroupsT>(value);
198 template <
typename SegmentGroupsT = SegmentGroupList>
218 m_segmentTypeHasBeenSet =
true;
219 m_segmentType = value;
235 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
237 m_tagsHasBeenSet =
true;
238 m_tags = std::forward<TagsT>(value);
240 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
242 SetTags(std::forward<TagsT>(value));
245 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
247 m_tagsHasBeenSet =
true;
248 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
260 m_versionHasBeenSet =
true;
292 bool m_applicationIdHasBeenSet =
false;
293 bool m_arnHasBeenSet =
false;
294 bool m_creationDateHasBeenSet =
false;
295 bool m_dimensionsHasBeenSet =
false;
296 bool m_idHasBeenSet =
false;
297 bool m_importDefinitionHasBeenSet =
false;
298 bool m_lastModifiedDateHasBeenSet =
false;
299 bool m_nameHasBeenSet =
false;
300 bool m_segmentGroupsHasBeenSet =
false;
301 bool m_segmentTypeHasBeenSet =
false;
302 bool m_tagsHasBeenSet =
false;
303 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