AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEfs(const EfsStorageConfiguration& value) { m_efsHasBeenSet = true; m_efs = value; }
49 inline void SetEfs(EfsStorageConfiguration&& value) { m_efsHasBeenSet = true; m_efs = std::move(value); }
50 inline StorageConfiguration& WithEfs(const EfsStorageConfiguration& value) { SetEfs(value); return *this;}
51 inline StorageConfiguration& WithEfs(EfsStorageConfiguration&& value) { SetEfs(std::move(value)); return *this;}
53
55
58 inline const FsxStorageConfiguration& GetFsx() const{ return m_fsx; }
59 inline bool FsxHasBeenSet() const { return m_fsxHasBeenSet; }
60 inline void SetFsx(const FsxStorageConfiguration& value) { m_fsxHasBeenSet = true; m_fsx = value; }
61 inline void SetFsx(FsxStorageConfiguration&& value) { m_fsxHasBeenSet = true; m_fsx = std::move(value); }
62 inline StorageConfiguration& WithFsx(const FsxStorageConfiguration& value) { SetFsx(value); return *this;}
63 inline StorageConfiguration& WithFsx(FsxStorageConfiguration&& value) { SetFsx(std::move(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
void SetFsx(const FsxStorageConfiguration &value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEfs(const EfsStorageConfiguration &value)
StorageConfiguration & WithEfs(const EfsStorageConfiguration &value)
StorageConfiguration & WithFsx(FsxStorageConfiguration &&value)
StorageConfiguration & WithEfs(EfsStorageConfiguration &&value)
AWS_MAINFRAMEMODERNIZATION_API StorageConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API StorageConfiguration()
AWS_MAINFRAMEMODERNIZATION_API StorageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
StorageConfiguration & WithFsx(const FsxStorageConfiguration &value)
Aws::Utils::Json::JsonValue JsonValue