AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateFileCacheLustreConfiguration.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FSx
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_FSX_API CreateFileCacheLustreConfiguration() = default;
41
42
44
49 inline int GetPerUnitStorageThroughput() const { return m_perUnitStorageThroughput; }
50 inline bool PerUnitStorageThroughputHasBeenSet() const { return m_perUnitStorageThroughputHasBeenSet; }
51 inline void SetPerUnitStorageThroughput(int value) { m_perUnitStorageThroughputHasBeenSet = true; m_perUnitStorageThroughput = value; }
54
56
59 inline FileCacheLustreDeploymentType GetDeploymentType() const { return m_deploymentType; }
60 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
61 inline void SetDeploymentType(FileCacheLustreDeploymentType value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
64
66
67 inline const Aws::String& GetWeeklyMaintenanceStartTime() const { return m_weeklyMaintenanceStartTime; }
68 inline bool WeeklyMaintenanceStartTimeHasBeenSet() const { return m_weeklyMaintenanceStartTimeHasBeenSet; }
69 template<typename WeeklyMaintenanceStartTimeT = Aws::String>
70 void SetWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT&& value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime = std::forward<WeeklyMaintenanceStartTimeT>(value); }
71 template<typename WeeklyMaintenanceStartTimeT = Aws::String>
72 CreateFileCacheLustreConfiguration& WithWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT&& value) { SetWeeklyMaintenanceStartTime(std::forward<WeeklyMaintenanceStartTimeT>(value)); return *this;}
74
76
79 inline const FileCacheLustreMetadataConfiguration& GetMetadataConfiguration() const { return m_metadataConfiguration; }
80 inline bool MetadataConfigurationHasBeenSet() const { return m_metadataConfigurationHasBeenSet; }
81 template<typename MetadataConfigurationT = FileCacheLustreMetadataConfiguration>
82 void SetMetadataConfiguration(MetadataConfigurationT&& value) { m_metadataConfigurationHasBeenSet = true; m_metadataConfiguration = std::forward<MetadataConfigurationT>(value); }
83 template<typename MetadataConfigurationT = FileCacheLustreMetadataConfiguration>
84 CreateFileCacheLustreConfiguration& WithMetadataConfiguration(MetadataConfigurationT&& value) { SetMetadataConfiguration(std::forward<MetadataConfigurationT>(value)); return *this;}
86 private:
87
88 int m_perUnitStorageThroughput{0};
89 bool m_perUnitStorageThroughputHasBeenSet = false;
90
92 bool m_deploymentTypeHasBeenSet = false;
93
94 Aws::String m_weeklyMaintenanceStartTime;
95 bool m_weeklyMaintenanceStartTimeHasBeenSet = false;
96
97 FileCacheLustreMetadataConfiguration m_metadataConfiguration;
98 bool m_metadataConfigurationHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace FSx
103} // namespace Aws
const FileCacheLustreMetadataConfiguration & GetMetadataConfiguration() const
AWS_FSX_API CreateFileCacheLustreConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT &&value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
CreateFileCacheLustreConfiguration & WithWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT &&value)
CreateFileCacheLustreConfiguration & WithDeploymentType(FileCacheLustreDeploymentType value)
AWS_FSX_API CreateFileCacheLustreConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateFileCacheLustreConfiguration & WithPerUnitStorageThroughput(int value)
CreateFileCacheLustreConfiguration & WithMetadataConfiguration(MetadataConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue