7#include <aws/crt/cbor/Cbor.h>
8#include <aws/datasync/DataSync_EXPORTS.h>
9#include <aws/datasync/model/FsxProtocolNfs.h>
10#include <aws/datasync/model/FsxProtocolSmb.h>
32 AWS_DATASYNC_API
FsxProtocol(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_DATASYNC_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
44 template <
typename NFST = FsxProtocolNfs>
46 m_nFSHasBeenSet =
true;
47 m_nFS = std::forward<NFST>(value);
49 template <
typename NFST = FsxProtocolNfs>
51 SetNFS(std::forward<NFST>(value));
63 template <
typename SMBT = FsxProtocolSmb>
65 m_sMBHasBeenSet =
true;
66 m_sMB = std::forward<SMBT>(value);
68 template <
typename SMBT = FsxProtocolSmb>
70 SetSMB(std::forward<SMBT>(value));
78 bool m_nFSHasBeenSet =
false;
79 bool m_sMBHasBeenSet =
false;
void SetSMB(SMBT &&value)
bool NFSHasBeenSet() const
FsxProtocol & WithSMB(SMBT &&value)
AWS_DATASYNC_API FsxProtocol & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool SMBHasBeenSet() const
FsxProtocol & WithNFS(NFST &&value)
const FsxProtocolNfs & GetNFS() const
void SetNFS(NFST &&value)
const FsxProtocolSmb & GetSMB() const
AWS_DATASYNC_API FsxProtocol(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_DATASYNC_API FsxProtocol()=default
AWS_DATASYNC_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const