AWS SDK for C++

AWS SDK for C++ Version 1.11.888

Loading...
Searching...
No Matches
FileSystemConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/Lambda_EXPORTS.h>
9#include <aws/lambda/model/S3FilesConfig.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Lambda {
21namespace Model {
22
33 public:
34 AWS_LAMBDA_API FileSystemConfig() = default;
37 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::String& GetArn() const { return m_arn; }
45 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
46 template <typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) {
48 m_arnHasBeenSet = true;
49 m_arn = std::forward<ArnT>(value);
50 }
51 template <typename ArnT = Aws::String>
52 FileSystemConfig& WithArn(ArnT&& value) {
53 SetArn(std::forward<ArnT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetLocalMountPath() const { return m_localMountPath; }
64 inline bool LocalMountPathHasBeenSet() const { return m_localMountPathHasBeenSet; }
65 template <typename LocalMountPathT = Aws::String>
66 void SetLocalMountPath(LocalMountPathT&& value) {
67 m_localMountPathHasBeenSet = true;
68 m_localMountPath = std::forward<LocalMountPathT>(value);
69 }
70 template <typename LocalMountPathT = Aws::String>
71 FileSystemConfig& WithLocalMountPath(LocalMountPathT&& value) {
72 SetLocalMountPath(std::forward<LocalMountPathT>(value));
73 return *this;
74 }
76
78
85 inline const S3FilesConfig& GetS3FilesConfig() const { return m_s3FilesConfig; }
86 inline bool S3FilesConfigHasBeenSet() const { return m_s3FilesConfigHasBeenSet; }
87 template <typename S3FilesConfigT = S3FilesConfig>
88 void SetS3FilesConfig(S3FilesConfigT&& value) {
89 m_s3FilesConfigHasBeenSet = true;
90 m_s3FilesConfig = std::forward<S3FilesConfigT>(value);
91 }
92 template <typename S3FilesConfigT = S3FilesConfig>
93 FileSystemConfig& WithS3FilesConfig(S3FilesConfigT&& value) {
94 SetS3FilesConfig(std::forward<S3FilesConfigT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_arn;
100
101 Aws::String m_localMountPath;
102
103 S3FilesConfig m_s3FilesConfig;
104 bool m_arnHasBeenSet = false;
105 bool m_localMountPathHasBeenSet = false;
106 bool m_s3FilesConfigHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace Lambda
111} // namespace Aws
void SetLocalMountPath(LocalMountPathT &&value)
AWS_LAMBDA_API FileSystemConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API FileSystemConfig()=default
void SetS3FilesConfig(S3FilesConfigT &&value)
AWS_LAMBDA_API FileSystemConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
const S3FilesConfig & GetS3FilesConfig() const
const Aws::String & GetLocalMountPath() const
FileSystemConfig & WithArn(ArnT &&value)
FileSystemConfig & WithS3FilesConfig(S3FilesConfigT &&value)
const Aws::String & GetArn() const
FileSystemConfig & WithLocalMountPath(LocalMountPathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue