AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateOntapVolumeConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/fsx/FSx_EXPORTS.h>
9#include <aws/fsx/model/SecurityStyle.h>
10#include <aws/fsx/model/TieringPolicy.h>
11#include <aws/fsx/model/UpdateSnaplockConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FSx {
23namespace Model {
24
32 public:
33 AWS_FSX_API UpdateOntapVolumeConfiguration() = default;
37
39
44 inline const Aws::String& GetJunctionPath() const { return m_junctionPath; }
45 inline bool JunctionPathHasBeenSet() const { return m_junctionPathHasBeenSet; }
46 template <typename JunctionPathT = Aws::String>
47 void SetJunctionPath(JunctionPathT&& value) {
48 m_junctionPathHasBeenSet = true;
49 m_junctionPath = std::forward<JunctionPathT>(value);
50 }
51 template <typename JunctionPathT = Aws::String>
53 SetJunctionPath(std::forward<JunctionPathT>(value));
54 return *this;
55 }
57
59
63 inline SecurityStyle GetSecurityStyle() const { return m_securityStyle; }
64 inline bool SecurityStyleHasBeenSet() const { return m_securityStyleHasBeenSet; }
65 inline void SetSecurityStyle(SecurityStyle value) {
66 m_securityStyleHasBeenSet = true;
67 m_securityStyle = value;
68 }
70 SetSecurityStyle(value);
71 return *this;
72 }
74
76
79 inline int GetSizeInMegabytes() const { return m_sizeInMegabytes; }
80 inline bool SizeInMegabytesHasBeenSet() const { return m_sizeInMegabytesHasBeenSet; }
81 inline void SetSizeInMegabytes(int value) {
82 m_sizeInMegabytesHasBeenSet = true;
83 m_sizeInMegabytes = value;
84 }
86 SetSizeInMegabytes(value);
87 return *this;
88 }
90
92
96 inline bool GetStorageEfficiencyEnabled() const { return m_storageEfficiencyEnabled; }
97 inline bool StorageEfficiencyEnabledHasBeenSet() const { return m_storageEfficiencyEnabledHasBeenSet; }
98 inline void SetStorageEfficiencyEnabled(bool value) {
99 m_storageEfficiencyEnabledHasBeenSet = true;
100 m_storageEfficiencyEnabled = value;
101 }
104 return *this;
105 }
107
109
112 inline const TieringPolicy& GetTieringPolicy() const { return m_tieringPolicy; }
113 inline bool TieringPolicyHasBeenSet() const { return m_tieringPolicyHasBeenSet; }
114 template <typename TieringPolicyT = TieringPolicy>
115 void SetTieringPolicy(TieringPolicyT&& value) {
116 m_tieringPolicyHasBeenSet = true;
117 m_tieringPolicy = std::forward<TieringPolicyT>(value);
118 }
119 template <typename TieringPolicyT = TieringPolicy>
121 SetTieringPolicy(std::forward<TieringPolicyT>(value));
122 return *this;
123 }
125
127
143 inline const Aws::String& GetSnapshotPolicy() const { return m_snapshotPolicy; }
144 inline bool SnapshotPolicyHasBeenSet() const { return m_snapshotPolicyHasBeenSet; }
145 template <typename SnapshotPolicyT = Aws::String>
146 void SetSnapshotPolicy(SnapshotPolicyT&& value) {
147 m_snapshotPolicyHasBeenSet = true;
148 m_snapshotPolicy = std::forward<SnapshotPolicyT>(value);
149 }
150 template <typename SnapshotPolicyT = Aws::String>
152 SetSnapshotPolicy(std::forward<SnapshotPolicyT>(value));
153 return *this;
154 }
156
158
167 inline bool GetCopyTagsToBackups() const { return m_copyTagsToBackups; }
168 inline bool CopyTagsToBackupsHasBeenSet() const { return m_copyTagsToBackupsHasBeenSet; }
169 inline void SetCopyTagsToBackups(bool value) {
170 m_copyTagsToBackupsHasBeenSet = true;
171 m_copyTagsToBackups = value;
172 }
175 return *this;
176 }
178
180
184 inline const UpdateSnaplockConfiguration& GetSnaplockConfiguration() const { return m_snaplockConfiguration; }
185 inline bool SnaplockConfigurationHasBeenSet() const { return m_snaplockConfigurationHasBeenSet; }
186 template <typename SnaplockConfigurationT = UpdateSnaplockConfiguration>
187 void SetSnaplockConfiguration(SnaplockConfigurationT&& value) {
188 m_snaplockConfigurationHasBeenSet = true;
189 m_snaplockConfiguration = std::forward<SnaplockConfigurationT>(value);
190 }
191 template <typename SnaplockConfigurationT = UpdateSnaplockConfiguration>
193 SetSnaplockConfiguration(std::forward<SnaplockConfigurationT>(value));
194 return *this;
195 }
197
199
202 inline long long GetSizeInBytes() const { return m_sizeInBytes; }
203 inline bool SizeInBytesHasBeenSet() const { return m_sizeInBytesHasBeenSet; }
204 inline void SetSizeInBytes(long long value) {
205 m_sizeInBytesHasBeenSet = true;
206 m_sizeInBytes = value;
207 }
209 SetSizeInBytes(value);
210 return *this;
211 }
213 private:
214 Aws::String m_junctionPath;
215
216 SecurityStyle m_securityStyle{SecurityStyle::NOT_SET};
217
218 int m_sizeInMegabytes{0};
219
220 bool m_storageEfficiencyEnabled{false};
221
222 TieringPolicy m_tieringPolicy;
223
224 Aws::String m_snapshotPolicy;
225
226 bool m_copyTagsToBackups{false};
227
228 UpdateSnaplockConfiguration m_snaplockConfiguration;
229
230 long long m_sizeInBytes{0};
231 bool m_junctionPathHasBeenSet = false;
232 bool m_securityStyleHasBeenSet = false;
233 bool m_sizeInMegabytesHasBeenSet = false;
234 bool m_storageEfficiencyEnabledHasBeenSet = false;
235 bool m_tieringPolicyHasBeenSet = false;
236 bool m_snapshotPolicyHasBeenSet = false;
237 bool m_copyTagsToBackupsHasBeenSet = false;
238 bool m_snaplockConfigurationHasBeenSet = false;
239 bool m_sizeInBytesHasBeenSet = false;
240};
241
242} // namespace Model
243} // namespace FSx
244} // namespace Aws
UpdateOntapVolumeConfiguration & WithSnapshotPolicy(SnapshotPolicyT &&value)
UpdateOntapVolumeConfiguration & WithStorageEfficiencyEnabled(bool value)
UpdateOntapVolumeConfiguration & WithSizeInMegabytes(int value)
UpdateOntapVolumeConfiguration & WithJunctionPath(JunctionPathT &&value)
const UpdateSnaplockConfiguration & GetSnaplockConfiguration() const
UpdateOntapVolumeConfiguration & WithTieringPolicy(TieringPolicyT &&value)
UpdateOntapVolumeConfiguration & WithSecurityStyle(SecurityStyle value)
UpdateOntapVolumeConfiguration & WithSizeInBytes(long long value)
AWS_FSX_API UpdateOntapVolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateOntapVolumeConfiguration & WithSnaplockConfiguration(SnaplockConfigurationT &&value)
UpdateOntapVolumeConfiguration & WithCopyTagsToBackups(bool value)
AWS_FSX_API UpdateOntapVolumeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue