7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pinpoint/model/Format.h>
72 inline void SetExternalId(
const char* value) { m_externalIdHasBeenSet =
true; m_externalId.assign(value); }
86 inline void SetFormat(
const Format& value) { m_formatHasBeenSet =
true; m_format = value; }
87 inline void SetFormat(
Format&& value) { m_formatHasBeenSet =
true; m_format = std::move(value); }
102 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
117 inline void SetS3Url(
const char* value) { m_s3UrlHasBeenSet =
true; m_s3Url.assign(value); }
130 inline void SetSize(
int value) { m_sizeHasBeenSet =
true; m_size = value; }
136 bool m_channelCountsHasBeenSet =
false;
139 bool m_externalIdHasBeenSet =
false;
142 bool m_formatHasBeenSet =
false;
145 bool m_roleArnHasBeenSet =
false;
148 bool m_s3UrlHasBeenSet =
false;
151 bool m_sizeHasBeenSet =
false;
void SetFormat(const Format &value)
SegmentImportResource & WithS3Url(const char *value)
bool ExternalIdHasBeenSet() const
void SetExternalId(const Aws::String &value)
void SetS3Url(const Aws::String &value)
SegmentImportResource & WithExternalId(Aws::String &&value)
SegmentImportResource & WithChannelCounts(const Aws::Map< Aws::String, int > &value)
void SetRoleArn(const Aws::String &value)
bool RoleArnHasBeenSet() const
SegmentImportResource & WithExternalId(const Aws::String &value)
bool SizeHasBeenSet() const
AWS_PINPOINT_API SegmentImportResource()
SegmentImportResource & WithS3Url(const Aws::String &value)
SegmentImportResource & WithRoleArn(const Aws::String &value)
SegmentImportResource & WithS3Url(Aws::String &&value)
const Aws::Map< Aws::String, int > & GetChannelCounts() const
SegmentImportResource & WithRoleArn(const char *value)
void SetExternalId(Aws::String &&value)
SegmentImportResource & WithExternalId(const char *value)
SegmentImportResource & WithRoleArn(Aws::String &&value)
SegmentImportResource & AddChannelCounts(const Aws::String &key, int value)
SegmentImportResource & WithFormat(const Format &value)
void SetChannelCounts(Aws::Map< Aws::String, int > &&value)
bool ChannelCountsHasBeenSet() const
void SetFormat(Format &&value)
const Aws::String & GetS3Url() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API SegmentImportResource(Aws::Utils::Json::JsonView jsonValue)
SegmentImportResource & AddChannelCounts(Aws::String &&key, int value)
bool FormatHasBeenSet() const
SegmentImportResource & WithSize(int value)
void SetExternalId(const char *value)
void SetRoleArn(const char *value)
SegmentImportResource & AddChannelCounts(const char *key, int value)
const Aws::String & GetRoleArn() const
void SetChannelCounts(const Aws::Map< Aws::String, int > &value)
AWS_PINPOINT_API SegmentImportResource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetExternalId() const
const Format & GetFormat() const
SegmentImportResource & WithFormat(Format &&value)
void SetS3Url(Aws::String &&value)
void SetS3Url(const char *value)
SegmentImportResource & WithChannelCounts(Aws::Map< Aws::String, int > &&value)
bool S3UrlHasBeenSet() const
void SetRoleArn(Aws::String &&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