AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
EfsFileLocation.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Transfer {
20namespace Model {
21
30 public:
31 AWS_TRANSFER_API EfsFileLocation() = default;
32 AWS_TRANSFER_API EfsFileLocation(Aws::Utils::Json::JsonView jsonValue);
34 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetFileSystemId() const { return m_fileSystemId; }
41 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
42 template <typename FileSystemIdT = Aws::String>
43 void SetFileSystemId(FileSystemIdT&& value) {
44 m_fileSystemIdHasBeenSet = true;
45 m_fileSystemId = std::forward<FileSystemIdT>(value);
46 }
47 template <typename FileSystemIdT = Aws::String>
48 EfsFileLocation& WithFileSystemId(FileSystemIdT&& value) {
49 SetFileSystemId(std::forward<FileSystemIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetPath() const { return m_path; }
59 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
60 template <typename PathT = Aws::String>
61 void SetPath(PathT&& value) {
62 m_pathHasBeenSet = true;
63 m_path = std::forward<PathT>(value);
64 }
65 template <typename PathT = Aws::String>
66 EfsFileLocation& WithPath(PathT&& value) {
67 SetPath(std::forward<PathT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_fileSystemId;
73
74 Aws::String m_path;
75 bool m_fileSystemIdHasBeenSet = false;
76 bool m_pathHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Transfer
81} // namespace Aws
const Aws::String & GetPath() const
AWS_TRANSFER_API EfsFileLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
EfsFileLocation & WithPath(PathT &&value)
AWS_TRANSFER_API EfsFileLocation(Aws::Utils::Json::JsonView jsonValue)
void SetFileSystemId(FileSystemIdT &&value)
EfsFileLocation & WithFileSystemId(FileSystemIdT &&value)
const Aws::String & GetFileSystemId() const
AWS_TRANSFER_API EfsFileLocation()=default
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue