AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateLocationFsxOpenZfsRequest.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/FsxProtocol.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DataSync
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DATASYNC_API UpdateLocationFsxOpenZfsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateLocationFsxOpenZfs"; }
32
33 AWS_DATASYNC_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
44 inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
45 template<typename LocationArnT = Aws::String>
46 void SetLocationArn(LocationArnT&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::forward<LocationArnT>(value); }
47 template<typename LocationArnT = Aws::String>
48 UpdateLocationFsxOpenZfsRequest& WithLocationArn(LocationArnT&& value) { SetLocationArn(std::forward<LocationArnT>(value)); return *this;}
50
52
53 inline const FsxProtocol& GetProtocol() const { return m_protocol; }
54 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
55 template<typename ProtocolT = FsxProtocol>
56 void SetProtocol(ProtocolT&& value) { m_protocolHasBeenSet = true; m_protocol = std::forward<ProtocolT>(value); }
57 template<typename ProtocolT = FsxProtocol>
58 UpdateLocationFsxOpenZfsRequest& WithProtocol(ProtocolT&& value) { SetProtocol(std::forward<ProtocolT>(value)); return *this;}
60
62
67 inline const Aws::String& GetSubdirectory() const { return m_subdirectory; }
68 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
69 template<typename SubdirectoryT = Aws::String>
70 void SetSubdirectory(SubdirectoryT&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::forward<SubdirectoryT>(value); }
71 template<typename SubdirectoryT = Aws::String>
72 UpdateLocationFsxOpenZfsRequest& WithSubdirectory(SubdirectoryT&& value) { SetSubdirectory(std::forward<SubdirectoryT>(value)); return *this;}
74 private:
75
76 Aws::String m_locationArn;
77 bool m_locationArnHasBeenSet = false;
78
79 FsxProtocol m_protocol;
80 bool m_protocolHasBeenSet = false;
81
82 Aws::String m_subdirectory;
83 bool m_subdirectoryHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace DataSync
88} // namespace Aws
AWS_DATASYNC_API Aws::String SerializePayload() const override
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateLocationFsxOpenZfsRequest & WithLocationArn(LocationArnT &&value)
UpdateLocationFsxOpenZfsRequest & WithProtocol(ProtocolT &&value)
UpdateLocationFsxOpenZfsRequest & WithSubdirectory(SubdirectoryT &&value)
AWS_DATASYNC_API UpdateLocationFsxOpenZfsRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String