AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FsxProtocolNfs.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/model/NfsMountOptions.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataSync
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_DATASYNC_API FsxProtocolNfs();
37 AWS_DATASYNC_API FsxProtocolNfs(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const NfsMountOptions& GetMountOptions() const{ return m_mountOptions; }
45 inline bool MountOptionsHasBeenSet() const { return m_mountOptionsHasBeenSet; }
46 inline void SetMountOptions(const NfsMountOptions& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = value; }
47 inline void SetMountOptions(NfsMountOptions&& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = std::move(value); }
48 inline FsxProtocolNfs& WithMountOptions(const NfsMountOptions& value) { SetMountOptions(value); return *this;}
49 inline FsxProtocolNfs& WithMountOptions(NfsMountOptions&& value) { SetMountOptions(std::move(value)); return *this;}
51 private:
52
53 NfsMountOptions m_mountOptions;
54 bool m_mountOptionsHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace DataSync
59} // namespace Aws
void SetMountOptions(NfsMountOptions &&value)
FsxProtocolNfs & WithMountOptions(NfsMountOptions &&value)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATASYNC_API FsxProtocolNfs & operator=(Aws::Utils::Json::JsonView jsonValue)
const NfsMountOptions & GetMountOptions() const
void SetMountOptions(const NfsMountOptions &value)
AWS_DATASYNC_API FsxProtocolNfs(Aws::Utils::Json::JsonView jsonValue)
FsxProtocolNfs & WithMountOptions(const NfsMountOptions &value)
Aws::Utils::Json::JsonValue JsonValue