AWS SDK for C++

AWS SDK for C++ Version 1.11.812

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
37 public:
38 AWS_ECS_API S3FilesVolumeConfiguration() = default;
42
44
47 inline const Aws::String& GetFileSystemArn() const { return m_fileSystemArn; }
48 inline bool FileSystemArnHasBeenSet() const { return m_fileSystemArnHasBeenSet; }
49 template <typename FileSystemArnT = Aws::String>
50 void SetFileSystemArn(FileSystemArnT&& value) {
51 m_fileSystemArnHasBeenSet = true;
52 m_fileSystemArn = std::forward<FileSystemArnT>(value);
53 }
54 template <typename FileSystemArnT = Aws::String>
56 SetFileSystemArn(std::forward<FileSystemArnT>(value));
57 return *this;
58 }
60
62
71 inline const Aws::String& GetRootDirectory() const { return m_rootDirectory; }
72 inline bool RootDirectoryHasBeenSet() const { return m_rootDirectoryHasBeenSet; }
73 template <typename RootDirectoryT = Aws::String>
74 void SetRootDirectory(RootDirectoryT&& value) {
75 m_rootDirectoryHasBeenSet = true;
76 m_rootDirectory = std::forward<RootDirectoryT>(value);
77 }
78 template <typename RootDirectoryT = Aws::String>
80 SetRootDirectory(std::forward<RootDirectoryT>(value));
81 return *this;
82 }
84
86
94 inline int GetTransitEncryptionPort() const { return m_transitEncryptionPort; }
95 inline bool TransitEncryptionPortHasBeenSet() const { return m_transitEncryptionPortHasBeenSet; }
96 inline void SetTransitEncryptionPort(int value) {
97 m_transitEncryptionPortHasBeenSet = true;
98 m_transitEncryptionPort = value;
99 }
102 return *this;
103 }
105
107
116 inline const Aws::String& GetAccessPointArn() const { return m_accessPointArn; }
117 inline bool AccessPointArnHasBeenSet() const { return m_accessPointArnHasBeenSet; }
118 template <typename AccessPointArnT = Aws::String>
119 void SetAccessPointArn(AccessPointArnT&& value) {
120 m_accessPointArnHasBeenSet = true;
121 m_accessPointArn = std::forward<AccessPointArnT>(value);
122 }
123 template <typename AccessPointArnT = Aws::String>
125 SetAccessPointArn(std::forward<AccessPointArnT>(value));
126 return *this;
127 }
129 private:
130 Aws::String m_fileSystemArn;
131
132 Aws::String m_rootDirectory;
133
134 int m_transitEncryptionPort{0};
135
136 Aws::String m_accessPointArn;
137 bool m_fileSystemArnHasBeenSet = false;
138 bool m_rootDirectoryHasBeenSet = false;
139 bool m_transitEncryptionPortHasBeenSet = false;
140 bool m_accessPointArnHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace ECS
145} // 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