AWS SDK for C++  1.9.159
AWS SDK for C++
SmbMountOptions.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace DataSync
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
47  inline const SmbVersion& GetVersion() const{ return m_version; }
48 
55  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
56 
63  inline void SetVersion(const SmbVersion& value) { m_versionHasBeenSet = true; m_version = value; }
64 
71  inline void SetVersion(SmbVersion&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
72 
79  inline SmbMountOptions& WithVersion(const SmbVersion& value) { SetVersion(value); return *this;}
80 
87  inline SmbMountOptions& WithVersion(SmbVersion&& value) { SetVersion(std::move(value)); return *this;}
88 
89  private:
90 
91  SmbVersion m_version;
92  bool m_versionHasBeenSet;
93  };
94 
95 } // namespace Model
96 } // namespace DataSync
97 } // namespace Aws
Aws::DataSync::Model::SmbVersion
SmbVersion
Definition: SmbVersion.h:17
Aws::DataSync::Model::SmbMountOptions::GetVersion
const SmbVersion & GetVersion() const
Definition: SmbMountOptions.h:47
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::DataSync::Model::SmbMountOptions::SetVersion
void SetVersion(SmbVersion &&value)
Definition: SmbMountOptions.h:71
SmbVersion.h
Aws::DataSync::Model::SmbMountOptions::WithVersion
SmbMountOptions & WithVersion(const SmbVersion &value)
Definition: SmbMountOptions.h:79
Aws::DataSync::Model::SmbMountOptions::operator=
SmbMountOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DataSync::Model::SmbMountOptions
Definition: SmbMountOptions.h:33
Aws::DataSync::Model::SmbMountOptions::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: SmbMountOptions.h:55
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
DataSync_EXPORTS.h
Aws::DataSync::Model::SmbMountOptions::WithVersion
SmbMountOptions & WithVersion(SmbVersion &&value)
Definition: SmbMountOptions.h:87
Aws::DataSync::Model::SmbMountOptions::SmbMountOptions
SmbMountOptions()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::DataSync::Model::SmbMountOptions::SetVersion
void SetVersion(const SmbVersion &value)
Definition: SmbMountOptions.h:63
Aws::DataSync::Model::SmbMountOptions::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DataSync::Model::SmbMountOptions::SmbMountOptions
SmbMountOptions(Aws::Utils::Json::JsonView jsonValue)