AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StorageConfiguration.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/m2/model/EfsStorageConfiguration.h>
9#include <aws/m2/model/FsxStorageConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MainframeModernization
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MAINFRAMEMODERNIZATION_API StorageConfiguration() = default;
37 AWS_MAINFRAMEMODERNIZATION_API StorageConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAINFRAMEMODERNIZATION_API StorageConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const EfsStorageConfiguration& GetEfs() const { return m_efs; }
47 inline bool EfsHasBeenSet() const { return m_efsHasBeenSet; }
48 template<typename EfsT = EfsStorageConfiguration>
49 void SetEfs(EfsT&& value) { m_efsHasBeenSet = true; m_efs = std::forward<EfsT>(value); }
50 template<typename EfsT = EfsStorageConfiguration>
51 StorageConfiguration& WithEfs(EfsT&& value) { SetEfs(std::forward<EfsT>(value)); return *this;}
53
55
58 inline const FsxStorageConfiguration& GetFsx() const { return m_fsx; }
59 inline bool FsxHasBeenSet() const { return m_fsxHasBeenSet; }
60 template<typename FsxT = FsxStorageConfiguration>
61 void SetFsx(FsxT&& value) { m_fsxHasBeenSet = true; m_fsx = std::forward<FsxT>(value); }
62 template<typename FsxT = FsxStorageConfiguration>
63 StorageConfiguration& WithFsx(FsxT&& value) { SetFsx(std::forward<FsxT>(value)); return *this;}
65 private:
66
68 bool m_efsHasBeenSet = false;
69
71 bool m_fsxHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace MainframeModernization
76} // namespace Aws
AWS_MAINFRAMEMODERNIZATION_API StorageConfiguration()=default
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAINFRAMEMODERNIZATION_API StorageConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API StorageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue