AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
S3FilesVolumeConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ECS {
20namespace Model {
21
36 public:
37 AWS_ECS_API S3FilesVolumeConfiguration() = default;
41
43
46 inline const Aws::String& GetFileSystemArn() const { return m_fileSystemArn; }
47 inline bool FileSystemArnHasBeenSet() const { return m_fileSystemArnHasBeenSet; }
48 template <typename FileSystemArnT = Aws::String>
49 void SetFileSystemArn(FileSystemArnT&& value) {
50 m_fileSystemArnHasBeenSet = true;
51 m_fileSystemArn = std::forward<FileSystemArnT>(value);
52 }
53 template <typename FileSystemArnT = Aws::String>
55 SetFileSystemArn(std::forward<FileSystemArnT>(value));
56 return *this;
57 }
59
61
70 inline const Aws::String& GetRootDirectory() const { return m_rootDirectory; }
71 inline bool RootDirectoryHasBeenSet() const { return m_rootDirectoryHasBeenSet; }
72 template <typename RootDirectoryT = Aws::String>
73 void SetRootDirectory(RootDirectoryT&& value) {
74 m_rootDirectoryHasBeenSet = true;
75 m_rootDirectory = std::forward<RootDirectoryT>(value);
76 }
77 template <typename RootDirectoryT = Aws::String>
79 SetRootDirectory(std::forward<RootDirectoryT>(value));
80 return *this;
81 }
83
85
93 inline int GetTransitEncryptionPort() const { return m_transitEncryptionPort; }
94 inline bool TransitEncryptionPortHasBeenSet() const { return m_transitEncryptionPortHasBeenSet; }
95 inline void SetTransitEncryptionPort(int value) {
96 m_transitEncryptionPortHasBeenSet = true;
97 m_transitEncryptionPort = value;
98 }
101 return *this;
102 }
104
106
115 inline const Aws::String& GetAccessPointArn() const { return m_accessPointArn; }
116 inline bool AccessPointArnHasBeenSet() const { return m_accessPointArnHasBeenSet; }
117 template <typename AccessPointArnT = Aws::String>
118 void SetAccessPointArn(AccessPointArnT&& value) {
119 m_accessPointArnHasBeenSet = true;
120 m_accessPointArn = std::forward<AccessPointArnT>(value);
121 }
122 template <typename AccessPointArnT = Aws::String>
124 SetAccessPointArn(std::forward<AccessPointArnT>(value));
125 return *this;
126 }
128 private:
129 Aws::String m_fileSystemArn;
130
131 Aws::String m_rootDirectory;
132
133 int m_transitEncryptionPort{0};
134
135 Aws::String m_accessPointArn;
136 bool m_fileSystemArnHasBeenSet = false;
137 bool m_rootDirectoryHasBeenSet = false;
138 bool m_transitEncryptionPortHasBeenSet = false;
139 bool m_accessPointArnHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace ECS
144} // namespace Aws
S3FilesVolumeConfiguration & WithAccessPointArn(AccessPointArnT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API S3FilesVolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
S3FilesVolumeConfiguration & WithFileSystemArn(FileSystemArnT &&value)
AWS_ECS_API S3FilesVolumeConfiguration()=default
AWS_ECS_API S3FilesVolumeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
S3FilesVolumeConfiguration & WithRootDirectory(RootDirectoryT &&value)
S3FilesVolumeConfiguration & WithTransitEncryptionPort(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue