AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
UpdateLocationFsxLustreRequest.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
11#include <utility>
12
13namespace Aws {
14namespace DataSync {
15namespace Model {
16
20 public:
21 AWS_DATASYNC_API UpdateLocationFsxLustreRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateLocationFsxLustre"; }
28
29 AWS_DATASYNC_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
39 inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
40 template <typename LocationArnT = Aws::String>
41 void SetLocationArn(LocationArnT&& value) {
42 m_locationArnHasBeenSet = true;
43 m_locationArn = std::forward<LocationArnT>(value);
44 }
45 template <typename LocationArnT = Aws::String>
47 SetLocationArn(std::forward<LocationArnT>(value));
48 return *this;
49 }
51
53
60 inline const Aws::String& GetSubdirectory() const { return m_subdirectory; }
61 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
62 template <typename SubdirectoryT = Aws::String>
63 void SetSubdirectory(SubdirectoryT&& value) {
64 m_subdirectoryHasBeenSet = true;
65 m_subdirectory = std::forward<SubdirectoryT>(value);
66 }
67 template <typename SubdirectoryT = Aws::String>
69 SetSubdirectory(std::forward<SubdirectoryT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_locationArn;
75
76 Aws::String m_subdirectory;
77 bool m_locationArnHasBeenSet = false;
78 bool m_subdirectoryHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace DataSync
83} // namespace Aws
UpdateLocationFsxLustreRequest & WithLocationArn(LocationArnT &&value)
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateLocationFsxLustreRequest & WithSubdirectory(SubdirectoryT &&value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
AWS_DATASYNC_API UpdateLocationFsxLustreRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String