AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateOntapVolumeConfiguration.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fsx/model/SecurityStyle.h>
10#include <aws/fsx/model/TieringPolicy.h>
11#include <aws/fsx/model/UpdateSnaplockConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace FSx
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_FSX_API UpdateOntapVolumeConfiguration() = default;
42
43
45
50 inline const Aws::String& GetJunctionPath() const { return m_junctionPath; }
51 inline bool JunctionPathHasBeenSet() const { return m_junctionPathHasBeenSet; }
52 template<typename JunctionPathT = Aws::String>
53 void SetJunctionPath(JunctionPathT&& value) { m_junctionPathHasBeenSet = true; m_junctionPath = std::forward<JunctionPathT>(value); }
54 template<typename JunctionPathT = Aws::String>
55 UpdateOntapVolumeConfiguration& WithJunctionPath(JunctionPathT&& value) { SetJunctionPath(std::forward<JunctionPathT>(value)); return *this;}
57
59
63 inline SecurityStyle GetSecurityStyle() const { return m_securityStyle; }
64 inline bool SecurityStyleHasBeenSet() const { return m_securityStyleHasBeenSet; }
65 inline void SetSecurityStyle(SecurityStyle value) { m_securityStyleHasBeenSet = true; m_securityStyle = value; }
68
70
73 inline int GetSizeInMegabytes() const { return m_sizeInMegabytes; }
74 inline bool SizeInMegabytesHasBeenSet() const { return m_sizeInMegabytesHasBeenSet; }
75 inline void SetSizeInMegabytes(int value) { m_sizeInMegabytesHasBeenSet = true; m_sizeInMegabytes = value; }
76 inline UpdateOntapVolumeConfiguration& WithSizeInMegabytes(int value) { SetSizeInMegabytes(value); return *this;}
78
80
84 inline bool GetStorageEfficiencyEnabled() const { return m_storageEfficiencyEnabled; }
85 inline bool StorageEfficiencyEnabledHasBeenSet() const { return m_storageEfficiencyEnabledHasBeenSet; }
86 inline void SetStorageEfficiencyEnabled(bool value) { m_storageEfficiencyEnabledHasBeenSet = true; m_storageEfficiencyEnabled = value; }
89
91
94 inline const TieringPolicy& GetTieringPolicy() const { return m_tieringPolicy; }
95 inline bool TieringPolicyHasBeenSet() const { return m_tieringPolicyHasBeenSet; }
96 template<typename TieringPolicyT = TieringPolicy>
97 void SetTieringPolicy(TieringPolicyT&& value) { m_tieringPolicyHasBeenSet = true; m_tieringPolicy = std::forward<TieringPolicyT>(value); }
98 template<typename TieringPolicyT = TieringPolicy>
99 UpdateOntapVolumeConfiguration& WithTieringPolicy(TieringPolicyT&& value) { SetTieringPolicy(std::forward<TieringPolicyT>(value)); return *this;}
101
103
119 inline const Aws::String& GetSnapshotPolicy() const { return m_snapshotPolicy; }
120 inline bool SnapshotPolicyHasBeenSet() const { return m_snapshotPolicyHasBeenSet; }
121 template<typename SnapshotPolicyT = Aws::String>
122 void SetSnapshotPolicy(SnapshotPolicyT&& value) { m_snapshotPolicyHasBeenSet = true; m_snapshotPolicy = std::forward<SnapshotPolicyT>(value); }
123 template<typename SnapshotPolicyT = Aws::String>
124 UpdateOntapVolumeConfiguration& WithSnapshotPolicy(SnapshotPolicyT&& value) { SetSnapshotPolicy(std::forward<SnapshotPolicyT>(value)); return *this;}
126
128
137 inline bool GetCopyTagsToBackups() const { return m_copyTagsToBackups; }
138 inline bool CopyTagsToBackupsHasBeenSet() const { return m_copyTagsToBackupsHasBeenSet; }
139 inline void SetCopyTagsToBackups(bool value) { m_copyTagsToBackupsHasBeenSet = true; m_copyTagsToBackups = value; }
142
144
148 inline const UpdateSnaplockConfiguration& GetSnaplockConfiguration() const { return m_snaplockConfiguration; }
149 inline bool SnaplockConfigurationHasBeenSet() const { return m_snaplockConfigurationHasBeenSet; }
150 template<typename SnaplockConfigurationT = UpdateSnaplockConfiguration>
151 void SetSnaplockConfiguration(SnaplockConfigurationT&& value) { m_snaplockConfigurationHasBeenSet = true; m_snaplockConfiguration = std::forward<SnaplockConfigurationT>(value); }
152 template<typename SnaplockConfigurationT = UpdateSnaplockConfiguration>
153 UpdateOntapVolumeConfiguration& WithSnaplockConfiguration(SnaplockConfigurationT&& value) { SetSnaplockConfiguration(std::forward<SnaplockConfigurationT>(value)); return *this;}
155
157
160 inline long long GetSizeInBytes() const { return m_sizeInBytes; }
161 inline bool SizeInBytesHasBeenSet() const { return m_sizeInBytesHasBeenSet; }
162 inline void SetSizeInBytes(long long value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = value; }
163 inline UpdateOntapVolumeConfiguration& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
165 private:
166
167 Aws::String m_junctionPath;
168 bool m_junctionPathHasBeenSet = false;
169
170 SecurityStyle m_securityStyle{SecurityStyle::NOT_SET};
171 bool m_securityStyleHasBeenSet = false;
172
173 int m_sizeInMegabytes{0};
174 bool m_sizeInMegabytesHasBeenSet = false;
175
176 bool m_storageEfficiencyEnabled{false};
177 bool m_storageEfficiencyEnabledHasBeenSet = false;
178
179 TieringPolicy m_tieringPolicy;
180 bool m_tieringPolicyHasBeenSet = false;
181
182 Aws::String m_snapshotPolicy;
183 bool m_snapshotPolicyHasBeenSet = false;
184
185 bool m_copyTagsToBackups{false};
186 bool m_copyTagsToBackupsHasBeenSet = false;
187
188 UpdateSnaplockConfiguration m_snaplockConfiguration;
189 bool m_snaplockConfigurationHasBeenSet = false;
190
191 long long m_sizeInBytes{0};
192 bool m_sizeInBytesHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace FSx
197} // 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