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>
55 inline void SetApplicationId(
const char* value) { m_applicationIdHasBeenSet =
true; m_applicationId.assign(value); }
68 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
69 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
83 inline void SetCreationDate(
const char* value) { m_creationDateHasBeenSet =
true; m_creationDate.assign(value); }
109 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
135 inline void SetLastModifiedDate(
const char* value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate.assign(value); }
149 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
205 inline SegmentResponse&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
214 inline void SetVersion(
int value) { m_versionHasBeenSet =
true; m_version = value; }
220 bool m_applicationIdHasBeenSet =
false;
223 bool m_arnHasBeenSet =
false;
226 bool m_creationDateHasBeenSet =
false;
229 bool m_dimensionsHasBeenSet =
false;
232 bool m_idHasBeenSet =
false;
235 bool m_importDefinitionHasBeenSet =
false;
238 bool m_lastModifiedDateHasBeenSet =
false;
241 bool m_nameHasBeenSet =
false;
244 bool m_segmentGroupsHasBeenSet =
false;
247 bool m_segmentTypeHasBeenSet =
false;
250 bool m_tagsHasBeenSet =
false;
253 bool m_versionHasBeenSet =
false;
void SetName(Aws::String &&value)
bool ArnHasBeenSet() const
void SetApplicationId(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
bool LastModifiedDateHasBeenSet() const
AWS_PINPOINT_API SegmentResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
SegmentResponse & WithLastModifiedDate(const char *value)
SegmentResponse & WithName(Aws::String &&value)
const Aws::String & GetApplicationId() const
SegmentResponse & WithDimensions(SegmentDimensions &&value)
SegmentResponse & WithCreationDate(const char *value)
SegmentResponse & WithVersion(int value)
SegmentResponse & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
SegmentResponse & WithDimensions(const SegmentDimensions &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool ApplicationIdHasBeenSet() const
SegmentResponse & WithSegmentType(const SegmentType &value)
const SegmentGroupList & GetSegmentGroups() const
void SetSegmentGroups(SegmentGroupList &&value)
SegmentResponse & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
SegmentResponse & WithLastModifiedDate(Aws::String &&value)
void SetId(const char *value)
void SetImportDefinition(const SegmentImportResource &value)
void SetArn(Aws::String &&value)
bool NameHasBeenSet() const
SegmentResponse & WithApplicationId(const Aws::String &value)
void SetImportDefinition(SegmentImportResource &&value)
void SetLastModifiedDate(const char *value)
void SetCreationDate(Aws::String &&value)
void SetDimensions(SegmentDimensions &&value)
void SetVersion(int value)
SegmentResponse & WithName(const Aws::String &value)
void SetArn(const char *value)
SegmentResponse & WithImportDefinition(SegmentImportResource &&value)
SegmentResponse & WithSegmentGroups(SegmentGroupList &&value)
SegmentResponse & WithCreationDate(const Aws::String &value)
SegmentResponse & AddTags(const Aws::String &key, Aws::String &&value)
SegmentResponse & AddTags(Aws::String &&key, const char *value)
SegmentResponse & WithCreationDate(Aws::String &&value)
bool TagsHasBeenSet() const
SegmentResponse & WithApplicationId(Aws::String &&value)
void SetApplicationId(const char *value)
const SegmentType & GetSegmentType() const
SegmentResponse & WithId(const Aws::String &value)
SegmentResponse & WithImportDefinition(const SegmentImportResource &value)
bool ImportDefinitionHasBeenSet() const
SegmentResponse & WithArn(const char *value)
SegmentResponse & WithLastModifiedDate(const Aws::String &value)
const Aws::String & GetCreationDate() const
bool SegmentTypeHasBeenSet() const
SegmentResponse & WithId(const char *value)
AWS_PINPOINT_API SegmentResponse(Aws::Utils::Json::JsonView jsonValue)
SegmentResponse & AddTags(Aws::String &&key, const Aws::String &value)
const SegmentImportResource & GetImportDefinition() const
void SetSegmentGroups(const SegmentGroupList &value)
void SetLastModifiedDate(const Aws::String &value)
const Aws::String & GetId() const
void SetApplicationId(const Aws::String &value)
void SetLastModifiedDate(Aws::String &&value)
void SetSegmentType(SegmentType &&value)
void SetSegmentType(const SegmentType &value)
bool CreationDateHasBeenSet() const
SegmentResponse & WithArn(const Aws::String &value)
const Aws::String & GetArn() const
const Aws::String & GetLastModifiedDate() const
bool IdHasBeenSet() const
void SetId(const Aws::String &value)
SegmentResponse & AddTags(const char *key, Aws::String &&value)
SegmentResponse & WithId(Aws::String &&value)
SegmentResponse & WithApplicationId(const char *value)
AWS_PINPOINT_API SegmentResponse()
bool DimensionsHasBeenSet() const
void SetId(Aws::String &&value)
SegmentResponse & AddTags(const char *key, const char *value)
void SetCreationDate(const Aws::String &value)
SegmentResponse & WithName(const char *value)
void SetName(const Aws::String &value)
bool VersionHasBeenSet() const
const Aws::String & GetName() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
SegmentResponse & AddTags(Aws::String &&key, Aws::String &&value)
void SetCreationDate(const char *value)
SegmentResponse & WithArn(Aws::String &&value)
void SetDimensions(const SegmentDimensions &value)
void SetName(const char *value)
SegmentResponse & WithSegmentGroups(const SegmentGroupList &value)
void SetArn(const Aws::String &value)
bool SegmentGroupsHasBeenSet() const
const SegmentDimensions & GetDimensions() const
SegmentResponse & AddTags(const Aws::String &key, const Aws::String &value)
SegmentResponse & WithSegmentType(SegmentType &&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