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/mailmanager/MailManager_EXPORTS.h>
20namespace MailManager {
31 AWS_MAILMANAGER_API
SavedAddress(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_MAILMANAGER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 template <
typename AddressT = Aws::String>
43 m_addressHasBeenSet =
true;
44 m_address = std::forward<AddressT>(value);
46 template <
typename AddressT = Aws::String>
59 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
61 m_createdTimestampHasBeenSet =
true;
62 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
64 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
74 bool m_addressHasBeenSet =
false;
75 bool m_createdTimestampHasBeenSet =
false;
const Aws::String & GetAddress() const
void SetCreatedTimestamp(CreatedTimestampT &&value)
SavedAddress & WithAddress(AddressT &&value)
AWS_MAILMANAGER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool AddressHasBeenSet() const
AWS_MAILMANAGER_API SavedAddress(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
AWS_MAILMANAGER_API SavedAddress()=default
bool CreatedTimestampHasBeenSet() const
AWS_MAILMANAGER_API SavedAddress & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetAddress(AddressT &&value)
SavedAddress & WithCreatedTimestamp(CreatedTimestampT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String