7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/partnercentral-marketing/PartnerCentralMarketing_EXPORTS.h>
12#include <aws/partnercentral-marketing/model/AssetLanguage.h>
13#include <aws/partnercentral-marketing/model/CampaignAssetTemplate.h>
14#include <aws/partnercentral-marketing/model/CampaignTemplateCollection.h>
15#include <aws/partnercentral-marketing/model/CustomerSegment.h>
16#include <aws/partnercentral-marketing/model/Industry.h>
17#include <aws/partnercentral-marketing/model/ReferenceMaterial.h>
18#include <aws/partnercentral-marketing/model/Theme.h>
28namespace PartnerCentralMarketing {
40 AWS_PARTNERCENTRALMARKETING_API
CampaignTemplate(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
42 AWS_PARTNERCENTRALMARKETING_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
50 template <
typename IdT = Aws::String>
52 m_idHasBeenSet =
true;
53 m_id = std::forward<IdT>(value);
55 template <
typename IdT = Aws::String>
57 SetId(std::forward<IdT>(value));
68 template <
typename NameT = Aws::String>
70 m_nameHasBeenSet =
true;
71 m_name = std::forward<NameT>(value);
73 template <
typename NameT = Aws::String>
75 SetName(std::forward<NameT>(value));
87 m_industryHasBeenSet =
true;
102 template <
typename UseCaseT = Aws::String>
104 m_useCaseHasBeenSet =
true;
105 m_useCase = std::forward<UseCaseT>(value);
107 template <
typename UseCaseT = Aws::String>
122 template <
typename DescriptionT = Aws::String>
124 m_descriptionHasBeenSet =
true;
125 m_description = std::forward<DescriptionT>(value);
127 template <
typename DescriptionT = Aws::String>
143 m_languageCodeHasBeenSet =
true;
144 m_languageCode = value;
160 m_collectionHasBeenSet =
true;
161 m_collection = value;
175 template <
typename AwsServicesT = Aws::Vector<Aws::String>>
177 m_awsServicesHasBeenSet =
true;
178 m_awsServices = std::forward<AwsServicesT>(value);
180 template <
typename AwsServicesT = Aws::Vector<Aws::String>>
185 template <
typename AwsServicesT = Aws::String>
187 m_awsServicesHasBeenSet =
true;
188 m_awsServices.emplace_back(std::forward<AwsServicesT>(value));
201 template <
typename CustomerSegmentsT = Aws::Vector<CustomerSegment>>
203 m_customerSegmentsHasBeenSet =
true;
204 m_customerSegments = std::forward<CustomerSegmentsT>(value);
206 template <
typename CustomerSegmentsT = Aws::Vector<CustomerSegment>>
212 m_customerSegmentsHasBeenSet =
true;
213 m_customerSegments.push_back(value);
225 template <
typename ThemesT = Aws::Vector<Theme>>
227 m_themesHasBeenSet =
true;
228 m_themes = std::forward<ThemesT>(value);
230 template <
typename ThemesT = Aws::Vector<Theme>>
236 m_themesHasBeenSet =
true;
237 m_themes.push_back(value);
248 template <
typename SetupDurationT = Aws::String>
250 m_setupDurationHasBeenSet =
true;
251 m_setupDuration = std::forward<SetupDurationT>(value);
253 template <
typename SetupDurationT = Aws::String>
266 template <
typename ThumbnailUrlT = Aws::String>
268 m_thumbnailUrlHasBeenSet =
true;
269 m_thumbnailUrl = std::forward<ThumbnailUrlT>(value);
271 template <
typename ThumbnailUrlT = Aws::String>
286 template <
typename EffectiveDateBeginT = Aws::Utils::DateTime>
288 m_effectiveDateBeginHasBeenSet =
true;
289 m_effectiveDateBegin = std::forward<EffectiveDateBeginT>(value);
291 template <
typename EffectiveDateBeginT = Aws::Utils::DateTime>
305 template <
typename AssetTemplatesT = Aws::Vector<CampaignAssetTemplate>>
307 m_assetTemplatesHasBeenSet =
true;
308 m_assetTemplates = std::forward<AssetTemplatesT>(value);
310 template <
typename AssetTemplatesT = Aws::Vector<CampaignAssetTemplate>>
315 template <
typename AssetTemplatesT = CampaignAssetTemplate>
317 m_assetTemplatesHasBeenSet =
true;
318 m_assetTemplates.emplace_back(std::forward<AssetTemplatesT>(value));
334 template <
typename ReferenceMaterialsT = Aws::Vector<ReferenceMaterial>>
336 m_referenceMaterialsHasBeenSet =
true;
337 m_referenceMaterials = std::forward<ReferenceMaterialsT>(value);
339 template <
typename ReferenceMaterialsT = Aws::Vector<ReferenceMaterial>>
344 template <
typename ReferenceMaterialsT = ReferenceMaterial>
346 m_referenceMaterialsHasBeenSet =
true;
347 m_referenceMaterials.emplace_back(std::forward<ReferenceMaterialsT>(value));
358 template <
typename CreatedAtT = Aws::Utils::DateTime>
360 m_createdAtHasBeenSet =
true;
361 m_createdAt = std::forward<CreatedAtT>(value);
363 template <
typename CreatedAtT = Aws::Utils::DateTime>
376 template <
typename UpdatedAtT = Aws::Utils::DateTime>
378 m_updatedAtHasBeenSet =
true;
379 m_updatedAt = std::forward<UpdatedAtT>(value);
381 template <
typename UpdatedAtT = Aws::Utils::DateTime>
421 bool m_idHasBeenSet =
false;
422 bool m_nameHasBeenSet =
false;
423 bool m_industryHasBeenSet =
false;
424 bool m_useCaseHasBeenSet =
false;
425 bool m_descriptionHasBeenSet =
false;
426 bool m_languageCodeHasBeenSet =
false;
427 bool m_collectionHasBeenSet =
false;
428 bool m_awsServicesHasBeenSet =
false;
429 bool m_customerSegmentsHasBeenSet =
false;
430 bool m_themesHasBeenSet =
false;
431 bool m_setupDurationHasBeenSet =
false;
432 bool m_thumbnailUrlHasBeenSet =
false;
433 bool m_effectiveDateBeginHasBeenSet =
false;
434 bool m_assetTemplatesHasBeenSet =
false;
435 bool m_referenceMaterialsHasBeenSet =
false;
436 bool m_createdAtHasBeenSet =
false;
437 bool m_updatedAtHasBeenSet =
false;
bool ReferenceMaterialsHasBeenSet() const
CampaignTemplate & WithUpdatedAt(UpdatedAtT &&value)
bool ThumbnailUrlHasBeenSet() const
CampaignTemplate & WithEffectiveDateBegin(EffectiveDateBeginT &&value)
bool ThemesHasBeenSet() const
AssetLanguage GetLanguageCode() const
void SetThumbnailUrl(ThumbnailUrlT &&value)
const Aws::String & GetName() const
bool AwsServicesHasBeenSet() const
void SetReferenceMaterials(ReferenceMaterialsT &&value)
bool IdHasBeenSet() const
CampaignTemplate & WithCreatedAt(CreatedAtT &&value)
bool NameHasBeenSet() const
bool LanguageCodeHasBeenSet() const
CampaignTemplate & WithName(NameT &&value)
AWS_PARTNERCENTRALMARKETING_API CampaignTemplate()=default
void SetAssetTemplates(AssetTemplatesT &&value)
void SetUseCase(UseCaseT &&value)
const Aws::Vector< Aws::String > & GetAwsServices() const
void SetIndustry(Industry value)
bool AssetTemplatesHasBeenSet() const
void SetEffectiveDateBegin(EffectiveDateBeginT &&value)
void SetSetupDuration(SetupDurationT &&value)
bool EffectiveDateBeginHasBeenSet() const
void SetLanguageCode(AssetLanguage value)
CampaignTemplate & WithId(IdT &&value)
void SetAwsServices(AwsServicesT &&value)
CampaignTemplate & AddAssetTemplates(AssetTemplatesT &&value)
const Aws::Vector< CustomerSegment > & GetCustomerSegments() const
CampaignTemplateCollection GetCollection() const
AWS_PARTNERCENTRALMARKETING_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::Vector< Theme > & GetThemes() const
bool IndustryHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetDescription(DescriptionT &&value)
CampaignTemplate & WithIndustry(Industry value)
CampaignTemplate & WithAssetTemplates(AssetTemplatesT &&value)
bool DescriptionHasBeenSet() const
void SetCollection(CampaignTemplateCollection value)
const Aws::Vector< CampaignAssetTemplate > & GetAssetTemplates() const
bool UpdatedAtHasBeenSet() const
CampaignTemplate & AddCustomerSegments(CustomerSegment value)
AWS_PARTNERCENTRALMARKETING_API CampaignTemplate(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetSetupDuration() const
CampaignTemplate & AddAwsServices(AwsServicesT &&value)
bool SetupDurationHasBeenSet() const
bool CustomerSegmentsHasBeenSet() const
void SetCustomerSegments(CustomerSegmentsT &&value)
CampaignTemplate & WithLanguageCode(AssetLanguage value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetId() const
CampaignTemplate & WithThumbnailUrl(ThumbnailUrlT &&value)
CampaignTemplate & AddReferenceMaterials(ReferenceMaterialsT &&value)
CampaignTemplate & WithThemes(ThemesT &&value)
void SetThemes(ThemesT &&value)
AWS_PARTNERCENTRALMARKETING_API CampaignTemplate & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
CampaignTemplate & WithDescription(DescriptionT &&value)
const Aws::String & GetThumbnailUrl() const
CampaignTemplate & AddThemes(Theme value)
bool CreatedAtHasBeenSet() const
CampaignTemplate & WithCustomerSegments(CustomerSegmentsT &&value)
bool CollectionHasBeenSet() const
CampaignTemplate & WithSetupDuration(SetupDurationT &&value)
CampaignTemplate & WithAwsServices(AwsServicesT &&value)
const Aws::String & GetDescription() const
void SetName(NameT &&value)
CampaignTemplate & WithReferenceMaterials(ReferenceMaterialsT &&value)
Industry GetIndustry() const
bool UseCaseHasBeenSet() const
CampaignTemplate & WithCollection(CampaignTemplateCollection value)
const Aws::Vector< ReferenceMaterial > & GetReferenceMaterials() const
const Aws::Utils::DateTime & GetEffectiveDateBegin() const
CampaignTemplate & WithUseCase(UseCaseT &&value)
const Aws::String & GetUseCase() const
CampaignTemplateCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector