AWS SDK for C++  1.9.161
AWS SDK for C++
EFSVolumeConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace ECS
24 {
25 namespace Model
26 {
27 
38  {
39  public:
44 
45 
49  inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
50 
54  inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
55 
59  inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
60 
64  inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
65 
69  inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
70 
74  inline EFSVolumeConfiguration& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
75 
79  inline EFSVolumeConfiguration& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
80 
84  inline EFSVolumeConfiguration& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
85 
86 
96  inline const Aws::String& GetRootDirectory() const{ return m_rootDirectory; }
97 
107  inline bool RootDirectoryHasBeenSet() const { return m_rootDirectoryHasBeenSet; }
108 
118  inline void SetRootDirectory(const Aws::String& value) { m_rootDirectoryHasBeenSet = true; m_rootDirectory = value; }
119 
129  inline void SetRootDirectory(Aws::String&& value) { m_rootDirectoryHasBeenSet = true; m_rootDirectory = std::move(value); }
130 
140  inline void SetRootDirectory(const char* value) { m_rootDirectoryHasBeenSet = true; m_rootDirectory.assign(value); }
141 
151  inline EFSVolumeConfiguration& WithRootDirectory(const Aws::String& value) { SetRootDirectory(value); return *this;}
152 
162  inline EFSVolumeConfiguration& WithRootDirectory(Aws::String&& value) { SetRootDirectory(std::move(value)); return *this;}
163 
173  inline EFSVolumeConfiguration& WithRootDirectory(const char* value) { SetRootDirectory(value); return *this;}
174 
175 
185  inline const EFSTransitEncryption& GetTransitEncryption() const{ return m_transitEncryption; }
186 
196  inline bool TransitEncryptionHasBeenSet() const { return m_transitEncryptionHasBeenSet; }
197 
207  inline void SetTransitEncryption(const EFSTransitEncryption& value) { m_transitEncryptionHasBeenSet = true; m_transitEncryption = value; }
208 
218  inline void SetTransitEncryption(EFSTransitEncryption&& value) { m_transitEncryptionHasBeenSet = true; m_transitEncryption = std::move(value); }
219 
229  inline EFSVolumeConfiguration& WithTransitEncryption(const EFSTransitEncryption& value) { SetTransitEncryption(value); return *this;}
230 
240  inline EFSVolumeConfiguration& WithTransitEncryption(EFSTransitEncryption&& value) { SetTransitEncryption(std::move(value)); return *this;}
241 
242 
251  inline int GetTransitEncryptionPort() const{ return m_transitEncryptionPort; }
252 
261  inline bool TransitEncryptionPortHasBeenSet() const { return m_transitEncryptionPortHasBeenSet; }
262 
271  inline void SetTransitEncryptionPort(int value) { m_transitEncryptionPortHasBeenSet = true; m_transitEncryptionPort = value; }
272 
281  inline EFSVolumeConfiguration& WithTransitEncryptionPort(int value) { SetTransitEncryptionPort(value); return *this;}
282 
283 
287  inline const EFSAuthorizationConfig& GetAuthorizationConfig() const{ return m_authorizationConfig; }
288 
292  inline bool AuthorizationConfigHasBeenSet() const { return m_authorizationConfigHasBeenSet; }
293 
297  inline void SetAuthorizationConfig(const EFSAuthorizationConfig& value) { m_authorizationConfigHasBeenSet = true; m_authorizationConfig = value; }
298 
302  inline void SetAuthorizationConfig(EFSAuthorizationConfig&& value) { m_authorizationConfigHasBeenSet = true; m_authorizationConfig = std::move(value); }
303 
307  inline EFSVolumeConfiguration& WithAuthorizationConfig(const EFSAuthorizationConfig& value) { SetAuthorizationConfig(value); return *this;}
308 
312  inline EFSVolumeConfiguration& WithAuthorizationConfig(EFSAuthorizationConfig&& value) { SetAuthorizationConfig(std::move(value)); return *this;}
313 
314  private:
315 
316  Aws::String m_fileSystemId;
317  bool m_fileSystemIdHasBeenSet;
318 
319  Aws::String m_rootDirectory;
320  bool m_rootDirectoryHasBeenSet;
321 
322  EFSTransitEncryption m_transitEncryption;
323  bool m_transitEncryptionHasBeenSet;
324 
325  int m_transitEncryptionPort;
326  bool m_transitEncryptionPortHasBeenSet;
327 
328  EFSAuthorizationConfig m_authorizationConfig;
329  bool m_authorizationConfigHasBeenSet;
330  };
331 
332 } // namespace Model
333 } // namespace ECS
334 } // namespace Aws
Aws::ECS::Model::EFSVolumeConfiguration::GetFileSystemId
const Aws::String & GetFileSystemId() const
Definition: EFSVolumeConfiguration.h:49
Aws::ECS::Model::EFSVolumeConfiguration::WithFileSystemId
EFSVolumeConfiguration & WithFileSystemId(Aws::String &&value)
Definition: EFSVolumeConfiguration.h:79
Aws::ECS::Model::EFSVolumeConfiguration::SetTransitEncryption
void SetTransitEncryption(const EFSTransitEncryption &value)
Definition: EFSVolumeConfiguration.h:207
Aws::ECS::Model::EFSVolumeConfiguration::RootDirectoryHasBeenSet
bool RootDirectoryHasBeenSet() const
Definition: EFSVolumeConfiguration.h:107
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::EFSAuthorizationConfig
Definition: EFSAuthorizationConfig.h:34
Aws::ECS::Model::EFSVolumeConfiguration::WithAuthorizationConfig
EFSVolumeConfiguration & WithAuthorizationConfig(EFSAuthorizationConfig &&value)
Definition: EFSVolumeConfiguration.h:312
Aws::ECS::Model::EFSVolumeConfiguration::WithRootDirectory
EFSVolumeConfiguration & WithRootDirectory(Aws::String &&value)
Definition: EFSVolumeConfiguration.h:162
Aws::ECS::Model::EFSVolumeConfiguration::SetRootDirectory
void SetRootDirectory(Aws::String &&value)
Definition: EFSVolumeConfiguration.h:129
Aws::ECS::Model::EFSVolumeConfiguration::GetTransitEncryptionPort
int GetTransitEncryptionPort() const
Definition: EFSVolumeConfiguration.h:251
Aws::ECS::Model::EFSVolumeConfiguration::GetRootDirectory
const Aws::String & GetRootDirectory() const
Definition: EFSVolumeConfiguration.h:96
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::EFSVolumeConfiguration::WithFileSystemId
EFSVolumeConfiguration & WithFileSystemId(const char *value)
Definition: EFSVolumeConfiguration.h:84
Aws::ECS::Model::EFSVolumeConfiguration::SetTransitEncryption
void SetTransitEncryption(EFSTransitEncryption &&value)
Definition: EFSVolumeConfiguration.h:218
Aws::ECS::Model::EFSVolumeConfiguration::EFSVolumeConfiguration
EFSVolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::EFSVolumeConfiguration::WithAuthorizationConfig
EFSVolumeConfiguration & WithAuthorizationConfig(const EFSAuthorizationConfig &value)
Definition: EFSVolumeConfiguration.h:307
Aws::ECS::Model::EFSVolumeConfiguration::EFSVolumeConfiguration
EFSVolumeConfiguration()
Aws::ECS::Model::EFSVolumeConfiguration::FileSystemIdHasBeenSet
bool FileSystemIdHasBeenSet() const
Definition: EFSVolumeConfiguration.h:54
Aws::ECS::Model::EFSVolumeConfiguration::WithRootDirectory
EFSVolumeConfiguration & WithRootDirectory(const char *value)
Definition: EFSVolumeConfiguration.h:173
Aws::ECS::Model::EFSVolumeConfiguration::SetAuthorizationConfig
void SetAuthorizationConfig(EFSAuthorizationConfig &&value)
Definition: EFSVolumeConfiguration.h:302
Aws::ECS::Model::EFSVolumeConfiguration::operator=
EFSVolumeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::EFSVolumeConfiguration::SetFileSystemId
void SetFileSystemId(const Aws::String &value)
Definition: EFSVolumeConfiguration.h:59
Aws::ECS::Model::EFSVolumeConfiguration::SetTransitEncryptionPort
void SetTransitEncryptionPort(int value)
Definition: EFSVolumeConfiguration.h:271
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ECS::Model::EFSVolumeConfiguration::GetAuthorizationConfig
const EFSAuthorizationConfig & GetAuthorizationConfig() const
Definition: EFSVolumeConfiguration.h:287
Aws::ECS::Model::EFSVolumeConfiguration::WithFileSystemId
EFSVolumeConfiguration & WithFileSystemId(const Aws::String &value)
Definition: EFSVolumeConfiguration.h:74
Aws::ECS::Model::EFSVolumeConfiguration::WithTransitEncryptionPort
EFSVolumeConfiguration & WithTransitEncryptionPort(int value)
Definition: EFSVolumeConfiguration.h:281
Aws::ECS::Model::EFSVolumeConfiguration::SetFileSystemId
void SetFileSystemId(Aws::String &&value)
Definition: EFSVolumeConfiguration.h:64
EFSAuthorizationConfig.h
Aws::ECS::Model::EFSVolumeConfiguration::TransitEncryptionPortHasBeenSet
bool TransitEncryptionPortHasBeenSet() const
Definition: EFSVolumeConfiguration.h:261
Aws::ECS::Model::EFSVolumeConfiguration::WithTransitEncryption
EFSVolumeConfiguration & WithTransitEncryption(const EFSTransitEncryption &value)
Definition: EFSVolumeConfiguration.h:229
Aws::ECS::Model::EFSVolumeConfiguration::SetRootDirectory
void SetRootDirectory(const char *value)
Definition: EFSVolumeConfiguration.h:140
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::EFSVolumeConfiguration::WithRootDirectory
EFSVolumeConfiguration & WithRootDirectory(const Aws::String &value)
Definition: EFSVolumeConfiguration.h:151
Aws::ECS::Model::EFSTransitEncryption
EFSTransitEncryption
Definition: EFSTransitEncryption.h:17
Aws::ECS::Model::EFSVolumeConfiguration::SetAuthorizationConfig
void SetAuthorizationConfig(const EFSAuthorizationConfig &value)
Definition: EFSVolumeConfiguration.h:297
Aws::ECS::Model::EFSVolumeConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECS::Model::EFSVolumeConfiguration::GetTransitEncryption
const EFSTransitEncryption & GetTransitEncryption() const
Definition: EFSVolumeConfiguration.h:185
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::EFSVolumeConfiguration
Definition: EFSVolumeConfiguration.h:38
Aws::ECS::Model::EFSVolumeConfiguration::TransitEncryptionHasBeenSet
bool TransitEncryptionHasBeenSet() const
Definition: EFSVolumeConfiguration.h:196
Aws::ECS::Model::EFSVolumeConfiguration::AuthorizationConfigHasBeenSet
bool AuthorizationConfigHasBeenSet() const
Definition: EFSVolumeConfiguration.h:292
Aws::ECS::Model::EFSVolumeConfiguration::SetRootDirectory
void SetRootDirectory(const Aws::String &value)
Definition: EFSVolumeConfiguration.h:118
ECS_EXPORTS.h
EFSTransitEncryption.h
Aws::ECS::Model::EFSVolumeConfiguration::SetFileSystemId
void SetFileSystemId(const char *value)
Definition: EFSVolumeConfiguration.h:69
Aws::ECS::Model::EFSVolumeConfiguration::WithTransitEncryption
EFSVolumeConfiguration & WithTransitEncryption(EFSTransitEncryption &&value)
Definition: EFSVolumeConfiguration.h:240