AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
42
43
45
50 inline const Aws::String& GetJunctionPath() const{ return m_junctionPath; }
51 inline bool JunctionPathHasBeenSet() const { return m_junctionPathHasBeenSet; }
52 inline void SetJunctionPath(const Aws::String& value) { m_junctionPathHasBeenSet = true; m_junctionPath = value; }
53 inline void SetJunctionPath(Aws::String&& value) { m_junctionPathHasBeenSet = true; m_junctionPath = std::move(value); }
54 inline void SetJunctionPath(const char* value) { m_junctionPathHasBeenSet = true; m_junctionPath.assign(value); }
55 inline UpdateOntapVolumeConfiguration& WithJunctionPath(const Aws::String& value) { SetJunctionPath(value); return *this;}
56 inline UpdateOntapVolumeConfiguration& WithJunctionPath(Aws::String&& value) { SetJunctionPath(std::move(value)); return *this;}
57 inline UpdateOntapVolumeConfiguration& WithJunctionPath(const char* value) { SetJunctionPath(value); return *this;}
59
61
65 inline const SecurityStyle& GetSecurityStyle() const{ return m_securityStyle; }
66 inline bool SecurityStyleHasBeenSet() const { return m_securityStyleHasBeenSet; }
67 inline void SetSecurityStyle(const SecurityStyle& value) { m_securityStyleHasBeenSet = true; m_securityStyle = value; }
68 inline void SetSecurityStyle(SecurityStyle&& value) { m_securityStyleHasBeenSet = true; m_securityStyle = std::move(value); }
70 inline UpdateOntapVolumeConfiguration& WithSecurityStyle(SecurityStyle&& value) { SetSecurityStyle(std::move(value)); return *this;}
72
74
77 inline int GetSizeInMegabytes() const{ return m_sizeInMegabytes; }
78 inline bool SizeInMegabytesHasBeenSet() const { return m_sizeInMegabytesHasBeenSet; }
79 inline void SetSizeInMegabytes(int value) { m_sizeInMegabytesHasBeenSet = true; m_sizeInMegabytes = value; }
80 inline UpdateOntapVolumeConfiguration& WithSizeInMegabytes(int value) { SetSizeInMegabytes(value); return *this;}
82
84
88 inline bool GetStorageEfficiencyEnabled() const{ return m_storageEfficiencyEnabled; }
89 inline bool StorageEfficiencyEnabledHasBeenSet() const { return m_storageEfficiencyEnabledHasBeenSet; }
90 inline void SetStorageEfficiencyEnabled(bool value) { m_storageEfficiencyEnabledHasBeenSet = true; m_storageEfficiencyEnabled = value; }
93
95
98 inline const TieringPolicy& GetTieringPolicy() const{ return m_tieringPolicy; }
99 inline bool TieringPolicyHasBeenSet() const { return m_tieringPolicyHasBeenSet; }
100 inline void SetTieringPolicy(const TieringPolicy& value) { m_tieringPolicyHasBeenSet = true; m_tieringPolicy = value; }
101 inline void SetTieringPolicy(TieringPolicy&& value) { m_tieringPolicyHasBeenSet = true; m_tieringPolicy = std::move(value); }
103 inline UpdateOntapVolumeConfiguration& WithTieringPolicy(TieringPolicy&& value) { SetTieringPolicy(std::move(value)); return *this;}
105
107
123 inline const Aws::String& GetSnapshotPolicy() const{ return m_snapshotPolicy; }
124 inline bool SnapshotPolicyHasBeenSet() const { return m_snapshotPolicyHasBeenSet; }
125 inline void SetSnapshotPolicy(const Aws::String& value) { m_snapshotPolicyHasBeenSet = true; m_snapshotPolicy = value; }
126 inline void SetSnapshotPolicy(Aws::String&& value) { m_snapshotPolicyHasBeenSet = true; m_snapshotPolicy = std::move(value); }
127 inline void SetSnapshotPolicy(const char* value) { m_snapshotPolicyHasBeenSet = true; m_snapshotPolicy.assign(value); }
129 inline UpdateOntapVolumeConfiguration& WithSnapshotPolicy(Aws::String&& value) { SetSnapshotPolicy(std::move(value)); return *this;}
130 inline UpdateOntapVolumeConfiguration& WithSnapshotPolicy(const char* value) { SetSnapshotPolicy(value); return *this;}
132
134
143 inline bool GetCopyTagsToBackups() const{ return m_copyTagsToBackups; }
144 inline bool CopyTagsToBackupsHasBeenSet() const { return m_copyTagsToBackupsHasBeenSet; }
145 inline void SetCopyTagsToBackups(bool value) { m_copyTagsToBackupsHasBeenSet = true; m_copyTagsToBackups = value; }
148
150
154 inline const UpdateSnaplockConfiguration& GetSnaplockConfiguration() const{ return m_snaplockConfiguration; }
155 inline bool SnaplockConfigurationHasBeenSet() const { return m_snaplockConfigurationHasBeenSet; }
156 inline void SetSnaplockConfiguration(const UpdateSnaplockConfiguration& value) { m_snaplockConfigurationHasBeenSet = true; m_snaplockConfiguration = value; }
157 inline void SetSnaplockConfiguration(UpdateSnaplockConfiguration&& value) { m_snaplockConfigurationHasBeenSet = true; m_snaplockConfiguration = std::move(value); }
161
163
166 inline long long GetSizeInBytes() const{ return m_sizeInBytes; }
167 inline bool SizeInBytesHasBeenSet() const { return m_sizeInBytesHasBeenSet; }
168 inline void SetSizeInBytes(long long value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = value; }
169 inline UpdateOntapVolumeConfiguration& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
171 private:
172
173 Aws::String m_junctionPath;
174 bool m_junctionPathHasBeenSet = false;
175
176 SecurityStyle m_securityStyle;
177 bool m_securityStyleHasBeenSet = false;
178
179 int m_sizeInMegabytes;
180 bool m_sizeInMegabytesHasBeenSet = false;
181
182 bool m_storageEfficiencyEnabled;
183 bool m_storageEfficiencyEnabledHasBeenSet = false;
184
185 TieringPolicy m_tieringPolicy;
186 bool m_tieringPolicyHasBeenSet = false;
187
188 Aws::String m_snapshotPolicy;
189 bool m_snapshotPolicyHasBeenSet = false;
190
191 bool m_copyTagsToBackups;
192 bool m_copyTagsToBackupsHasBeenSet = false;
193
194 UpdateSnaplockConfiguration m_snaplockConfiguration;
195 bool m_snaplockConfigurationHasBeenSet = false;
196
197 long long m_sizeInBytes;
198 bool m_sizeInBytesHasBeenSet = false;
199 };
200
201} // namespace Model
202} // namespace FSx
203} // namespace Aws
UpdateOntapVolumeConfiguration & WithSnapshotPolicy(const char *value)
UpdateOntapVolumeConfiguration & WithStorageEfficiencyEnabled(bool value)
UpdateOntapVolumeConfiguration & WithJunctionPath(Aws::String &&value)
UpdateOntapVolumeConfiguration & WithSizeInMegabytes(int value)
UpdateOntapVolumeConfiguration & WithSnaplockConfiguration(const UpdateSnaplockConfiguration &value)
const UpdateSnaplockConfiguration & GetSnaplockConfiguration() const
UpdateOntapVolumeConfiguration & WithSecurityStyle(const SecurityStyle &value)
UpdateOntapVolumeConfiguration & WithTieringPolicy(const TieringPolicy &value)
void SetSnaplockConfiguration(const UpdateSnaplockConfiguration &value)
UpdateOntapVolumeConfiguration & WithJunctionPath(const Aws::String &value)
UpdateOntapVolumeConfiguration & WithSizeInBytes(long long value)
UpdateOntapVolumeConfiguration & WithSecurityStyle(SecurityStyle &&value)
AWS_FSX_API UpdateOntapVolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateOntapVolumeConfiguration & WithSnaplockConfiguration(UpdateSnaplockConfiguration &&value)
UpdateOntapVolumeConfiguration & WithJunctionPath(const char *value)
UpdateOntapVolumeConfiguration & WithCopyTagsToBackups(bool value)
UpdateOntapVolumeConfiguration & WithTieringPolicy(TieringPolicy &&value)
UpdateOntapVolumeConfiguration & WithSnapshotPolicy(const Aws::String &value)
void SetSnaplockConfiguration(UpdateSnaplockConfiguration &&value)
AWS_FSX_API UpdateOntapVolumeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateOntapVolumeConfiguration & WithSnapshotPolicy(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue