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/ScanStatus.h>
21namespace PartnerCentralMarketing {
38 AWS_PARTNERCENTRALMARKETING_API
EmailTargetDetail(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
40 AWS_PARTNERCENTRALMARKETING_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
49 m_scanStatusHasBeenSet =
true;
64 template <
typename AttachedAtT = Aws::Utils::DateTime>
66 m_attachedAtHasBeenSet =
true;
67 m_attachedAt = std::forward<AttachedAtT>(value);
69 template <
typename AttachedAtT = Aws::Utils::DateTime>
83 m_validCountHasBeenSet =
true;
99 m_rejectedCountHasBeenSet =
true;
100 m_rejectedCount = value;
116 m_duplicateCountHasBeenSet =
true;
117 m_duplicateCount = value;
134 template <
typename FileNameT = Aws::String>
136 m_fileNameHasBeenSet =
true;
137 m_fileName = std::forward<FileNameT>(value);
139 template <
typename FileNameT = Aws::String>
150 int64_t m_validCount{0};
152 int64_t m_rejectedCount{0};
154 int64_t m_duplicateCount{0};
157 bool m_scanStatusHasBeenSet =
false;
158 bool m_attachedAtHasBeenSet =
false;
159 bool m_validCountHasBeenSet =
false;
160 bool m_rejectedCountHasBeenSet =
false;
161 bool m_duplicateCountHasBeenSet =
false;
162 bool m_fileNameHasBeenSet =
false;
void SetAttachedAt(AttachedAtT &&value)
bool RejectedCountHasBeenSet() const
const Aws::String & GetFileName() const
bool ScanStatusHasBeenSet() const
void SetDuplicateCount(int64_t value)
void SetValidCount(int64_t value)
ScanStatus GetScanStatus() const
bool ValidCountHasBeenSet() const
EmailTargetDetail & WithValidCount(int64_t value)
AWS_PARTNERCENTRALMARKETING_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
EmailTargetDetail & WithFileName(FileNameT &&value)
AWS_PARTNERCENTRALMARKETING_API EmailTargetDetail()=default
EmailTargetDetail & WithAttachedAt(AttachedAtT &&value)
int64_t GetRejectedCount() const
void SetRejectedCount(int64_t value)
int64_t GetValidCount() const
bool AttachedAtHasBeenSet() const
AWS_PARTNERCENTRALMARKETING_API EmailTargetDetail & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
int64_t GetDuplicateCount() const
bool DuplicateCountHasBeenSet() const
void SetFileName(FileNameT &&value)
void SetScanStatus(ScanStatus value)
EmailTargetDetail & WithScanStatus(ScanStatus value)
AWS_PARTNERCENTRALMARKETING_API EmailTargetDetail(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
EmailTargetDetail & WithDuplicateCount(int64_t value)
const Aws::Utils::DateTime & GetAttachedAt() const
bool FileNameHasBeenSet() const
EmailTargetDetail & WithRejectedCount(int64_t value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String