AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MainframeModernization {
21namespace Model {
22
30 public:
31 AWS_MAINFRAMEMODERNIZATION_API StorageConfiguration() = default;
32 AWS_MAINFRAMEMODERNIZATION_API StorageConfiguration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MAINFRAMEMODERNIZATION_API StorageConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const EfsStorageConfiguration& GetEfs() const { return m_efs; }
41 inline bool EfsHasBeenSet() const { return m_efsHasBeenSet; }
42 template <typename EfsT = EfsStorageConfiguration>
43 void SetEfs(EfsT&& value) {
44 m_efsHasBeenSet = true;
45 m_efs = std::forward<EfsT>(value);
46 }
47 template <typename EfsT = EfsStorageConfiguration>
49 SetEfs(std::forward<EfsT>(value));
50 return *this;
51 }
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) {
62 m_fsxHasBeenSet = true;
63 m_fsx = std::forward<FsxT>(value);
64 }
65 template <typename FsxT = FsxStorageConfiguration>
67 SetFsx(std::forward<FsxT>(value));
68 return *this;
69 }
71 private:
73
75 bool m_efsHasBeenSet = false;
76 bool m_fsxHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace MainframeModernization
81} // 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