AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NfsMountOptions.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/model/NfsVersion.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
33 {
34 public:
35 AWS_DATASYNC_API NfsMountOptions();
36 AWS_DATASYNC_API NfsMountOptions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
56 inline const NfsVersion& GetVersion() const{ return m_version; }
57 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
58 inline void SetVersion(const NfsVersion& value) { m_versionHasBeenSet = true; m_version = value; }
59 inline void SetVersion(NfsVersion&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
60 inline NfsMountOptions& WithVersion(const NfsVersion& value) { SetVersion(value); return *this;}
61 inline NfsMountOptions& WithVersion(NfsVersion&& value) { SetVersion(std::move(value)); return *this;}
63 private:
64
65 NfsVersion m_version;
66 bool m_versionHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace DataSync
71} // namespace Aws
const NfsVersion & GetVersion() const
NfsMountOptions & WithVersion(NfsVersion &&value)
NfsMountOptions & WithVersion(const NfsVersion &value)
void SetVersion(const NfsVersion &value)
void SetVersion(NfsVersion &&value)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATASYNC_API NfsMountOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API NfsMountOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue