AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FileCacheLustreConfiguration.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/model/FileCacheLustreDeploymentType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/fsx/model/FileCacheLustreMetadataConfiguration.h>
11#include <aws/fsx/model/LustreLogConfiguration.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
51 inline int GetPerUnitStorageThroughput() const{ return m_perUnitStorageThroughput; }
52 inline bool PerUnitStorageThroughputHasBeenSet() const { return m_perUnitStorageThroughputHasBeenSet; }
53 inline void SetPerUnitStorageThroughput(int value) { m_perUnitStorageThroughputHasBeenSet = true; m_perUnitStorageThroughput = value; }
56
58
62 inline const FileCacheLustreDeploymentType& GetDeploymentType() const{ return m_deploymentType; }
63 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
64 inline void SetDeploymentType(const FileCacheLustreDeploymentType& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
65 inline void SetDeploymentType(FileCacheLustreDeploymentType&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::move(value); }
69
71
76 inline const Aws::String& GetMountName() const{ return m_mountName; }
77 inline bool MountNameHasBeenSet() const { return m_mountNameHasBeenSet; }
78 inline void SetMountName(const Aws::String& value) { m_mountNameHasBeenSet = true; m_mountName = value; }
79 inline void SetMountName(Aws::String&& value) { m_mountNameHasBeenSet = true; m_mountName = std::move(value); }
80 inline void SetMountName(const char* value) { m_mountNameHasBeenSet = true; m_mountName.assign(value); }
81 inline FileCacheLustreConfiguration& WithMountName(const Aws::String& value) { SetMountName(value); return *this;}
82 inline FileCacheLustreConfiguration& WithMountName(Aws::String&& value) { SetMountName(std::move(value)); return *this;}
83 inline FileCacheLustreConfiguration& WithMountName(const char* value) { SetMountName(value); return *this;}
85
87
88 inline const Aws::String& GetWeeklyMaintenanceStartTime() const{ return m_weeklyMaintenanceStartTime; }
89 inline bool WeeklyMaintenanceStartTimeHasBeenSet() const { return m_weeklyMaintenanceStartTimeHasBeenSet; }
90 inline void SetWeeklyMaintenanceStartTime(const Aws::String& value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime = value; }
91 inline void SetWeeklyMaintenanceStartTime(Aws::String&& value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime = std::move(value); }
92 inline void SetWeeklyMaintenanceStartTime(const char* value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime.assign(value); }
97
99
102 inline const FileCacheLustreMetadataConfiguration& GetMetadataConfiguration() const{ return m_metadataConfiguration; }
103 inline bool MetadataConfigurationHasBeenSet() const { return m_metadataConfigurationHasBeenSet; }
104 inline void SetMetadataConfiguration(const FileCacheLustreMetadataConfiguration& value) { m_metadataConfigurationHasBeenSet = true; m_metadataConfiguration = value; }
105 inline void SetMetadataConfiguration(FileCacheLustreMetadataConfiguration&& value) { m_metadataConfigurationHasBeenSet = true; m_metadataConfiguration = std::move(value); }
109
111
115 inline const LustreLogConfiguration& GetLogConfiguration() const{ return m_logConfiguration; }
116 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
117 inline void SetLogConfiguration(const LustreLogConfiguration& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = value; }
118 inline void SetLogConfiguration(LustreLogConfiguration&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::move(value); }
122 private:
123
124 int m_perUnitStorageThroughput;
125 bool m_perUnitStorageThroughputHasBeenSet = false;
126
127 FileCacheLustreDeploymentType m_deploymentType;
128 bool m_deploymentTypeHasBeenSet = false;
129
130 Aws::String m_mountName;
131 bool m_mountNameHasBeenSet = false;
132
133 Aws::String m_weeklyMaintenanceStartTime;
134 bool m_weeklyMaintenanceStartTimeHasBeenSet = false;
135
136 FileCacheLustreMetadataConfiguration m_metadataConfiguration;
137 bool m_metadataConfigurationHasBeenSet = false;
138
139 LustreLogConfiguration m_logConfiguration;
140 bool m_logConfigurationHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace FSx
145} // namespace Aws
FileCacheLustreConfiguration & WithLogConfiguration(const LustreLogConfiguration &value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
FileCacheLustreConfiguration & WithMetadataConfiguration(const FileCacheLustreMetadataConfiguration &value)
FileCacheLustreConfiguration & WithWeeklyMaintenanceStartTime(const Aws::String &value)
FileCacheLustreConfiguration & WithMetadataConfiguration(FileCacheLustreMetadataConfiguration &&value)
const FileCacheLustreDeploymentType & GetDeploymentType() const
FileCacheLustreConfiguration & WithDeploymentType(const FileCacheLustreDeploymentType &value)
FileCacheLustreConfiguration & WithMountName(const char *value)
FileCacheLustreConfiguration & WithWeeklyMaintenanceStartTime(const char *value)
FileCacheLustreConfiguration & WithWeeklyMaintenanceStartTime(Aws::String &&value)
void SetLogConfiguration(LustreLogConfiguration &&value)
FileCacheLustreConfiguration & WithLogConfiguration(LustreLogConfiguration &&value)
AWS_FSX_API FileCacheLustreConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const FileCacheLustreMetadataConfiguration & GetMetadataConfiguration() const
void SetDeploymentType(FileCacheLustreDeploymentType &&value)
const LustreLogConfiguration & GetLogConfiguration() const
FileCacheLustreConfiguration & WithMountName(Aws::String &&value)
FileCacheLustreConfiguration & WithDeploymentType(FileCacheLustreDeploymentType &&value)
FileCacheLustreConfiguration & WithMountName(const Aws::String &value)
void SetDeploymentType(const FileCacheLustreDeploymentType &value)
void SetMetadataConfiguration(const FileCacheLustreMetadataConfiguration &value)
void SetMetadataConfiguration(FileCacheLustreMetadataConfiguration &&value)
AWS_FSX_API FileCacheLustreConfiguration(Aws::Utils::Json::JsonView jsonValue)
FileCacheLustreConfiguration & WithPerUnitStorageThroughput(int value)
void SetLogConfiguration(const LustreLogConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue