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/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecs/model/EFSTransitEncryption.h>
10#include <aws/ecs/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 ECS
24{
25namespace Model
26{
27
38 {
39 public:
44
45
47
50 inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
51 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
52 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
53 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
54 inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
55 inline EFSVolumeConfiguration& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
56 inline EFSVolumeConfiguration& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
57 inline EFSVolumeConfiguration& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
59
61
70 inline const Aws::String& GetRootDirectory() const{ return m_rootDirectory; }
71 inline bool RootDirectoryHasBeenSet() const { return m_rootDirectoryHasBeenSet; }
72 inline void SetRootDirectory(const Aws::String& value) { m_rootDirectoryHasBeenSet = true; m_rootDirectory = value; }
73 inline void SetRootDirectory(Aws::String&& value) { m_rootDirectoryHasBeenSet = true; m_rootDirectory = std::move(value); }
74 inline void SetRootDirectory(const char* value) { m_rootDirectoryHasBeenSet = true; m_rootDirectory.assign(value); }
75 inline EFSVolumeConfiguration& WithRootDirectory(const Aws::String& value) { SetRootDirectory(value); return *this;}
76 inline EFSVolumeConfiguration& WithRootDirectory(Aws::String&& value) { SetRootDirectory(std::move(value)); return *this;}
77 inline EFSVolumeConfiguration& WithRootDirectory(const char* value) { SetRootDirectory(value); return *this;}
79
81
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 ECS
143} // namespace Aws
void SetAuthorizationConfig(EFSAuthorizationConfig &&value)
EFSVolumeConfiguration & WithTransitEncryption(const EFSTransitEncryption &value)
EFSVolumeConfiguration & WithRootDirectory(const Aws::String &value)
void SetRootDirectory(const Aws::String &value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTransitEncryption(const EFSTransitEncryption &value)
void SetFileSystemId(const Aws::String &value)
EFSVolumeConfiguration & WithTransitEncryption(EFSTransitEncryption &&value)
EFSVolumeConfiguration & WithFileSystemId(const Aws::String &value)
void SetTransitEncryption(EFSTransitEncryption &&value)
EFSVolumeConfiguration & WithTransitEncryptionPort(int value)
void SetAuthorizationConfig(const EFSAuthorizationConfig &value)
AWS_ECS_API EFSVolumeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EFSVolumeConfiguration & WithAuthorizationConfig(EFSAuthorizationConfig &&value)
EFSVolumeConfiguration & WithFileSystemId(const char *value)
EFSVolumeConfiguration & WithAuthorizationConfig(const EFSAuthorizationConfig &value)
AWS_ECS_API EFSVolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
EFSVolumeConfiguration & WithRootDirectory(Aws::String &&value)
EFSVolumeConfiguration & WithRootDirectory(const char *value)
EFSVolumeConfiguration & WithFileSystemId(Aws::String &&value)
const EFSAuthorizationConfig & GetAuthorizationConfig() const
const EFSTransitEncryption & GetTransitEncryption() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue