7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/partnercentral-marketing/PartnerCentralMarketing_EXPORTS.h>
11#include <aws/partnercentral-marketing/model/AttemptStatus.h>
12#include <aws/partnercentral-marketing/model/CampaignAssetCategory.h>
13#include <aws/partnercentral-marketing/model/CampaignAssetState.h>
14#include <aws/partnercentral-marketing/model/CampaignAssetStateReason.h>
15#include <aws/partnercentral-marketing/model/DeliveryStatus.h>
16#include <aws/partnercentral-marketing/model/FileFormat.h>
17#include <aws/partnercentral-marketing/model/Platform.h>
18#include <aws/partnercentral-marketing/model/SendMode.h>
28namespace PartnerCentralMarketing {
40 AWS_PARTNERCENTRALMARKETING_API
CampaignAssetSummary(
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));
69 m_categoryHasBeenSet =
true;
84 template <
typename NameT = Aws::String>
86 m_nameHasBeenSet =
true;
87 m_name = std::forward<NameT>(value);
89 template <
typename NameT = Aws::String>
91 SetName(std::forward<NameT>(value));
104 template <
typename LinkLabelT = Aws::String>
106 m_linkLabelHasBeenSet =
true;
107 m_linkLabel = std::forward<LinkLabelT>(value);
109 template <
typename LinkLabelT = Aws::String>
123 m_stateHasBeenSet =
true;
140 m_lastActivationStatusHasBeenSet =
true;
141 m_lastActivationStatus = value;
156 m_deliveryStatusHasBeenSet =
true;
157 m_deliveryStatus = value;
182 m_deliveryStatusReasonHasBeenSet =
true;
183 m_deliveryStatusReason = value;
199 template <
typename SourceAssetTemplateIdT = Aws::String>
201 m_sourceAssetTemplateIdHasBeenSet =
true;
202 m_sourceAssetTemplateId = std::forward<SourceAssetTemplateIdT>(value);
204 template <
typename SourceAssetTemplateIdT = Aws::String>
221 m_socialPlatformHasBeenSet =
true;
222 m_socialPlatform = value;
236 template <
typename StartedAtT = Aws::Utils::DateTime>
238 m_startedAtHasBeenSet =
true;
239 m_startedAt = std::forward<StartedAtT>(value);
241 template <
typename StartedAtT = Aws::Utils::DateTime>
255 m_fileFormatHasBeenSet =
true;
256 m_fileFormat = value;
274 m_sendModeHasBeenSet =
true;
292 template <
typename ScheduledSendAtT = Aws::Utils::DateTime>
294 m_scheduledSendAtHasBeenSet =
true;
295 m_scheduledSendAt = std::forward<ScheduledSendAtT>(value);
297 template <
typename ScheduledSendAtT = Aws::Utils::DateTime>
331 bool m_idHasBeenSet =
false;
332 bool m_categoryHasBeenSet =
false;
333 bool m_nameHasBeenSet =
false;
334 bool m_linkLabelHasBeenSet =
false;
335 bool m_stateHasBeenSet =
false;
336 bool m_lastActivationStatusHasBeenSet =
false;
337 bool m_deliveryStatusHasBeenSet =
false;
338 bool m_deliveryStatusReasonHasBeenSet =
false;
339 bool m_sourceAssetTemplateIdHasBeenSet =
false;
340 bool m_socialPlatformHasBeenSet =
false;
341 bool m_startedAtHasBeenSet =
false;
342 bool m_fileFormatHasBeenSet =
false;
343 bool m_sendModeHasBeenSet =
false;
344 bool m_scheduledSendAtHasBeenSet =
false;
const Aws::Utils::DateTime & GetScheduledSendAt() const
void SetLastActivationStatus(AttemptStatus value)
const Aws::String & GetSourceAssetTemplateId() const
CampaignAssetSummary & WithStartedAt(StartedAtT &&value)
bool SendModeHasBeenSet() const
CampaignAssetSummary & WithSourceAssetTemplateId(SourceAssetTemplateIdT &&value)
CampaignAssetSummary & WithState(CampaignAssetState value)
CampaignAssetSummary & WithScheduledSendAt(ScheduledSendAtT &&value)
void SetLinkLabel(LinkLabelT &&value)
CampaignAssetSummary & WithId(IdT &&value)
AttemptStatus GetLastActivationStatus() const
bool ScheduledSendAtHasBeenSet() const
void SetDeliveryStatusReason(CampaignAssetStateReason value)
SendMode GetSendMode() const
AWS_PARTNERCENTRALMARKETING_API CampaignAssetSummary()=default
const Aws::Utils::DateTime & GetStartedAt() const
CampaignAssetSummary & WithSocialPlatform(Platform value)
void SetFileFormat(FileFormat value)
bool IdHasBeenSet() const
bool FileFormatHasBeenSet() const
Platform GetSocialPlatform() const
bool SourceAssetTemplateIdHasBeenSet() const
bool CategoryHasBeenSet() const
AWS_PARTNERCENTRALMARKETING_API CampaignAssetSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool NameHasBeenSet() const
AWS_PARTNERCENTRALMARKETING_API CampaignAssetSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetName(NameT &&value)
bool DeliveryStatusReasonHasBeenSet() const
void SetScheduledSendAt(ScheduledSendAtT &&value)
const Aws::String & GetId() const
CampaignAssetStateReason GetDeliveryStatusReason() const
void SetDeliveryStatus(DeliveryStatus value)
CampaignAssetSummary & WithCategory(CampaignAssetCategory value)
CampaignAssetSummary & WithFileFormat(FileFormat value)
DeliveryStatus GetDeliveryStatus() const
bool StartedAtHasBeenSet() const
CampaignAssetSummary & WithLastActivationStatus(AttemptStatus value)
CampaignAssetSummary & WithName(NameT &&value)
CampaignAssetState GetState() const
CampaignAssetSummary & WithDeliveryStatus(DeliveryStatus value)
bool DeliveryStatusHasBeenSet() const
AWS_PARTNERCENTRALMARKETING_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool SocialPlatformHasBeenSet() const
void SetState(CampaignAssetState value)
bool LastActivationStatusHasBeenSet() const
CampaignAssetSummary & WithLinkLabel(LinkLabelT &&value)
bool StateHasBeenSet() const
void SetSourceAssetTemplateId(SourceAssetTemplateIdT &&value)
CampaignAssetCategory GetCategory() const
const Aws::String & GetLinkLabel() const
void SetSendMode(SendMode value)
CampaignAssetSummary & WithDeliveryStatusReason(CampaignAssetStateReason value)
FileFormat GetFileFormat() const
void SetSocialPlatform(Platform value)
bool LinkLabelHasBeenSet() const
CampaignAssetSummary & WithSendMode(SendMode value)
void SetCategory(CampaignAssetCategory value)
void SetStartedAt(StartedAtT &&value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String