AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
49 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
50 inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
51 inline EfsFileLocation& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
52 inline EfsFileLocation& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
53 inline EfsFileLocation& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
55
57
60 inline const Aws::String& GetPath() const{ return m_path; }
61 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
62 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
63 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
64 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
65 inline EfsFileLocation& WithPath(const Aws::String& value) { SetPath(value); return *this;}
66 inline EfsFileLocation& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
67 inline EfsFileLocation& WithPath(const char* value) { SetPath(value); return *this;}
69 private:
70
71 Aws::String m_fileSystemId;
72 bool m_fileSystemIdHasBeenSet = false;
73
74 Aws::String m_path;
75 bool m_pathHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Transfer
80} // namespace Aws
EfsFileLocation & WithPath(Aws::String &&value)
const Aws::String & GetPath() const
void SetPath(Aws::String &&value)
EfsFileLocation & WithFileSystemId(Aws::String &&value)
EfsFileLocation & WithFileSystemId(const Aws::String &value)
void SetFileSystemId(const char *value)
void SetFileSystemId(const Aws::String &value)
AWS_TRANSFER_API EfsFileLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API EfsFileLocation(Aws::Utils::Json::JsonView jsonValue)
void SetFileSystemId(Aws::String &&value)
const Aws::String & GetFileSystemId() const
EfsFileLocation & WithFileSystemId(const char *value)
void SetPath(const Aws::String &value)
EfsFileLocation & WithPath(const char *value)
EfsFileLocation & WithPath(const Aws::String &value)
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