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
Relay() =
default;
32 AWS_MAILMANAGER_API
Relay(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_MAILMANAGER_API
Relay&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_MAILMANAGER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename RelayIdT = Aws::String>
44 m_relayIdHasBeenSet =
true;
45 m_relayId = std::forward<RelayIdT>(value);
47 template <
typename RelayIdT = Aws::String>
60 template <
typename RelayNameT = Aws::String>
62 m_relayNameHasBeenSet =
true;
63 m_relayName = std::forward<RelayNameT>(value);
65 template <
typename RelayNameT = Aws::String>
78 template <
typename LastModifiedTimestampT = Aws::Utils::DateTime>
80 m_lastModifiedTimestampHasBeenSet =
true;
81 m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value);
83 template <
typename LastModifiedTimestampT = Aws::Utils::DateTime>
95 bool m_relayIdHasBeenSet =
false;
96 bool m_relayNameHasBeenSet =
false;
97 bool m_lastModifiedTimestampHasBeenSet =
false;
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
void SetRelayName(RelayNameT &&value)
AWS_MAILMANAGER_API Relay()=default
AWS_MAILMANAGER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetRelayName() const
Relay & WithLastModifiedTimestamp(LastModifiedTimestampT &&value)
const Aws::String & GetRelayId() const
bool RelayIdHasBeenSet() const
Relay & WithRelayName(RelayNameT &&value)
AWS_MAILMANAGER_API Relay & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Relay & WithRelayId(RelayIdT &&value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
AWS_MAILMANAGER_API Relay(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetRelayId(RelayIdT &&value)
bool RelayNameHasBeenSet() const
bool LastModifiedTimestampHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String