AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLocationNfsRequest.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/DataSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datasync/model/OnPremConfig.h>
11#include <aws/datasync/model/NfsMountOptions.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataSync
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DATASYNC_API UpdateLocationNfsRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateLocationNfs"; }
33
34 AWS_DATASYNC_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
45 inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
46 inline void SetLocationArn(const Aws::String& value) { m_locationArnHasBeenSet = true; m_locationArn = value; }
47 inline void SetLocationArn(Aws::String&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::move(value); }
48 inline void SetLocationArn(const char* value) { m_locationArnHasBeenSet = true; m_locationArn.assign(value); }
49 inline UpdateLocationNfsRequest& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
50 inline UpdateLocationNfsRequest& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
51 inline UpdateLocationNfsRequest& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
53
55
63 inline const Aws::String& GetSubdirectory() const{ return m_subdirectory; }
64 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
65 inline void SetSubdirectory(const Aws::String& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = value; }
66 inline void SetSubdirectory(Aws::String&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::move(value); }
67 inline void SetSubdirectory(const char* value) { m_subdirectoryHasBeenSet = true; m_subdirectory.assign(value); }
68 inline UpdateLocationNfsRequest& WithSubdirectory(const Aws::String& value) { SetSubdirectory(value); return *this;}
69 inline UpdateLocationNfsRequest& WithSubdirectory(Aws::String&& value) { SetSubdirectory(std::move(value)); return *this;}
70 inline UpdateLocationNfsRequest& WithSubdirectory(const char* value) { SetSubdirectory(value); return *this;}
72
74
75 inline const OnPremConfig& GetOnPremConfig() const{ return m_onPremConfig; }
76 inline bool OnPremConfigHasBeenSet() const { return m_onPremConfigHasBeenSet; }
77 inline void SetOnPremConfig(const OnPremConfig& value) { m_onPremConfigHasBeenSet = true; m_onPremConfig = value; }
78 inline void SetOnPremConfig(OnPremConfig&& value) { m_onPremConfigHasBeenSet = true; m_onPremConfig = std::move(value); }
79 inline UpdateLocationNfsRequest& WithOnPremConfig(const OnPremConfig& value) { SetOnPremConfig(value); return *this;}
80 inline UpdateLocationNfsRequest& WithOnPremConfig(OnPremConfig&& value) { SetOnPremConfig(std::move(value)); return *this;}
82
84
85 inline const NfsMountOptions& GetMountOptions() const{ return m_mountOptions; }
86 inline bool MountOptionsHasBeenSet() const { return m_mountOptionsHasBeenSet; }
87 inline void SetMountOptions(const NfsMountOptions& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = value; }
88 inline void SetMountOptions(NfsMountOptions&& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = std::move(value); }
89 inline UpdateLocationNfsRequest& WithMountOptions(const NfsMountOptions& value) { SetMountOptions(value); return *this;}
90 inline UpdateLocationNfsRequest& WithMountOptions(NfsMountOptions&& value) { SetMountOptions(std::move(value)); return *this;}
92 private:
93
94 Aws::String m_locationArn;
95 bool m_locationArnHasBeenSet = false;
96
97 Aws::String m_subdirectory;
98 bool m_subdirectoryHasBeenSet = false;
99
100 OnPremConfig m_onPremConfig;
101 bool m_onPremConfigHasBeenSet = false;
102
103 NfsMountOptions m_mountOptions;
104 bool m_mountOptionsHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace DataSync
109} // namespace Aws
AWS_DATASYNC_API Aws::String SerializePayload() const override
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateLocationNfsRequest & WithSubdirectory(const Aws::String &value)
UpdateLocationNfsRequest & WithLocationArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateLocationNfsRequest & WithLocationArn(const Aws::String &value)
UpdateLocationNfsRequest & WithSubdirectory(Aws::String &&value)
UpdateLocationNfsRequest & WithOnPremConfig(OnPremConfig &&value)
UpdateLocationNfsRequest & WithOnPremConfig(const OnPremConfig &value)
UpdateLocationNfsRequest & WithMountOptions(const NfsMountOptions &value)
UpdateLocationNfsRequest & WithMountOptions(NfsMountOptions &&value)
UpdateLocationNfsRequest & WithLocationArn(const char *value)
UpdateLocationNfsRequest & WithSubdirectory(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String