AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateLocationFsxOntapRequest.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/FsxUpdateProtocol.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DataSync
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DATASYNC_API UpdateLocationFsxOntapRequest() = 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 "UpdateLocationFsxOntap"; }
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 UpdateLocationFsxOntapRequest& WithLocationArn(LocationArnT&& value) { SetLocationArn(std::forward<LocationArnT>(value)); return *this;}
50
52
56 inline const FsxUpdateProtocol& GetProtocol() const { return m_protocol; }
57 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
58 template<typename ProtocolT = FsxUpdateProtocol>
59 void SetProtocol(ProtocolT&& value) { m_protocolHasBeenSet = true; m_protocol = std::forward<ProtocolT>(value); }
60 template<typename ProtocolT = FsxUpdateProtocol>
61 UpdateLocationFsxOntapRequest& WithProtocol(ProtocolT&& value) { SetProtocol(std::forward<ProtocolT>(value)); return *this;}
63
65
76 inline const Aws::String& GetSubdirectory() const { return m_subdirectory; }
77 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
78 template<typename SubdirectoryT = Aws::String>
79 void SetSubdirectory(SubdirectoryT&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::forward<SubdirectoryT>(value); }
80 template<typename SubdirectoryT = Aws::String>
81 UpdateLocationFsxOntapRequest& WithSubdirectory(SubdirectoryT&& value) { SetSubdirectory(std::forward<SubdirectoryT>(value)); return *this;}
83 private:
84
85 Aws::String m_locationArn;
86 bool m_locationArnHasBeenSet = false;
87
88 FsxUpdateProtocol m_protocol;
89 bool m_protocolHasBeenSet = false;
90
91 Aws::String m_subdirectory;
92 bool m_subdirectoryHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace DataSync
97} // 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