AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SmbMountOptions.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/model/SmbVersion.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 SmbMountOptions();
36 AWS_DATASYNC_API SmbMountOptions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
62 inline const SmbVersion& GetVersion() const{ return m_version; }
63 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
64 inline void SetVersion(const SmbVersion& value) { m_versionHasBeenSet = true; m_version = value; }
65 inline void SetVersion(SmbVersion&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
66 inline SmbMountOptions& WithVersion(const SmbVersion& value) { SetVersion(value); return *this;}
67 inline SmbMountOptions& WithVersion(SmbVersion&& value) { SetVersion(std::move(value)); return *this;}
69 private:
70
71 SmbVersion m_version;
72 bool m_versionHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace DataSync
77} // namespace Aws
void SetVersion(const SmbVersion &value)
AWS_DATASYNC_API SmbMountOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API SmbMountOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const SmbVersion & GetVersion() const
SmbMountOptions & WithVersion(SmbVersion &&value)
SmbMountOptions & WithVersion(const SmbVersion &value)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVersion(SmbVersion &&value)
Aws::Utils::Json::JsonValue JsonValue