AWS SDK for C++  1.9.159
AWS SDK for C++
NfsMountOptions.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 
57  inline const NfsVersion& GetVersion() const{ return m_version; }
58 
75  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
76 
93  inline void SetVersion(const NfsVersion& value) { m_versionHasBeenSet = true; m_version = value; }
94 
111  inline void SetVersion(NfsVersion&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
112 
129  inline NfsMountOptions& WithVersion(const NfsVersion& value) { SetVersion(value); return *this;}
130 
147  inline NfsMountOptions& WithVersion(NfsVersion&& value) { SetVersion(std::move(value)); return *this;}
148 
149  private:
150 
151  NfsVersion m_version;
152  bool m_versionHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace DataSync
157 } // namespace Aws
Aws::DataSync::Model::NfsMountOptions::NfsMountOptions
NfsMountOptions()
Aws::DataSync::Model::NfsMountOptions::SetVersion
void SetVersion(const NfsVersion &value)
Definition: NfsMountOptions.h:93
Aws::DataSync::Model::NfsMountOptions::WithVersion
NfsMountOptions & WithVersion(const NfsVersion &value)
Definition: NfsMountOptions.h:129
Aws::DataSync::Model::NfsMountOptions::GetVersion
const NfsVersion & GetVersion() const
Definition: NfsMountOptions.h:57
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::DataSync::Model::NfsMountOptions::operator=
NfsMountOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
NfsVersion.h
Aws::DataSync::Model::NfsMountOptions::WithVersion
NfsMountOptions & WithVersion(NfsVersion &&value)
Definition: NfsMountOptions.h:147
Aws::DataSync::Model::NfsMountOptions
Definition: NfsMountOptions.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::DataSync::Model::NfsMountOptions::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: NfsMountOptions.h:75
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
DataSync_EXPORTS.h
Aws::DataSync::Model::NfsVersion
NfsVersion
Definition: NfsVersion.h:17
Aws::DataSync::Model::NfsMountOptions::NfsMountOptions
NfsMountOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::DataSync::Model::NfsMountOptions::SetVersion
void SetVersion(NfsVersion &&value)
Definition: NfsMountOptions.h:111
Aws::DataSync::Model::NfsMountOptions::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const