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/Format.h>
45 template <
typename ChannelCountsT = Aws::Map<Aws::String,
int>>
47 m_channelCountsHasBeenSet =
true;
48 m_channelCounts = std::forward<ChannelCountsT>(value);
50 template <
typename ChannelCountsT = Aws::Map<Aws::String,
int>>
56 m_channelCountsHasBeenSet =
true;
57 m_channelCounts.emplace(key, value);
72 template <
typename ExternalIdT = Aws::String>
74 m_externalIdHasBeenSet =
true;
75 m_externalId = std::forward<ExternalIdT>(value);
77 template <
typename ExternalIdT = Aws::String>
93 m_formatHasBeenSet =
true;
110 template <
typename RoleArnT = Aws::String>
112 m_roleArnHasBeenSet =
true;
113 m_roleArn = std::forward<RoleArnT>(value);
115 template <
typename RoleArnT = Aws::String>
129 template <
typename S3UrlT = Aws::String>
131 m_s3UrlHasBeenSet =
true;
132 m_s3Url = std::forward<S3UrlT>(value);
134 template <
typename S3UrlT = Aws::String>
136 SetS3Url(std::forward<S3UrlT>(value));
149 m_sizeHasBeenSet =
true;
169 bool m_channelCountsHasBeenSet =
false;
170 bool m_externalIdHasBeenSet =
false;
171 bool m_formatHasBeenSet =
false;
172 bool m_roleArnHasBeenSet =
false;
173 bool m_s3UrlHasBeenSet =
false;
174 bool m_sizeHasBeenSet =
false;
bool ExternalIdHasBeenSet() const
bool RoleArnHasBeenSet() const
bool SizeHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
const Aws::Map< Aws::String, int > & GetChannelCounts() const
SegmentImportResource & WithS3Url(S3UrlT &&value)
bool ChannelCountsHasBeenSet() const
const Aws::String & GetS3Url() const
SegmentImportResource & WithChannelCounts(ChannelCountsT &&value)
void SetS3Url(S3UrlT &&value)
SegmentImportResource & AddChannelCounts(Aws::String key, int value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API SegmentImportResource(Aws::Utils::Json::JsonView jsonValue)
void SetExternalId(ExternalIdT &&value)
bool FormatHasBeenSet() const
SegmentImportResource & WithExternalId(ExternalIdT &&value)
SegmentImportResource & WithSize(int value)
void SetChannelCounts(ChannelCountsT &&value)
AWS_PINPOINT_API SegmentImportResource()=default
const Aws::String & GetRoleArn() const
AWS_PINPOINT_API SegmentImportResource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetExternalId() const
void SetFormat(Format value)
SegmentImportResource & WithFormat(Format value)
SegmentImportResource & WithRoleArn(RoleArnT &&value)
bool S3UrlHasBeenSet() 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