7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/partnercentral-marketing/PartnerCentralMarketing_EXPORTS.h>
11#include <aws/partnercentral-marketing/model/AssetLanguage.h>
12#include <aws/partnercentral-marketing/model/CampaignTemplateCollection.h>
13#include <aws/partnercentral-marketing/model/CustomerSegment.h>
14#include <aws/partnercentral-marketing/model/Industry.h>
15#include <aws/partnercentral-marketing/model/Theme.h>
25namespace PartnerCentralMarketing {
39 AWS_PARTNERCENTRALMARKETING_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
47 template <
typename IdT = Aws::String>
49 m_idHasBeenSet =
true;
50 m_id = std::forward<IdT>(value);
52 template <
typename IdT = Aws::String>
54 SetId(std::forward<IdT>(value));
65 template <
typename NameT = Aws::String>
67 m_nameHasBeenSet =
true;
68 m_name = std::forward<NameT>(value);
70 template <
typename NameT = Aws::String>
72 SetName(std::forward<NameT>(value));
84 m_industryHasBeenSet =
true;
99 template <
typename UseCaseT = Aws::String>
101 m_useCaseHasBeenSet =
true;
102 m_useCase = std::forward<UseCaseT>(value);
104 template <
typename UseCaseT = Aws::String>
117 template <
typename DescriptionT = Aws::String>
119 m_descriptionHasBeenSet =
true;
120 m_description = std::forward<DescriptionT>(value);
122 template <
typename DescriptionT = Aws::String>
137 m_languageCodeHasBeenSet =
true;
138 m_languageCode = value;
154 m_collectionHasBeenSet =
true;
155 m_collection = value;
169 template <
typename AwsServicesT = Aws::Vector<Aws::String>>
171 m_awsServicesHasBeenSet =
true;
172 m_awsServices = std::forward<AwsServicesT>(value);
174 template <
typename AwsServicesT = Aws::Vector<Aws::String>>
179 template <
typename AwsServicesT = Aws::String>
181 m_awsServicesHasBeenSet =
true;
182 m_awsServices.emplace_back(std::forward<AwsServicesT>(value));
194 template <
typename CustomerSegmentsT = Aws::Vector<CustomerSegment>>
196 m_customerSegmentsHasBeenSet =
true;
197 m_customerSegments = std::forward<CustomerSegmentsT>(value);
199 template <
typename CustomerSegmentsT = Aws::Vector<CustomerSegment>>
205 m_customerSegmentsHasBeenSet =
true;
206 m_customerSegments.push_back(value);
218 template <
typename ThemesT = Aws::Vector<Theme>>
220 m_themesHasBeenSet =
true;
221 m_themes = std::forward<ThemesT>(value);
223 template <
typename ThemesT = Aws::Vector<Theme>>
229 m_themesHasBeenSet =
true;
230 m_themes.push_back(value);
241 template <
typename ThumbnailUrlT = Aws::String>
243 m_thumbnailUrlHasBeenSet =
true;
244 m_thumbnailUrl = std::forward<ThumbnailUrlT>(value);
246 template <
typename ThumbnailUrlT = Aws::String>
274 bool m_idHasBeenSet =
false;
275 bool m_nameHasBeenSet =
false;
276 bool m_industryHasBeenSet =
false;
277 bool m_useCaseHasBeenSet =
false;
278 bool m_descriptionHasBeenSet =
false;
279 bool m_languageCodeHasBeenSet =
false;
280 bool m_collectionHasBeenSet =
false;
281 bool m_awsServicesHasBeenSet =
false;
282 bool m_customerSegmentsHasBeenSet =
false;
283 bool m_themesHasBeenSet =
false;
284 bool m_thumbnailUrlHasBeenSet =
false;
void SetLanguageCode(AssetLanguage value)
bool DescriptionHasBeenSet() const
bool NameHasBeenSet() const
Industry GetIndustry() const
CampaignTemplateCollection GetCollection() const
CampaignTemplateSummary & AddAwsServices(AwsServicesT &&value)
AWS_PARTNERCENTRALMARKETING_API CampaignTemplateSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool CollectionHasBeenSet() const
CampaignTemplateSummary & WithAwsServices(AwsServicesT &&value)
const Aws::Vector< Theme > & GetThemes() const
CampaignTemplateSummary & WithThumbnailUrl(ThumbnailUrlT &&value)
const Aws::Vector< Aws::String > & GetAwsServices() const
CampaignTemplateSummary & WithName(NameT &&value)
bool IndustryHasBeenSet() const
AWS_PARTNERCENTRALMARKETING_API CampaignTemplateSummary()=default
void SetDescription(DescriptionT &&value)
CampaignTemplateSummary & WithLanguageCode(AssetLanguage value)
const Aws::Vector< CustomerSegment > & GetCustomerSegments() const
const Aws::String & GetId() const
CampaignTemplateSummary & WithUseCase(UseCaseT &&value)
void SetIndustry(Industry value)
const Aws::String & GetUseCase() const
CampaignTemplateSummary & WithId(IdT &&value)
bool ThumbnailUrlHasBeenSet() const
AssetLanguage GetLanguageCode() const
void SetThemes(ThemesT &&value)
void SetUseCase(UseCaseT &&value)
void SetCustomerSegments(CustomerSegmentsT &&value)
bool ThemesHasBeenSet() const
AWS_PARTNERCENTRALMARKETING_API CampaignTemplateSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool IdHasBeenSet() const
bool CustomerSegmentsHasBeenSet() const
CampaignTemplateSummary & AddCustomerSegments(CustomerSegment value)
void SetAwsServices(AwsServicesT &&value)
const Aws::String & GetName() const
bool LanguageCodeHasBeenSet() const
CampaignTemplateSummary & AddThemes(Theme value)
void SetName(NameT &&value)
CampaignTemplateSummary & WithCustomerSegments(CustomerSegmentsT &&value)
CampaignTemplateSummary & WithCollection(CampaignTemplateCollection value)
bool UseCaseHasBeenSet() const
const Aws::String & GetThumbnailUrl() const
bool AwsServicesHasBeenSet() const
CampaignTemplateSummary & WithDescription(DescriptionT &&value)
void SetThumbnailUrl(ThumbnailUrlT &&value)
CampaignTemplateSummary & WithIndustry(Industry value)
CampaignTemplateSummary & WithThemes(ThemesT &&value)
AWS_PARTNERCENTRALMARKETING_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetCollection(CampaignTemplateCollection value)
const Aws::String & GetDescription() const
CampaignTemplateCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector