AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EFSVolumeConfiguration.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/batch/model/EFSTransitEncryption.h>
10#include <aws/batch/model/EFSAuthorizationConfig.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 Batch
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_BATCH_API EFSVolumeConfiguration();
42 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
50 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
51 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
52 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
53 inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
54 inline EFSVolumeConfiguration& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
55 inline EFSVolumeConfiguration& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
56 inline EFSVolumeConfiguration& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
58
60
69 inline const Aws::String& GetRootDirectory() const{ return m_rootDirectory; }
70 inline bool RootDirectoryHasBeenSet() const { return m_rootDirectoryHasBeenSet; }
71 inline void SetRootDirectory(const Aws::String& value) { m_rootDirectoryHasBeenSet = true; m_rootDirectory = value; }
72 inline void SetRootDirectory(Aws::String&& value) { m_rootDirectoryHasBeenSet = true; m_rootDirectory = std::move(value); }
73 inline void SetRootDirectory(const char* value) { m_rootDirectoryHasBeenSet = true; m_rootDirectory.assign(value); }
74 inline EFSVolumeConfiguration& WithRootDirectory(const Aws::String& value) { SetRootDirectory(value); return *this;}
75 inline EFSVolumeConfiguration& WithRootDirectory(Aws::String&& value) { SetRootDirectory(std::move(value)); return *this;}
76 inline EFSVolumeConfiguration& WithRootDirectory(const char* value) { SetRootDirectory(value); return *this;}
78
80
89 inline const EFSTransitEncryption& GetTransitEncryption() const{ return m_transitEncryption; }
90 inline bool TransitEncryptionHasBeenSet() const { return m_transitEncryptionHasBeenSet; }
91 inline void SetTransitEncryption(const EFSTransitEncryption& value) { m_transitEncryptionHasBeenSet = true; m_transitEncryption = value; }
92 inline void SetTransitEncryption(EFSTransitEncryption&& value) { m_transitEncryptionHasBeenSet = true; m_transitEncryption = std::move(value); }
96
98
106 inline int GetTransitEncryptionPort() const{ return m_transitEncryptionPort; }
107 inline bool TransitEncryptionPortHasBeenSet() const { return m_transitEncryptionPortHasBeenSet; }
108 inline void SetTransitEncryptionPort(int value) { m_transitEncryptionPortHasBeenSet = true; m_transitEncryptionPort = value; }
111
113
116 inline const EFSAuthorizationConfig& GetAuthorizationConfig() const{ return m_authorizationConfig; }
117 inline bool AuthorizationConfigHasBeenSet() const { return m_authorizationConfigHasBeenSet; }
118 inline void SetAuthorizationConfig(const EFSAuthorizationConfig& value) { m_authorizationConfigHasBeenSet = true; m_authorizationConfig = value; }
119 inline void SetAuthorizationConfig(EFSAuthorizationConfig&& value) { m_authorizationConfigHasBeenSet = true; m_authorizationConfig = std::move(value); }
123 private:
124
125 Aws::String m_fileSystemId;
126 bool m_fileSystemIdHasBeenSet = false;
127
128 Aws::String m_rootDirectory;
129 bool m_rootDirectoryHasBeenSet = false;
130
131 EFSTransitEncryption m_transitEncryption;
132 bool m_transitEncryptionHasBeenSet = false;
133
134 int m_transitEncryptionPort;
135 bool m_transitEncryptionPortHasBeenSet = false;
136
137 EFSAuthorizationConfig m_authorizationConfig;
138 bool m_authorizationConfigHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace Batch
143} // namespace Aws
const EFSTransitEncryption & GetTransitEncryption() const
EFSVolumeConfiguration & WithFileSystemId(const Aws::String &value)
EFSVolumeConfiguration & WithFileSystemId(Aws::String &&value)
AWS_BATCH_API EFSVolumeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTransitEncryption(const EFSTransitEncryption &value)
void SetRootDirectory(const Aws::String &value)
EFSVolumeConfiguration & WithRootDirectory(const char *value)
void SetTransitEncryption(EFSTransitEncryption &&value)
EFSVolumeConfiguration & WithTransitEncryption(EFSTransitEncryption &&value)
EFSVolumeConfiguration & WithAuthorizationConfig(const EFSAuthorizationConfig &value)
void SetAuthorizationConfig(EFSAuthorizationConfig &&value)
EFSVolumeConfiguration & WithRootDirectory(Aws::String &&value)
EFSVolumeConfiguration & WithFileSystemId(const char *value)
AWS_BATCH_API EFSVolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetFileSystemId(const Aws::String &value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
EFSVolumeConfiguration & WithTransitEncryption(const EFSTransitEncryption &value)
EFSVolumeConfiguration & WithTransitEncryptionPort(int value)
void SetAuthorizationConfig(const EFSAuthorizationConfig &value)
const EFSAuthorizationConfig & GetAuthorizationConfig() const
EFSVolumeConfiguration & WithRootDirectory(const Aws::String &value)
EFSVolumeConfiguration & WithAuthorizationConfig(EFSAuthorizationConfig &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue