AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Transfer
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_TRANSFER_API EfsFileLocation() = default;
37 AWS_TRANSFER_API EfsFileLocation(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetFileSystemId() const { return m_fileSystemId; }
47 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
48 template<typename FileSystemIdT = Aws::String>
49 void SetFileSystemId(FileSystemIdT&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::forward<FileSystemIdT>(value); }
50 template<typename FileSystemIdT = Aws::String>
51 EfsFileLocation& WithFileSystemId(FileSystemIdT&& value) { SetFileSystemId(std::forward<FileSystemIdT>(value)); return *this;}
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) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
62 template<typename PathT = Aws::String>
63 EfsFileLocation& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
65 private:
66
67 Aws::String m_fileSystemId;
68 bool m_fileSystemIdHasBeenSet = false;
69
70 Aws::String m_path;
71 bool m_pathHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Transfer
76} // 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