AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateLocationFsxOntapRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datasync/DataSyncRequest.h>
9#include <aws/datasync/DataSync_EXPORTS.h>
10#include <aws/datasync/model/FsxUpdateProtocol.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DataSync {
16namespace Model {
17
21 public:
22 AWS_DATASYNC_API UpdateLocationFsxOntapRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateLocationFsxOntap"; }
29
30 AWS_DATASYNC_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
40 inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
41 template <typename LocationArnT = Aws::String>
42 void SetLocationArn(LocationArnT&& value) {
43 m_locationArnHasBeenSet = true;
44 m_locationArn = std::forward<LocationArnT>(value);
45 }
46 template <typename LocationArnT = Aws::String>
48 SetLocationArn(std::forward<LocationArnT>(value));
49 return *this;
50 }
52
54
58 inline const FsxUpdateProtocol& GetProtocol() const { return m_protocol; }
59 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
60 template <typename ProtocolT = FsxUpdateProtocol>
61 void SetProtocol(ProtocolT&& value) {
62 m_protocolHasBeenSet = true;
63 m_protocol = std::forward<ProtocolT>(value);
64 }
65 template <typename ProtocolT = FsxUpdateProtocol>
67 SetProtocol(std::forward<ProtocolT>(value));
68 return *this;
69 }
71
73
84 inline const Aws::String& GetSubdirectory() const { return m_subdirectory; }
85 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
86 template <typename SubdirectoryT = Aws::String>
87 void SetSubdirectory(SubdirectoryT&& value) {
88 m_subdirectoryHasBeenSet = true;
89 m_subdirectory = std::forward<SubdirectoryT>(value);
90 }
91 template <typename SubdirectoryT = Aws::String>
93 SetSubdirectory(std::forward<SubdirectoryT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_locationArn;
99
100 FsxUpdateProtocol m_protocol;
101
102 Aws::String m_subdirectory;
103 bool m_locationArnHasBeenSet = false;
104 bool m_protocolHasBeenSet = false;
105 bool m_subdirectoryHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace DataSync
110} // namespace Aws
AWS_DATASYNC_API Aws::String SerializePayload() const override
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DATASYNC_API UpdateLocationFsxOntapRequest()=default
UpdateLocationFsxOntapRequest & WithProtocol(ProtocolT &&value)
UpdateLocationFsxOntapRequest & WithSubdirectory(SubdirectoryT &&value)
UpdateLocationFsxOntapRequest & WithLocationArn(LocationArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String