AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FileCacheDataRepositoryAssociation.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/fsx/model/FileCacheNFSConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FSx
24{
25namespace Model
26{
27
38 {
39 public:
44
45
47
62 inline const Aws::String& GetFileCachePath() const{ return m_fileCachePath; }
63 inline bool FileCachePathHasBeenSet() const { return m_fileCachePathHasBeenSet; }
64 inline void SetFileCachePath(const Aws::String& value) { m_fileCachePathHasBeenSet = true; m_fileCachePath = value; }
65 inline void SetFileCachePath(Aws::String&& value) { m_fileCachePathHasBeenSet = true; m_fileCachePath = std::move(value); }
66 inline void SetFileCachePath(const char* value) { m_fileCachePathHasBeenSet = true; m_fileCachePath.assign(value); }
68 inline FileCacheDataRepositoryAssociation& WithFileCachePath(Aws::String&& value) { SetFileCachePath(std::move(value)); return *this;}
69 inline FileCacheDataRepositoryAssociation& WithFileCachePath(const char* value) { SetFileCachePath(value); return *this;}
71
73
89 inline const Aws::String& GetDataRepositoryPath() const{ return m_dataRepositoryPath; }
90 inline bool DataRepositoryPathHasBeenSet() const { return m_dataRepositoryPathHasBeenSet; }
91 inline void SetDataRepositoryPath(const Aws::String& value) { m_dataRepositoryPathHasBeenSet = true; m_dataRepositoryPath = value; }
92 inline void SetDataRepositoryPath(Aws::String&& value) { m_dataRepositoryPathHasBeenSet = true; m_dataRepositoryPath = std::move(value); }
93 inline void SetDataRepositoryPath(const char* value) { m_dataRepositoryPathHasBeenSet = true; m_dataRepositoryPath.assign(value); }
96 inline FileCacheDataRepositoryAssociation& WithDataRepositoryPath(const char* value) { SetDataRepositoryPath(value); return *this;}
98
100
109 inline const Aws::Vector<Aws::String>& GetDataRepositorySubdirectories() const{ return m_dataRepositorySubdirectories; }
110 inline bool DataRepositorySubdirectoriesHasBeenSet() const { return m_dataRepositorySubdirectoriesHasBeenSet; }
111 inline void SetDataRepositorySubdirectories(const Aws::Vector<Aws::String>& value) { m_dataRepositorySubdirectoriesHasBeenSet = true; m_dataRepositorySubdirectories = value; }
112 inline void SetDataRepositorySubdirectories(Aws::Vector<Aws::String>&& value) { m_dataRepositorySubdirectoriesHasBeenSet = true; m_dataRepositorySubdirectories = std::move(value); }
115 inline FileCacheDataRepositoryAssociation& AddDataRepositorySubdirectories(const Aws::String& value) { m_dataRepositorySubdirectoriesHasBeenSet = true; m_dataRepositorySubdirectories.push_back(value); return *this; }
116 inline FileCacheDataRepositoryAssociation& AddDataRepositorySubdirectories(Aws::String&& value) { m_dataRepositorySubdirectoriesHasBeenSet = true; m_dataRepositorySubdirectories.push_back(std::move(value)); return *this; }
117 inline FileCacheDataRepositoryAssociation& AddDataRepositorySubdirectories(const char* value) { m_dataRepositorySubdirectoriesHasBeenSet = true; m_dataRepositorySubdirectories.push_back(value); return *this; }
119
121
125 inline const FileCacheNFSConfiguration& GetNFS() const{ return m_nFS; }
126 inline bool NFSHasBeenSet() const { return m_nFSHasBeenSet; }
127 inline void SetNFS(const FileCacheNFSConfiguration& value) { m_nFSHasBeenSet = true; m_nFS = value; }
128 inline void SetNFS(FileCacheNFSConfiguration&& value) { m_nFSHasBeenSet = true; m_nFS = std::move(value); }
129 inline FileCacheDataRepositoryAssociation& WithNFS(const FileCacheNFSConfiguration& value) { SetNFS(value); return *this;}
130 inline FileCacheDataRepositoryAssociation& WithNFS(FileCacheNFSConfiguration&& value) { SetNFS(std::move(value)); return *this;}
132 private:
133
134 Aws::String m_fileCachePath;
135 bool m_fileCachePathHasBeenSet = false;
136
137 Aws::String m_dataRepositoryPath;
138 bool m_dataRepositoryPathHasBeenSet = false;
139
140 Aws::Vector<Aws::String> m_dataRepositorySubdirectories;
141 bool m_dataRepositorySubdirectoriesHasBeenSet = false;
142
144 bool m_nFSHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace FSx
149} // namespace Aws
FileCacheDataRepositoryAssociation & AddDataRepositorySubdirectories(const Aws::String &value)
FileCacheDataRepositoryAssociation & WithFileCachePath(Aws::String &&value)
void SetDataRepositorySubdirectories(const Aws::Vector< Aws::String > &value)
FileCacheDataRepositoryAssociation & AddDataRepositorySubdirectories(Aws::String &&value)
AWS_FSX_API FileCacheDataRepositoryAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
FileCacheDataRepositoryAssociation & WithDataRepositoryPath(const Aws::String &value)
FileCacheDataRepositoryAssociation & WithFileCachePath(const Aws::String &value)
FileCacheDataRepositoryAssociation & WithFileCachePath(const char *value)
void SetDataRepositorySubdirectories(Aws::Vector< Aws::String > &&value)
FileCacheDataRepositoryAssociation & WithNFS(FileCacheNFSConfiguration &&value)
FileCacheDataRepositoryAssociation & WithNFS(const FileCacheNFSConfiguration &value)
FileCacheDataRepositoryAssociation & WithDataRepositorySubdirectories(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetDataRepositorySubdirectories() const
FileCacheDataRepositoryAssociation & WithDataRepositoryPath(Aws::String &&value)
FileCacheDataRepositoryAssociation & WithDataRepositoryPath(const char *value)
FileCacheDataRepositoryAssociation & AddDataRepositorySubdirectories(const char *value)
AWS_FSX_API FileCacheDataRepositoryAssociation(Aws::Utils::Json::JsonView jsonValue)
FileCacheDataRepositoryAssociation & WithDataRepositorySubdirectories(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue